Plasmo
Experienced Member
The original post asked an interesting question: how do you create a CP/M disk from scratch when all you have are collection of CP/M programs online and new BIOS for a new machine (Z280 in this case) that you try to bring up? I also wrestled with this problem 6-7 years ago when I tried to port CPM68K to 68000 which was my first encounter with CP/M. I should have done Z80 and Z280 first which have much better online supports for porting CP/M to new hardware, but I didn’t and at the time I didn’t know about CPMtools and various images archive.
The intricacies of disk parameter block was difficult to understand in the beginning; BIOS was a collection of routines that do not seem to relate to each other; and there were lots of new concepts. So when everything came together, there was an exciting ‘Eureka’ moment.
The path I took was first wrote a simple monitor for the new hardware that can load and run program in memory. The monitor should locate in the part of memory that does not interfere with CP/M BDOS/CCP/BIOS at high memory nor CPM application program at low memory. 0xB000-0xBFFF is a good place for Z80/Z280 monitor. The monitor also has a function to format the disk by writing E5 into disk directory area. Use this monitor to load BDOS/CCP/BIOS in high memory as well as XMODEM in low memory, then jump to BIOS entry point to start CP/M and ‘save xmodem.com’ to disk. If all that worked, then I used xmodem to bring in all CP/M system and application files.
This is how I brought up CP/M and created the first disk. I like to hear other’s experiences.
Bill
The intricacies of disk parameter block was difficult to understand in the beginning; BIOS was a collection of routines that do not seem to relate to each other; and there were lots of new concepts. So when everything came together, there was an exciting ‘Eureka’ moment.
The path I took was first wrote a simple monitor for the new hardware that can load and run program in memory. The monitor should locate in the part of memory that does not interfere with CP/M BDOS/CCP/BIOS at high memory nor CPM application program at low memory. 0xB000-0xBFFF is a good place for Z80/Z280 monitor. The monitor also has a function to format the disk by writing E5 into disk directory area. Use this monitor to load BDOS/CCP/BIOS in high memory as well as XMODEM in low memory, then jump to BIOS entry point to start CP/M and ‘save xmodem.com’ to disk. If all that worked, then I used xmodem to bring in all CP/M system and application files.
This is how I brought up CP/M and created the first disk. I like to hear other’s experiences.
Bill