fixed bug with call PrepareToBOOT from ABOOT with interrupts disabled

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

@ -1 +1 @@
Subproject commit 1cb8eb13fb8e8b20bba324a5ab9f4e18d6bf8b3c
Subproject commit d294e375826854d80b838ea40ca4afcf3730a141

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.