|
llvm-mos-sdk
|
This directory contains a platform for producing CP/M-65 binaries. See:
https://github.com/davidgiven/cpm65
It should contain bindings to all the CP/M and BIOS system calls, allowing you to write arbitrary programs. Noted quirks are:
main(), or reloading the CCP by performing a warm start by calling cpm_warmboot(). You do not need to worry about overwriting the CCP's zero page allocation, only the TPA.cpm_ram. For now use cpm_bios_gettpa() to find the TPA bounds.argc and argv contain garbage. Instead, use cpm_cmdline and cpm_cmdlinelen.