bschadel wrote:
I was hoping to find an emulator that could run an application I have that presently runs on CP/M-68K.
Quote:
I'd need to get the app into S-record format, then write a BIOS and BDOS (file system) to replace the ones in CP/M-68K. They would just do trap 15s to access the PC's functions.
I've made a minimal BIOS that works enough to load and run either of the CP/M 1.3 system builder binary files SR400.SYS or SR128.SYS as described in the Operating system system guide.
Disks are emulated using a disk image file that is just a binary dump of all the sectors from a standard disk in physical order.
However, there seems to be some problem with it in that only some images work and those that do fail when a single byte is changed. This is not a problem while CP/M is running, the image only fails when CP/M is restarted with the changed image. The error seems to be somewhere in the BDOS with it ending up in a loop constantly reading through all the directory sectors.
As I only have the BDOS as a binary I've not looked too hard for a fix yet.
I'm also missing some fundamental system programs like PIP, FORMAT and their ilk.
Quote:
For serial I/O I'd simply need to be able to select COM1/COM2 and read/write characters. The ports would be set up from the PC's control panel.
I think you may be able to do this with file I/O and a little software on the windows side using the files as pipes.
Quote:
Oh, yeah, I'd need a date function, too.
This as well, just have a cron write the date to a file every midnight.
Lee.