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

Make sure A_IS_TOSL is cleared at opt fence

This commit is contained in:
David Schmenk 2018-03-27 10:12:13 -07:00
parent 818a2b14ea
commit 169d347754

View File

@ -191,7 +191,7 @@ def compiler(defptr)#0
//
codeptr = *jitcodeptr
VX = 0 // Virtual X register
A_IS_TOSL = FALSE
A_IS_TOSL = FALSE
i = 0
if ^bytecode == $58
//puts("ENTER "); puti(^(bytecode+1)); //putc(',');puti(^(bytecode+2))
@ -221,8 +221,8 @@ def compiler(defptr)#0
if A_IS_TOSL & TOSL_DIRTY
*codeptr = $D095+(VX<<8) // STA ESTKL,X
codeptr = codeptr + 2
A_IS_TOSL = FALSE
fin
A_IS_TOSL = FALSE
codeptr, VX = resolveX(codeptr, VX)
opcode = opcode & $FE
fin