Instruction manual

Customized BIOS
# File z80_cbios.asm
0000 ; skeletal cbios for first level of CP/M 2.0 alteration
0000 ; Modified for CPUville Z80 computer with IDE disk interface
0000 ; Aug, 2014 by Donn Stewart
0000 ;
0000 ccp: equ 0E400h ;base of ccp
0000 bdos: equ 0EC06h ;bdos entry
0000 bios: equ 0FA00h ;base of bios
0000 cdisk: equ 0004h ;address of current disk number 0=a,... l5=p
0000 iobyte: equ 0003h ;intel i/o byte
0000 disks: equ 04h ;number of disks in the system
0000 ;
0000 org bios ;origin of this program
fa00 nsects: equ ($-ccp)/128 ;warm start sector count
fa00 ;
fa00 ; jump vector for individual subroutines
fa00 ;
fa00 c3 9c fa JP boot ;cold start
fa03 c3 a6 fa wboote: JP wboot ;warm start
fa06 c3 18 fb JP const ;console status
fa09 c3 25 fb JP conin ;console character in
fa0c c3 31 fb JP conout ;console character out
fa0f c3 3c fb JP list ;list character out
fa12 c3 40 fb JP punch ;punch character out
fa15 c3 42 fb JP reader ;reader character out
fa18 c3 47 fb JP home ;move head to home position
fa1b c3 4d fb JP seldsk ;select disk
fa1e c3 66 fb JP settrk ;set track number
fa21 c3 6b fb JP setsec ;set sector number
fa24 c3 77 fb JP setdma ;set dma address
fa27 c3 7d fb JP read ;read disk
fa2a c3 d7 fb JP write ;write disk
fa2d c3 3e fb JP listst ;return list status
fa30 c3 70 fb JP sectran ;sector translate
fa33 ;
fa33 ; fixed data tables for four-drive standard
63