1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2025-01-24 20:31:12 +00:00

Fix stack restore for throw, add scripts to ID machine

This commit is contained in:
David Schmenk 2024-01-21 17:25:44 -08:00
parent da404a8dfa
commit 4364319176

View File

@ -60,10 +60,11 @@ export asm throw(env, retval)
DEC DST+1 DEC DST+1
LDX TMPL LDX TMPL
TXS TXS
LDY TMPL LDY #$FE
- LDA (DST),Y - LDA (DST),Y
STA $0100,Y STA $0100,Y
INY DEY
CPY TMPL
BNE - BNE -
LDX ESP LDX ESP
LDA SRC LDA SRC