davidgiven / cowgol

A self-hosted Ada-inspired programming language for very small systems.
BSD 2-Clause "Simplified" License
248 stars 20 forks source link

Hmm, I do not get it at all ... how to use it ... Z80 binary for cpm how ? #133

Closed feldti closed 9 months ago

feldti commented 11 months ago

I don't get it ... how do I create a z80 program (binary) for CP/M ???? What frontend has to be used. I am working under Linux/Ubuntu 22.04. I've compiled all the stuff ...

davidgiven commented 11 months ago

You need the generic 16-bit cowfe compiled with ncpmz, and the z80 backend; these are bin/cowfe-for-16bit-with-ncpmz and bin/cowbe-for-z80-with-ncpmz. The build process will actually put everything together for you and you can find a turnkey CP/M setup in bin/dist/cpmz (bin/dist/cpm for 8080 code). Just put those files on a CP/M disk and run demo.sub.