fix bank switch on xl/xe
was accidentally enabling basic rom :D 5m46s - 11.759 ms/px - 800xl 5m30s - 11.215 ms/px - 130xe
This commit is contained in:
parent
acac5a8df4
commit
70d2c91f03
1 changed files with 2 additions and 2 deletions
4
mandel.s
4
mandel.s
|
@ -397,11 +397,11 @@ viewport_oy:
|
||||||
;.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) | $e1
|
.byte ((i & $c0) >> 4) | $e3
|
||||||
.endrepeat
|
.endrepeat
|
||||||
|
|
||||||
.macro bank_switch bank
|
.macro bank_switch bank
|
||||||
lda #((bank << 2) | $e1)
|
lda #((bank << 2) | $e3)
|
||||||
sta PORTB
|
sta PORTB
|
||||||
.endmacro
|
.endmacro
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue