Well i was a little worried about doing the IRQ scanline 0 thing because, well im not really sure exactly how to because, i set the IRQ line in NMI every frame (whenever a level needs it) -- but i dont have it write the IRQ number on lag frames, cause most of the NMI needs to be skipped -- uhhh, im not sure how to explain it sorry.
Also i was just trying to the 5204 thing ...doing all those things like before with the 2002 ..like LDA 5204, and #40 bne back to it ...or beq, bvs, bvc ...bit 5204
and well, apparently the only thing i've seen is that it will break the loop on scanline 239
Why the heck is it only going forward on 239, i never set the 5203 register to EF or anything like that, even if i try to set the IRQ to 0-10 or just whatever, it still always is 239. I dont know what's up with that.


-------------------------
edit: wait, i think i got it. changed it to BEQ this time again, and well, fceux always still breaks the loop before vblank is finished, at scanline 260 ---
but nintendulator debugger shows it's always starting at scanline 1 ..and none of the emu's are showing those tile glitches anymore!! (about updating EX ram before vblank was finished)