fixed bug in sp_tr-dos cmd '/hdd'

This commit is contained in:
Tolik Trek committed 2026-04-13 01:32:50 +10:00
1 parent b0a8cccbc6
commit 4423d1168a
1 file changed
+2 -1
+2 -1
View File
@@ -82,6 +82,7 @@ HDD_SET:
JR C,.init JR C,.init
; ;
LD (SYS_PAGE.CURRENT_DIR_DRIVE),A LD (SYS_PAGE.CURRENT_DIR_DRIVE),A
LD E,A
OUT (C),B OUT (C),B
PUSH DE PUSH DE
AND #0F AND #0F
@@ -96,7 +97,7 @@ HDD_SET:
LD C,BIOS.HDD_INIT LD C,BIOS.HDD_INIT
CALL EXP_FNS CALL EXP_FNS
POP DE POP DE
JP C,HDD_PROG_E JR C,HDD_PROG_E
; ;
.exit: LD C,BIOS.SET_DISK_REDIR .exit: LD C,BIOS.SET_DISK_REDIR
JP EXP_FNS JP EXP_FNS