xe #1

Merged
brooke merged 10 commits from xe into main 2024-12-28 02:40:02 +00:00
Showing only changes of commit ee1c268705 - Show all commits

View file

@ -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