More archeology: Atari MadMac assembler sources

Digging through some old disks I found the source to an old version of MadMac, a fast assembler I wrote just before I left Atari. It needed some TLC ( some of the tables were missing, and I had to recreate them). It needs more.

It compiles under Ubuntu, though not without errors. There are makefiles for MSDOS and the ST, but they almost certainly do not work. I have not done much testing other than to make sure that the included, simple files assemble without errors (I didn’t check the output). This version is almost certainly missing some fixes that Alan Pratt made after I left Atari. If any work was done on MadMac to support (say) Jaguar or the 68020 then that work will not be reflected here.

I suspect that maybe two or three people on the planet will find this interesting. Frankly, I’m embarrassed by the poor quality of the code. If you find this useful, that’s great. I might be able to answer questions, but mostly I’ll probably say things like:

“Yup, that looks broken.”

(pregnant pause)

“Nope, I’m not going to fix it.”

Link.

[Edit: Looks like ".rept" is broken, and I'll bet that macros are, too.  Assembling clear.s, you can see that the ".rept 8" block of movem instructions isn't expanded.  I'm unlikely to do anything with this, so that'll be one of the first things you'll need to fix... Have fun! :-) ]

This entry was posted in Rantage. Bookmark the permalink.

9 Responses to More archeology: Atari MadMac assembler sources

  1. John says:

    Thanks for sharing. I know that we all have embarrassments when we look back at some of our early works. But many of your early works affected the lives of others in a very positive way even if indirectly.

    I’m happy when I know that our backup product saved a customer who lost their data. But we don’t have the impact on the large (and nostalgic) scale you have had.

  2. k5 says:

    Don’t sell yourself short.. My roommate in college 13 years ago was writing a c64 game in c64 asm. So there are still a number of folks out there, who either for the emulator homebrew, or still own the actual hardware, would like your code.

  3. Marcin says:

    Thanks London. Next excellent post for 8bit fans. Believe me, there are much more than two or three people interesting in this. In Poland where I come from, we have quite active Atari community. Same in Czech Republic and Germany. From time to time we got new games, demos and utilities… Moreover there are few amazing hardware extensions such as VBXE…
    Yes, it is a niche but pretty lively.

  4. solo/ng says:

    Thanx for sharing this :) Greeting fm polish demoscene and stuff!

  5. Gridlock says:

    I have a working Jaguar and a working Lynx (with TV tuner!).

    That is all.

  6. SubQMod says:

    A great code base, many thanks. The rept and macro issues are easily fixed as they involved a couple of good’ol pointer issues. Updating this source for the Jaguar is actually pretty straight forward, just needs a little work – the foundation is more than adequate :) :) :)

  7. Hi,

    maybe you will be interested in this:

    http://dev-docs.atariforge.org/html/search.php?find=_Z

    look for “Atari TOS Developer’s Kit (5 disks) [ZIP]“, there’s your madmac as official part of developer’s kit! (in version 1.05). Unfortunately, with no source code but there are some sources signed as “lmd” :)

  8. Haha, even scanned user manual for madmac (1.07 now!):

    http://dev-docs.atariforge.org/files/Madmac_Ref_Man_Jan-1990.pdf

    your private tool was quite a popular as it seems.

  9. Mike Fulton says:

    Yes, Landon, MADMAC was indeed updated for Jaguar. I think Eric Smith worked on that and probably the guys at Brainstorm did a few changes after him.

    It had been reasonably stable for awhile at the point I left Atari in Sept. ’95. Maybe a few bug fixes but I doubt much else was done to it. I probably have source code for that version on a CDROM somewhere, buried on storage.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>