Posted By
 Luca on 2004-09-10 04:38:49
 | Re: Inst/Del hates $FF1D?
I avoided the bug in this way: >>>previously, with a LAME use of $FF1D (I'lll never do it again!), I splitted the screen in two halves, with the first 8 rows occupied by bitmap and the other rows with text; the problem was that if you press inst/del when the cursor is in the first 16 text columns, the upper border flickers cause raster bugs
>>>now, I compare $FF1D not with #$00, but with #$37, using a nop-loop in order to start it from the very first row, and the flicker is not visible now when inst/del is pressed
A note: in this way, I obtain a real stable raster with an added rasterline just before the first text row and an added rasterline after the 8th text row. Dunno why...
For lamer coders as me: ppl I suggest you to never use this shitty way of coding, next time I'll use raster I'll code lotta $fffe/$ffff storing coupled with $ff0b check, much more flexible and you can link lotta stuff each other. |