This commit is contained in:
Anatoliy Belyanskiy 2023-08-08 23:47:12 +10:00
parent 4fb166161b
commit f24c58de16
2 changed files with 9 additions and 10 deletions

View File

@ -1583,7 +1583,6 @@ HDD_MSG_LEN EQU $-HDD_MSG
;HDD_MSG_NO: DB "Boot record not found"
;HDD_NO_LEN EQU $-HDD_MSG_NO
SAVE_AUTOSTART:
LD HL,8000H
LD DE,HDD_MSG

View File

@ -25,21 +25,21 @@ HD_CMD:
HD_CMD_X: ; C - COMAND ( 5 - RD, 6 - WR )
PUSH AF
LD A,C ; 0 - INIT, 1 - DIAG
LD A,C
AND A
JP Z,HD_CMD_0 ; ¨­¨æ¨ «¨§ æ¨ï
JP Z,HD_CMD_0 ; 0 - ¨­¨ć¨ Ť¨§ ć¨ď
DEC A
JP Z,HD_CMD_1 ; ??
JP Z,HD_CMD_1 ; 1 - DIAG
DEC A
JP Z,HD_CMD_2 ; â¥áâ
JP Z,HD_CMD_2 ; 2 - âĽáâ
DEC A
JP Z,HD_CMD_3 ; preread
JP Z,HD_CMD_3 ; 3 - preread
DEC A
JP Z,HD_CMD_4 ; read bpb
JP Z,HD_CMD_4 ; 4 - read bpb
DEC A
JP Z,HD_CMD_5 ; read
JP Z,HD_CMD_5 ; 5 - read
DEC A
JP Z,HD_CMD_6 ; write
JP Z,HD_CMD_6 ; 6 - write
DEC A
JP Z,FN_HDD_PART
POP AF