Open EtchedPixels opened 1 year ago
Very cool! I've been quite busy but have spent some time working on a Leibert HVAC controller board that has a 6802 on it (upgraded to a HD6303). Running Lilbug on it at the moment but trying to get Microware's RT/68MX OS running on it. I'll try to add that to the repos as well. Did get one of the Old Small C compiler to compile under Linux haven't really tested it yet.
Still interested in the CC6303 compiler. :-) My stuff is a bit historical, your is probably a lot more practical. Thanks
PS I've never been able to get the GCC 6809 compile to compile under Linux.
Best bet with the 6809 one is to use lwtools and the patches with it. That gets you a working gcc 6809 and a nice set of supporting tools. Plus the author is active on the COCO discord if you get stuck.
cc6303 is based on cc65 so it's not SmallC but real C.
NP, I'll probably end up using your cc6303 for much of my work (working on some macros for MC6800 to emulate the 6803 instructions).
Not sure I'll spend any time with gcc6809.
The main reason for poking around the Small C stuff is the Small C interpreter work (pre 1.1 Small C) that I found. I've not figured it out yet but it's interesting. :-)
I'm also playing with Microware's RT68-MX. I've not figured it out yet.
It'll output 6800 as well if you ask it at the command line.
6800 is still a work in progress in a few spots but you might find
https://github.com/EtchedPixels/CC6303
useful. It's a fairly full integer ANSI C cross compiler for 6800/6803/6303, and the 6803 code will run on the HC11 - although the HC11 has an old gcc as does the 09.
I sketched out some flex OS glue for it but I've not tried targetting flex yet, just RCbus-6303/803/808 and Tandy MC-10