Hi people, I'm writting an nes emu in Golang. The CPU already works nice; but I'm facing some problems to test the PPU emulation. Actually I wrote a basic ppu code trying to make the minium enough to have tiles in scren (no scrolling, no attributes) just background tiles with 4 colors (pattern A + pattern B) (ignoring the color palette).
Now, I just have some static "noise" on screen; I expected to have some dynamic titles (even wrong). The 0x2000 (PPUCTRL) is never called by ROM with NMI_OUTPUT on, so there are no NMI interruptions during VBLANK.
Well, you know more than I how hard it's debug an emulator. I reached in a point that I can't understand whats going on.
Can you guys look my code and try to figure out what I'm doing wrong? This is the repository: https://github.com/jonathandasilvasanto ... rc/zerojnt
The most important files are: cpu.go, ppu.go, ioports.go
Thank you. I'm looking forward any tips or suggestions
This is the github repository:
Now, I just have some static "noise" on screen; I expected to have some dynamic titles (even wrong). The 0x2000 (PPUCTRL) is never called by ROM with NMI_OUTPUT on, so there are no NMI interruptions during VBLANK.
Well, you know more than I how hard it's debug an emulator. I reached in a point that I can't understand whats going on.
Can you guys look my code and try to figure out what I'm doing wrong? This is the repository: https://github.com/jonathandasilvasanto ... rc/zerojnt
The most important files are: cpu.go, ppu.go, ioports.go
Thank you. I'm looking forward any tips or suggestions
This is the github repository: