4 ms·
Probably a noob question, but why not just compile vi on a CP/M C compiler? After a quick search, I found this being discussed on comp.os.cpm just last year: ht
by UncleSlacky 7y ago
Probably a noob question, but why not just compile vi on a CP/M C compiler? After a quick search, I found this being discussed on comp.os.cpm just last year: https://groups.google.com/forum/#!topic/comp.os.cpm/lfuEr0hRcrM https://groups.google.com/forum/#!topic/comp.os.cpm/lfuEr0hR...
It's hosted here: https://github.com/udo-munk/s https://github.com/udo-munk/s
- csb6 7y agoI’m pretty sure they are doing this partly for educational/fun reasons
- david-given 7y agoThere are plenty of CP/M C compilers (I'm planning on including BDS C into cpmish at some point: https://en.wikipedia.org/wiki/BDS_C https://en.wikipedia.org/wiki/BDS_C It's written in hand-tooled assembly!) but with the exception of Hitech C they're all Small C or K&R C. Hitech C works fine, but it's extremely slow and somewhat quirky. CP/M's really a bit small for an ANSI C compiler. (Also Hitech C only targets Z80, not 8080.) The main reasons for doing this cross-compiled were: that's what I had; life was too short; I wanted something for the cpmish cross-compilation environment _anyway_. Making cpmish self-hosted would be awesome, though. Hitech C used to be a free-as-in-beer download from htsoft's website, but it vanished about twelve years ago. I wonder if they'd be open to open sourcing it...
- Zardoz84 7y agoHiTech not was bought by Microchip ?
- david-given 7y agoSo they were. That explains why the only compilers on their web site are Microchip ones... oh well, worth an email to them asking what happened; maybe they'd be willing to open source the CP/M compiler!