Hello, I am having troubles with the PPU part, after reading alot of nes docs, and various other source code of other emulators, I decided to go for a per pixel rendering, I based the PPU on nintendulator, with some modifications, and all I am getting is garbage when testing very simple games such as ExciteBike or some tutors. I checked the CPU and the memory write functions, as well as the PPU many times, and I couldn't figure out what is wrong. To the best of my knowledge, the PPU should work, well the background part, since I didn't do sprites yet. Can anyone please do a code review for me and see what is wrong? I would think the main trouble is just something I did with the PPU. If you would like to compile it, just a C compiler, gmake, and SDL with opengl is all that is needed, the source code is at http://spark.ofloo.net/~qeed/nes.tar.gz and the tutor rom i am trying to get working is
http://spark.ofloo.net/~qeed/tutor.nes. Right now the emulator just displays a black screen.
http://spark.ofloo.net/~qeed/tutor.nes. Right now the emulator just displays a black screen.