This commit is contained in:
Anatoliy Belyanskiy 2024-04-24 05:28:41 +10:00
parent 2afd588ccc
commit a026aa224f
2 changed files with 0 additions and 30 deletions

View File

@ -662,34 +662,4 @@ WAITPRT:
HDD_5x.DETECT:
LD C,IDE.Device.HDD
JP DRV_DETECT
; CP #84 ;!HARDCODE max IDE drives (#80,#81,#82,#83)
; CCF
; JR C,.error
; LD HL,IDE.INIT_TBL_IDE0.DriveType
; AND 3
; JR Z,.get_param
; LD HL,IDE.INIT_TBL_IDE1.DriveType
; DEC A
; JR Z,.get_param
; LD HL,IDE.INIT_TBL_IDE2.DriveType
; DEC A
; JR Z,.get_param
; LD HL,IDE.INIT_TBL_IDE3.DriveType
; .get_param:
; IN A,(SLOT3)
; LD B,A
; LD A,SYS_PAGE
; OUT (SLOT3),A
; LD A,(HL)
; LD C,SLOT3
; OUT (C),B
; CP IDE.Device.HDD
; RET Z
; SCF
; .error: LD A,BIOS.Error.BadDrvNumber
; RET
;[]================================================================[#57]

Binary file not shown.