Page 1 of 1

Reading/Writing files in CP/M

Posted: 17 Aug 2022 01:27
by under4mhz
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.

Re: Reading/Writing files in CP/M

Posted: 17 Aug 2022 08:22
by Bill B
Does the attached help?

Re: Reading/Writing files in CP/M

Posted: 04 Sep 2022 04:49
by under4mhz
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.