Does anyone have some code on reading and writing files under CP/M?
I found a fairly descriptive manual: Section 5 CP/M 2 System Interface, but ever since stackoverflow was created, I haven't the patience to reverse engineer manuals anymore.
Actually, that might be a good stackoverflow question and I can get some more dopamine, er, points.
Reading/Writing files in CP/M
Reading/Writing files in CP/M
Support me on Patreon: https://www.patreon.com/Under4Mhz
Re: Reading/Writing files in CP/M
Does the attached help?
- Attachments
-
- z80disc.zip
- (7.04 KiB) Downloaded 841 times
Re: Reading/Writing files in CP/M
That gives me a good overview of how cpm works.
From that I was able to find https://github.com/tstih/libcpm3-z80, which seems to implemented an open/close C interface which is what I was hoping for.
From that I was able to find https://github.com/tstih/libcpm3-z80, which seems to implemented an open/close C interface which is what I was hoping for.
Support me on Patreon: https://www.patreon.com/Under4Mhz