Hi
My second try to build a logic level converter board to connect a GamePAK to my NES FPGA project is complete. Running Super Mario Bros. 1 (European) works like a charm, no glitches or crashes. As a next step i tested other modules (Dr. Mario, SMB2, SMB3, EverDrive N8) with mostly catastrophic result. It's a pity that the everdrive module isn't working so i can't test with self written code
Here is a video from the Dr. Mario (European) intro: http://www.boxx-it.de/~cfruth/IMG_0888/
As you can see the game randomly switches the CHR Bank and there are these tiny horizontal pixel lines which are visible for a very short time.
While the background changes sometimes every second the sprites remain unchanged most of the time.
I don't think its a electrical problem with my board since SMB1 is running perfectly. I use 8x SN74LVC8T245 for the voltage conversion between my fpga board (2.5V) and the GamePak (5V). Reading the datasheet the timing and voltage characteristics looks good to me.
Things i tested so far:
- It's not a timing-problem, i reduced the system clock to 5MHz (i use PAL dividers) => no change
- It's not a problem of the cpu side signal generation, i shifted the phase of M2 to have only changes to CPU ADDR and CPU R/W while M2 is low, like described in http://wiki.nesdev.com/w/index.php/Cartridge_connector => no change
- It's not a problem of the ppu reading from the memory, i added the possibility to force CPU Ready to 0, so i can halt the cpu while the ppu is still running, with the result that i get a perfectly still picture with no glitches (if i halt in the right moment ), so i think the problem must come from something the cpu is doing with the MMC1
Does anyone have an idea what my problem could be or what i should test?
I only found http://forums.nesdev.com/viewtopic.php?f=9&t=13993&hilit=logic+analyzer which shows reading/writing to the cpu side. Is there also a diagram of the ppu signals for reading/writing?
It may sound strange, but does anyone have a ROM-Dump of the EverDrive N8, so i can test it in my FPGA-Simulator and get an idea why i only get a green screen?
Chris
My second try to build a logic level converter board to connect a GamePAK to my NES FPGA project is complete. Running Super Mario Bros. 1 (European) works like a charm, no glitches or crashes. As a next step i tested other modules (Dr. Mario, SMB2, SMB3, EverDrive N8) with mostly catastrophic result. It's a pity that the everdrive module isn't working so i can't test with self written code
Here is a video from the Dr. Mario (European) intro: http://www.boxx-it.de/~cfruth/IMG_0888/
As you can see the game randomly switches the CHR Bank and there are these tiny horizontal pixel lines which are visible for a very short time.
While the background changes sometimes every second the sprites remain unchanged most of the time.
I don't think its a electrical problem with my board since SMB1 is running perfectly. I use 8x SN74LVC8T245 for the voltage conversion between my fpga board (2.5V) and the GamePak (5V). Reading the datasheet the timing and voltage characteristics looks good to me.
Things i tested so far:
- It's not a timing-problem, i reduced the system clock to 5MHz (i use PAL dividers) => no change
- It's not a problem of the cpu side signal generation, i shifted the phase of M2 to have only changes to CPU ADDR and CPU R/W while M2 is low, like described in http://wiki.nesdev.com/w/index.php/Cartridge_connector => no change
- It's not a problem of the ppu reading from the memory, i added the possibility to force CPU Ready to 0, so i can halt the cpu while the ppu is still running, with the result that i get a perfectly still picture with no glitches (if i halt in the right moment ), so i think the problem must come from something the cpu is doing with the MMC1
Does anyone have an idea what my problem could be or what i should test?
I only found http://forums.nesdev.com/viewtopic.php?f=9&t=13993&hilit=logic+analyzer which shows reading/writing to the cpu side. Is there also a diagram of the ppu signals for reading/writing?
It may sound strange, but does anyone have a ROM-Dump of the EverDrive N8, so i can test it in my FPGA-Simulator and get an idea why i only get a green screen?
Chris