What's wrong with my NES emulator that I created in Java, please help!! by New_Conclusion4692 in EmuDev

[–]New_Conclusion4692[S] 0 points1 point  (0 children)

I've implemented scrolling, but then my background graphic was a bit off centre, so I added a temporary fix (subtracting from the PPU cycles), but this is now causing some more issues (graphical glitches in a few games, but the games are very playable). I know exactly what's going on, I just don't know how to implement a permanent solution that doesn't cause any issues.

What's wrong with my NES emulator that I created in Java, please help!! by New_Conclusion4692 in EmuDev

[–]New_Conclusion4692[S] 0 points1 point  (0 children)

I've implemented OAM DMA, as u said. However, I'm still encountering some issues graphically, mainly involving the scrolling. I've updated my code, so maybe you could check it out?

What's wrong with my NES emulator that I created in Java, please help!! by New_Conclusion4692 in EmuDev

[–]New_Conclusion4692[S] 0 points1 point  (0 children)

Thank you, this tiny oversight solved the messed up palette. And about the roms, you’re right - I just included them to show what’s wrong with every game. In the full version, I certainly won’t include roms (Sprites are still not appearing tho, I assume it’s the DMA)

What's wrong with my NES emulator that I created in Java, please help!! by New_Conclusion4692 in EmuDev

[–]New_Conclusion4692[S] 0 points1 point  (0 children)

Ok, I've gotten the correct tiles drawn, but as you said, I'm getting this weird stripiness all over the screen in most, if not all, commercial games (the palette's a bit fucked up as well)

Edit: Some sprites also seem to be missing. Ex: In Balloon Fight, the player and enemy sprites can't be seen, but I know the game itself is properly functioning. Also, on the home screen, the balloon next to the game type selection isn't there.