Any suggestions for a toolchain for a MEX68K Education Computer Board?

kjoh

Well-known member
Hello folks. I have this very excellent MEX68KECB trainer, which I have verified to work by talking to it over RS232 with an old PC. At one time I imagined trying to do cross-development using Linux and gcc, but now that I have a couple of Classic Macs around here, I figured it would be way cooler to actually use a (not exactly period correct) 68K machine.

What I'm looking for is an assembler or C compiler that is able to produce Motorola S-Records (aka S19, SREC) which I would then upload to the trainer over serial. Also some advice regarding interfacing to a mac serial port would also be handy, but I suppose I have not Googled hard enough yet on that topic; I expect there's lots out there.

Any other thoughts or ideas?

20230702_102405.jpg
20230702_104633.jpg
 

hauke

Active member
Nice find!

The obvious choice on mac68k would be MPW - ISTR there are Apple technotes on building standalone binaries. For serial communication, I would recommend ZTerm.

Alternatively, you can always run NetBSD/mac68k, and use a unix toolchain...
 

CircuitBored

Well-known member
Nice find!

The obvious choice on mac68k would be MPW - ISTR there are Apple technotes on building standalone binaries. For serial communication, I would recommend ZTerm.

Alternatively, you can always run NetBSD/mac68k, and use a unix toolchain...
MPW is a little idiosyncratic and strange if you're coming from modern IDEs. I'd recommend Codewarrior for actually trying to get things done without having to learn a fairly unique workflow from scratch. I've not used it that much myself but it is far and away the nicest development environment for the classic Mac and much more accessible than MPW. Whether or not Codewarrior can produce SREC is another matter but ISTR that it is doable.
 
Top