As has been my horror for the last 2 weeks, I am still having problems with code on systems with PPU2 rev1 constantly resetting. As an example, I put some code up at http://www.retrousb.com/snes It works perfectly on every emulator, every clone, and any console with PPU2 rev > 1. This is basically just neviksti's starter kit with a dma added in the forever loop.
Commenting out the sta $420B in forever: makes it work. Changing the target ($4301) or the length ($4305) does not solve the problem. HDMA is off. My only guess so far is something is screwing up the stack, so the vblank rti or some other rts goes crazy. Possibly something with the alignment with when vblank starts. May even be unrelated to DMA and the problem is somewhere else.
Any ideas? Free products as an incentive
Commenting out the sta $420B in forever: makes it work. Changing the target ($4301) or the length ($4305) does not solve the problem. HDMA is off. My only guess so far is something is screwing up the stack, so the vblank rti or some other rts goes crazy. Possibly something with the alignment with when vblank starts. May even be unrelated to DMA and the problem is somewhere else.
Any ideas? Free products as an incentive
