gotaproblem/Z80Playground

Run CCPZ on the Playstation

Opened this issue · 0 comments

gd-99 commented

The attached zip file contains the source codes to split up the CCP and BDOS to enable the classical CP/M CCP, BDOS and BIOS model. Sorry the zipped files have amendments to run on my board - specifically around ROM enable /disable. Your original code is simply commented out.

To load this version I modified main.asm to include:
org $4000
BDOS_BIN:
incbin "bdos.bin"
BDOS_LENGTH equ $ - BDOS_BIN

Right after the cbios.bin bit around line 127

I then modified commands.asm to copy bdos.bin to the correct place using:
; copy BDOS to RAM
ld hl, BDOS_BIN
ld de, $E806 ;ORG set in BDOS.ASM - amend to suit
ld bc, BDOS_LENGTH
ldir

This is placed in cmd_cpm: function just under the cbios loading.

Here is a zip file containing CCPZ, BDOS and CBIOS sources:
CCPZ_Sources.zip