mirror of
https://github.com/Tolik-Trek/Estex-DSS.git
synced 2026-11-27 13:12:13 +03:00
sys: fixed bug with installing system files on drive
core: fixed bug with stack in RST_38_IM1.Portal
This commit is contained in:
1 parent
7c9c4311a4
commit
1fab894409
3 files changed
+23
-7
No files matched your search
@@ -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
@@ -1 +1 @@
|
||||
991
|
||||
992
|
||||
Reference in new issue
Block a user