Fixed bugs in boot sector and I/O system

Fixed bugs in the boot sector and BIOS to allow 86-DOS 0.11 to boot using the Tarbell DD floppy controller.
This commit is contained in:
Broken Pipe
2024-02-18 05:44:23 +00:00
parent ec4f1f0319
commit df6e888207
2 changed files with 20 additions and 12 deletions
+10 -2
View File
@@ -82,7 +82,15 @@ SECT:
MOV AL,BL
OUTB DISK+2
MOV CX,128
INB DISK+4
IF TARBELL
INB DISK ;Get head load status
ENDIF
IF CROMEMCO
INB DISK+4 ;Get head load status
ENDIF
TEST AL,20H
MOV AL,READCOM
JNZ OUTCOM
@@ -145,4 +153,4 @@ BOOT:
MOV ES,AX
MOV DS,AX
JMP 0,SEG