From 4717e01862063a2df915198d2371c487552bad05 Mon Sep 17 00:00:00 2001 From: David Schmenk Date: Mon, 26 Mar 2018 06:58:44 -0700 Subject: [PATCH] Fix SUB typo --- src/libsrc/apple/jit.pla | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libsrc/apple/jit.pla b/src/libsrc/apple/jit.pla index bee2bd4..ca07d25 100644 --- a/src/libsrc/apple/jit.pla +++ b/src/libsrc/apple/jit.pla @@ -1632,7 +1632,7 @@ def compiler(defptr)#0 *codeptr = $D095+(VX<<8) // STA ESTKL,X codeptr = codeptr + 2 fin - codeptr=>0 = ($D085+$0100)+(VX<<8) // LDA ESTKL+1,X + codeptr=>0 = ($D0B5+$0100)+(VX<<8) // LDA ESTKL+1,X //^codeptr = $B5; codeptr++ // LDA zp,X //^codeptr = $D0+1+VX; codeptr++ // ESTKL+1 codeptr->2 = $38 // SEC @@ -1643,7 +1643,7 @@ def compiler(defptr)#0 codeptr=>5 = ($D095+$0100)+(VX<<8) // STA ESTKL+1,X //^codeptr = $95; codeptr++ // STA zp,X //^codeptr = $D0+1+VX; codeptr++ // ESTKL+1 - codeptr=>7 = ($C085+$0100)+(VX<<8) // LDA ESTKH+1,X + codeptr=>7 = ($C0B5+$0100)+(VX<<8) // LDA ESTKH+1,X //^codeptr = $B5; codeptr++ // LDA zp,X //^codeptr = $C0+1+VX; codeptr++ // ESTKH+1 codeptr=>9 = $C0F5+(VX<<8) // SBC ESTKH,X