hjalfi
Experienced Member
I would like to port my 6502 CP/M port to the Apple IIe. Rather than running the whole thing on top of DOS, I want it to run bare metal. The plan is to bank out the ROM and replace it with RAM instead, so that I'm not using any ROM code. This allows me to use all of zero page, as well as do what I like with the 6502 vectors.
This, obviously, means I have to reimplement all the OS services the ROM would normally provide. Including the weird code for accessing the floppy drive.
I gather that this code has been rewritten --- apparently even with bugfixes! --- for precisely this purpose; an OS can boot from floppy, load in the replacement floppy code, map the ROM out, and continue loading using its own code. Does anyone know where I can find this?
I want to be able to read and write individual sectors in the standard Apple IIe format (i.e. 256 byte GCR), so track-at-a-time reading and writing isn't any use to me.
Thanks!
This, obviously, means I have to reimplement all the OS services the ROM would normally provide. Including the weird code for accessing the floppy drive.
I gather that this code has been rewritten --- apparently even with bugfixes! --- for precisely this purpose; an OS can boot from floppy, load in the replacement floppy code, map the ROM out, and continue loading using its own code. Does anyone know where I can find this?
I want to be able to read and write individual sectors in the standard Apple IIe format (i.e. 256 byte GCR), so track-at-a-time reading and writing isn't any use to me.
Thanks!