1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2024-11-01 07:07:48 +00:00

Fix 65802 HWSP state

This commit is contained in:
David Schmenk 2018-01-18 07:20:02 -08:00
parent 5ac6a556c8
commit d166b99eb0

View File

@ -1534,6 +1534,8 @@ JMPTMP JMP (TMP)
;* ENTER FUNCTION WITH FRAME SIZE AND PARAM COUNT ;* ENTER FUNCTION WITH FRAME SIZE AND PARAM COUNT
;* ;*
ENTER PEI (IFP) ; SAVE ON STACK FOR LEAVE ENTER PEI (IFP) ; SAVE ON STACK FOR LEAVE
TSX ; REFLECT SP IN SAVED HWSP
STX HWSP
INY INY
LDA (IP),Y LDA (IP),Y
AND #$00FF AND #$00FF