Posted By
Fuzzweed on 2024-10-19 19:31:45
| smooth scrolling - strange behaviour
If I do: lda $FF07 ;horizontal_scroll and #$F7 ;shrink screen, set scroll pos. to 7 sta $FF07
lda #$D4 ;set up/low chr rom sta $FF13 ;chr bank select
Then the correct chr set and 38 columns is correct
BUT if I then add:
ldx #$07 -- dec $FF07 ;decrease scroll position [DELAY] dex bne --
the smooth scrolling works ok, but my chr set is wrong (upper/grx) and the screen goes to 40 column. What has gone wrong?
|