fixed bug with call PrepareToBOOT from ABOOT with interrupts disabled

This commit is contained in:
Tolik committed 2024-06-29 00:44:35 +10:00
1 parent dc55e35603
commit 44dfb7f39b
3 files changed
+5 -8

No files matched your search

+4 -7
View File
@@ -675,24 +675,22 @@ INFO_MESSAGE: ;!FIXIT
CALL PrepareToBOOT
LD A,msgStrings.bootFail
LD E,COLORS.CGA.INC.LRED
;CALL C,POSTMSG
CALL C,POSTMSC
CALL ScreenPOS.CRLF
;
CALL INT_ON
ABOOT: LD A,msgStrings.bootAltDrv
LD E,COLORS.CGA.INC.LGREEN
;CALL C,POSTMSG
CALL C,POSTMSC
CALL POSTMSC
LD BC,CMOS_CELL.BootDrives.Mask.AltSysDisk ;#7010
CALL PrepareToBOOT
LD A,msgStrings.bootFail
LD E,COLORS.CGA.INC.LRED
;CALL C,POSTMSG
CALL C,POSTMSC
CALL ScreenPOS.CRLF
;NO START DISK - RESTART / SETUP / ZX SPECTRUM mode
;NO START DISK - RESTART / SETUP / ZX SPECTRUM mode
LD BC,CMOS_CELL.Options.Mask.RebootMSG ;#021D
CALL G_VALUE
OR A
@@ -892,7 +890,6 @@ RECOVERYstart:
;[ ][ ][ ][ ][ ][ ][ ][ ][ ][ ][ ][ ][ ][ ][ ][ ][ ][ ]
;
PrepareToBOOT:
;CALL INT_ON
HALT
Binary file not shown.