fixed no interrupts enter to PAUSE command in BAT

This commit is contained in:
Anatoliy Belyanskiy 2024-06-24 03:06:52 +10:00
parent 1fab894409
commit 7bda57266b
2 changed files with 13 additions and 5 deletions

View File

@ -4,11 +4,19 @@
;
;///////////////////////////////////////////////////
cmd_pause:
ld de,MAIN_MSG.PAUSE ; ¨­¤¥ªá "Press any key to continue ..."
call ECHO_MESSAGE ; ¢ë¢®¤ áâப¨
LD de,MAIN_MSG.PAUSE ; ¨­¤¥ªá "Press any key to continue ..."
CALL ECHO_MESSAGE ; ¢ë¢®¤ áâப¨
LD A,LF
LD C,Dss.PutChar
RST ToDSS
ld c,Dss.WaitKey ; ¦¤¥¬ ­ ¦ â¨ï ª« ¢¨è¨
JP ToDSS
LD A,R
PUSH AF
LD C,Dss.WaitKey ; ¦¤¥¬ ­ ¦ â¨ï ª« ¢¨è¨
EI
RST ToDSS
POP AF
DI
RET PO
EI
RET
;ret

View File

@ -1 +1 @@
407
408