it works
This commit is contained in:
parent
e84a990789
commit
ee1c268705
1 changed files with 2 additions and 2 deletions
4
mandel.s
4
mandel.s
|
@ -435,11 +435,11 @@ fill_masks:
|
||||||
;.align 256 ; warning - if not aligned this will cost an extra cycle sometimes
|
;.align 256 ; warning - if not aligned this will cost an extra cycle sometimes
|
||||||
bank_switch_table:
|
bank_switch_table:
|
||||||
.repeat 256, i
|
.repeat 256, i
|
||||||
.byte ((i & $c0) >> 4) | $d1
|
.byte ((i & $c0) >> 4) | $e1
|
||||||
.endrepeat
|
.endrepeat
|
||||||
|
|
||||||
.macro bank_switch bank
|
.macro bank_switch bank
|
||||||
lda #((bank << 2) | $d1)
|
lda #((bank << 2) | $e1)
|
||||||
sta PORTB
|
sta PORTB
|
||||||
.endmacro
|
.endmacro
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue