Fix addressing bug in SCB binding
This commit is contained in:
parent
81e0aeb351
commit
a51c973865
|
@ -44,7 +44,7 @@ _BltSCB
|
||||||
inc
|
inc
|
||||||
clc
|
clc
|
||||||
adc #:scb_end
|
adc #:scb_end
|
||||||
sta :entry+1
|
stal :entry+1
|
||||||
|
|
||||||
lda ScreenY1 ; Get the SCB address to put into the stack register
|
lda ScreenY1 ; Get the SCB address to put into the stack register
|
||||||
dec
|
dec
|
||||||
|
@ -74,12 +74,6 @@ _BltSCB
|
||||||
plb ; restore the bank
|
plb ; restore the bank
|
||||||
rts
|
rts
|
||||||
|
|
||||||
|
|
||||||
; Quick helper to set the pointer (X = low word, A = high work)
|
|
||||||
;SetSCBArray ENT
|
|
||||||
; jsr _SetSCBArray
|
|
||||||
; rtl
|
|
||||||
|
|
||||||
_BindSCBArray
|
_BindSCBArray
|
||||||
stx SCBArrayPtr
|
stx SCBArrayPtr
|
||||||
sta SCBArrayPtr+2
|
sta SCBArrayPtr+2
|
||||||
|
|
Loading…
Reference in New Issue