Posted By
 Luca on 2014-10-29 06:07:57
 | Re: general smooth scrolling questions
Hi there icbrkr (Icebreaker?)!
I could propose slight changes to your code: - raster's vertical positioning is $FF1D, $FF1E is the horizontal one, it can be used too, but in a different way (if I got well what you're trying to do there...) - should it be an INY there in order to try further positions of the raster?
; (3) do "rasterbar" ; ldx #17 ; 18 colors ldy #$a8 ; vertical position check ** loop06 lda colors,x ; get next color loop05 cpy $ff1d ; wait for vertical pos ** bcs loop05 ; keep waiting ** sta $ff19 ; change border and... sta $ff15 ; background color iny dex bpl loop06
These changes would take you to change the #$a8 value for vertical checking in order to stay on the target text, and probably you'll have to add some NOPs in order to fine tuning it. Just try arguing, take it as chitchatting 
|