mirror of
https://github.com/bobbimanners/Applecorn.git
synced 2025-01-03 22:30:09 +00:00
Fix stack imbalance in *SPOOL & *EXEC
This commit is contained in:
parent
7565681434
commit
b7dafc24b5
BIN
applecorn.po
BIN
applecorn.po
Binary file not shown.
@ -905,7 +905,9 @@ FSCSPOOL JSR LPTRtoXY
|
||||
JSR FINDHND ; Try to open file
|
||||
STA FXSPOOL ; Store SPOOL file handle
|
||||
RTS
|
||||
:CLOSE LDY FXSPOOL
|
||||
:CLOSE PLY ; Fix the stack
|
||||
PLX
|
||||
LDY FXSPOOL
|
||||
CPY #$00
|
||||
BEQ :DONE
|
||||
LDA #$00
|
||||
@ -936,7 +938,9 @@ FSCEXEC JSR LPTRtoXY
|
||||
STA FXEXEC ; Store EXEC file handle
|
||||
RTS
|
||||
RTS
|
||||
:SYNTAX BRK
|
||||
:SYNTAX PLY ; Fix the stack
|
||||
PLX
|
||||
BRK
|
||||
DB $DC
|
||||
ASC 'Syntax: EXEC <*objspec*>'
|
||||
BRK
|
||||
|
Loading…
Reference in New Issue
Block a user