mirror of
https://github.com/dschmenk/PLASMA.git
synced 2026-04-20 01:16:36 +00:00
Fix INCBRLE and JIT cleanup
This commit is contained in:
@@ -1072,8 +1072,8 @@ def compiler(defptr)#0
|
||||
codeptr=>2 = $A3+(TOS<<8) // LDA S,TOS
|
||||
codeptr->4 = $68 // SEC
|
||||
codeptr=>5 = $E7E5 // SBC TMP
|
||||
codeptr=>3 = $83+(TOS<<8) // STA S,TOS
|
||||
codeptr = codeptr + 6
|
||||
codeptr=>7 = $83+(TOS<<8) // STA S,TOS
|
||||
codeptr = codeptr + 9
|
||||
fin
|
||||
//
|
||||
// BRGE
|
||||
@@ -1131,7 +1131,7 @@ def compiler(defptr)#0
|
||||
X_IS_IFP = TRUE
|
||||
fin
|
||||
codeptr=>0 = $E785 // STA TMP
|
||||
codeptr=>2 = $B5+(J<<8) // LDA dp,X
|
||||
codeptr=>2 = $B5+(j<<8) // LDA dp,X
|
||||
codeptr->4 = $29 // AND #$00FF
|
||||
codeptr=>5 = $00FF
|
||||
codeptr->7 = $18 // CLC
|
||||
@@ -1152,7 +1152,7 @@ def compiler(defptr)#0
|
||||
X_IS_IFP = TRUE
|
||||
fin
|
||||
codeptr->0 = $18 // CLC
|
||||
codeptr=>1 = $75+(J<<8) // ADC dp,X
|
||||
codeptr=>1 = $75+(j<<8) // ADC dp,X
|
||||
codeptr = codeptr + 3
|
||||
A_IS_TOS = TRUE // PHA
|
||||
break
|
||||
@@ -1199,7 +1199,7 @@ def compiler(defptr)#0
|
||||
X_IS_IFP = TRUE
|
||||
fin
|
||||
codeptr=>0 = $E785 // STA TMP
|
||||
codeptr=>2 = $B5+(J<<8) // LDA dp,X
|
||||
codeptr=>2 = $B5+(j<<8) // LDA dp,X
|
||||
codeptr->4 = $29 // AND #$00FF
|
||||
codeptr=>5 = $00FF
|
||||
codeptr->7 = $0A // ASL
|
||||
@@ -1220,9 +1220,9 @@ def compiler(defptr)#0
|
||||
X_IS_IFP = TRUE
|
||||
fin
|
||||
codeptr->0 = $18 // CLC
|
||||
codeptr=>1 = $75+(J<<8) // ADC dp,X
|
||||
codeptr=>1 = $75+(j<<8) // ADC dp,X
|
||||
codeptr->3 = $18 // CLC
|
||||
codeptr=>4 = $75+(J<<8) // ADC dp,X
|
||||
codeptr=>4 = $75+(j<<8) // ADC dp,X
|
||||
codeptr = codeptr + 6
|
||||
A_IS_TOS = TRUE // PHA
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user