Posted By
Luca on 2010-12-19 10:49:51
| Re: Vertical splitting
I added this piece of code to my tech-tech, after the scanlines/badlines stuff and before the $ff13/$ff07 resetting, and I got a better stable performance:
I_2080 LDA $FF1E ; Horiz Scan SEC SBC #$96 LSR A ; div / 4 LSR A STA V_208B + 1 V_208B BCC B_208D + 1 B_208D CMP #$C9 CMP #$C9 CMP #$C9 CMP #$C5 NOP LDX #$05 B_2098 DEX BPL B_2098 TLC can you explain this one deeply? It's very very interesting, have to say, especially the #$c9 slice where you can wait for either X cycles or X+2 cycles...
|