Rework BDOS to make use of BIOS entrypoints

This commit is contained in:
Nero 2019-10-29 11:08:11 +00:00
parent af61db5e40
commit a49e3b2610
12 changed files with 169 additions and 451 deletions

View file

@ -28,7 +28,7 @@ BOOT:
DB "BIOS", 0
WBOOT:
XOR AX, AX
XOR CX, CX
JMP BDOS
RET

17
bios/header.asm Normal file
View file

@ -0,0 +1,17 @@
; Labels for BIOS entry points
BOOT: EQU (BIOS+0)
WBOOT: EQU (BIOS+3)
CONST: EQU (BIOS+6)
CONIN: EQU (BIOS+9)
CONOUT: EQU (BIOS+12)
LIST: EQU (BIOS+15)
PUNCH: EQU (BIOS+18)
READER: EQU (BIOS+21)
HOME: EQU (BIOS+24)
SELDSK: EQU (BIOS+27)
SETTRK: EQU (BIOS+30)
SETSEC: EQU (BIOS+33)
SETDMA: EQU (BIOS+36)
READ: EQU (BIOS+39)
WRITE: EQU (BIOS+42)
LISTST: EQU (BIOS+45)