Login
Back to forumSee the full topicGo to last reply

Posted By

Murphy
on 2018-09-25
16:55:37
 Re: Multicolor DFLI with different background colors per scanline plus x-shift

Sandor: You can write 2 registers on every scanline, and the third one on every second scanline.

//Scanline 0 - ff15 / ff16
lda #$3b
sta $ff06
lda #colormem
sta $ff14
stx $ff15
sty $ff16
nop

//Scanline 1 - ff15 / ff16 / ff07
lda #xshift
sta $ff07
lda #col0_cur_scanline
sta $ff15
lda #col1_cur_scanline
sta $ff16
ldx #col0_next_scanline
ldy #col1_next_scanline



Back to top


Copyright © Plus/4 World Team, 2001-2024