diff --git a/mandel.s b/mandel.s index 8c6130b..3ff91d1 100644 --- a/mandel.s +++ b/mandel.s @@ -435,11 +435,11 @@ fill_masks: ;.align 256 ; warning - if not aligned this will cost an extra cycle sometimes bank_switch_table: .repeat 256, i - .byte ((i & $c0) >> 4) | $d1 + .byte ((i & $c0) >> 4) | $e1 .endrepeat .macro bank_switch bank - lda #((bank << 2) | $d1) + lda #((bank << 2) | $e1) sta PORTB .endmacro