xIII
Registered: Nov 2008 Posts: 210 |
vertical raster split
After a lot of trial and error, looking into other code and even more frustrating hours I finally think I understand how to do vertical rastersplits without flickering. Hooray hooray... but ... now I got this strange fenomena that in the middle of my rasterbars this 3 chars appear, on every line.
Anyone an idea what causes these characters to appear ?
this is a short extract of the code:
ldy #88
!loop: lda raster1,y // 4
sta $d020 // 4
lda raster2,y // 4
sta $d021 // 4
lda raster1,y // 4
sta $d021 // 4
lda raster2,y // 4
sta $d021 // 4
lda raster1,y // 4
sta $d021 // 4
lda raster2,y // 4
sta $d021 // 4
lda $d012 // 4
and #%00000111 // 2
sta $d011 // 4
dey // 2
bpl !loop- // 3 |