tweak
This commit is contained in:
parent
14125a398a
commit
63e74d5152
2 changed files with 5 additions and 2 deletions
5
mandel.s
5
mandel.s
|
@ -434,13 +434,16 @@ viewport_oy:
|
||||||
sta dest + 1
|
sta dest + 1
|
||||||
.endmacro
|
.endmacro
|
||||||
|
|
||||||
|
.segment "TABLES"
|
||||||
; lookup table for top byte -> PORTB value for bank-switch
|
; lookup table for top byte -> PORTB value for bank-switch
|
||||||
;.align 256 ; warning - if not aligned this will cost an extra cycle sometimes
|
.align 256
|
||||||
bank_switch_table:
|
bank_switch_table:
|
||||||
.repeat 256, i
|
.repeat 256, i
|
||||||
.byte ((i & $c0) >> 4) | $e3
|
.byte ((i & $c0) >> 4) | $e3
|
||||||
.endrepeat
|
.endrepeat
|
||||||
|
|
||||||
|
.code
|
||||||
|
|
||||||
.macro bank_switch bank
|
.macro bank_switch bank
|
||||||
lda #((bank << 2) | $e3)
|
lda #((bank << 2) | $e3)
|
||||||
sta PORTB
|
sta PORTB
|
||||||
|
|
2
todo.md
2
todo.md
|
@ -11,6 +11,6 @@ things to try:
|
||||||
|
|
||||||
* 'wide pixels' 2x and 4x for a fuller initial image in the tiered rendering
|
* 'wide pixels' 2x and 4x for a fuller initial image in the tiered rendering
|
||||||
|
|
||||||
* extact viewport for display & re-input via keyboard
|
* extract viewport for display & re-input via keyboard
|
||||||
|
|
||||||
* fujinet screenshot/viewport uploader
|
* fujinet screenshot/viewport uploader
|
||||||
|
|
Loading…
Reference in a new issue