sys: fixed bug with installing system files on drive

core: fixed bug with stack in RST_38_IM1.Portal
This commit is contained in:
Anatoliy Belyanskiy committed 2024-06-24 02:22:58 +10:00
1 parent 7c9c4311a4
commit 1fab894409
3 files changed
+23 -7

No files matched your search

+14
View File
@@ -148,10 +148,24 @@ RST_38_IM1: JP .Handler
.Portal: PUSH AF
LD A,(RST_0x30.drv_page)
OUT (SLOT0),A
;POP AF
PUSH HL
LD HL,(RST_38_IM1+1)
XOR A
CP H
JR NZ,.error
LD A,low .Handler
CP L
JR NZ,.error
POP HL
POP AF
CALL INTx38_Handler
JR .Portal
;
.error: POP HL
POP AF
JR .Portal
;
////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -1 +1 @@
991
992