From f24c58de1612faef3755949ffe03998bab4fbd3f Mon Sep 17 00:00:00 2001 From: Anatoliy Belyanskiy Date: Tue, 8 Aug 2023 23:47:12 +1000 Subject: [PATCH] ref --- ZX_EXP.ASM | 1 - ZX_EXP/EXP_HDD.ASM | 18 +++++++++--------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/ZX_EXP.ASM b/ZX_EXP.ASM index 2056ff0..a799285 100644 --- a/ZX_EXP.ASM +++ b/ZX_EXP.ASM @@ -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 diff --git a/ZX_EXP/EXP_HDD.ASM b/ZX_EXP/EXP_HDD.ASM index 4de9717..ddda963 100644 --- a/ZX_EXP/EXP_HDD.ASM +++ b/ZX_EXP/EXP_HDD.ASM @@ -23,23 +23,23 @@ HD_CMD: JP HD_DOS_RET -HD_CMD_X: ; C - COMAND ( 5 - RD, 6 - WR ) +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