

Moderators: B00daW, Moderators




Code: Select all
HM62256BLP
256kbit (32K) SRAM
For Namco-163 CHR-RAM
_________________
| V |
0 --| A14 VCC |-- +5V
Namco CHR A12 --| A12 /WE |-- PPU /WR
PPU A7 --| A7 A13 |-- 0
PPU A6 --| A6 A8 |-- PPU A8
PPU A5 --| A5 A9 |-- PPU A9
PPU A4 --| A4 A11 |-- PPU A11 (Not Namco)
PPU A3 --| A3 /OE |-- PPU /RD
PPU A2 --| A2 A10 |-- PPU A10 (Not Namco)
PPU A1 --| A1 /CS |-- PPU A13 (Not Namco)
PPU A0 --| A0 D7 |-- PPU D7
PPU D0 --| D0 D6 |-- PPU D6
PPU D1 --| D1 D5 |-- PPU D5
PPU D2 --| D2 D4 |-- PPU D4
GND --| D3 D3 |-- PPU D3
|_______________|That sounds like the game isn't initializing the CHR banking registers at all, and Nestopia accidentally/intentionally has "useful" defaults, rather than the far more likely all-0 or all-random values.Ben Boldt wrote:I ended up wiring A10, A11 and A13 directly to PPU and A12 to N163. I'm not sure why it needs this combination, or even what the difference is between N163 and PPU versions of these pins.
Did you play with pins 33 and 34?I am interested in figuring out the "correct" connections and seeing if this ROM hack will run on that hardware.
I suspect pin 44 isn't internally connected to ground. Since you have it on a breakout board you should be able to measure what resistance (and/or diode drops) it has to other known-ground pins.Not even being sure if pin 44 is an input or an actual GND rail connection
Code: Select all
HM62256BLP
256kbit (32K) SRAM
For Namco-163 CHR-RAM
_________________
| V |
Namco CHR A14 --| A14 VCC |-- +5V
Namco CHR A12 --| A12 /WE |-- PPU /WR
PPU A7 --| A7 A13 |-- Namco CHR A13
PPU A6 --| A6 A8 |-- PPU A8
PPU A5 --| A5 A9 |-- PPU A9
PPU A4 --| A4 A11 |-- Namco CHR A11
PPU A3 --| A3 /OE |-- PPU /RD
PPU A2 --| A2 A10 |-- Namco CHR A10
PPU A1 --| A1 /CS |-- Namco CHR ROM /CE
PPU A0 --| A0 D7 |-- PPU D7
PPU D0 --| D0 D6 |-- PPU D6
PPU D1 --| D1 D5 |-- PPU D5
PPU D2 --| D2 D4 |-- PPU D4
GND --| D3 D3 |-- PPU D3
|_______________|Pin 33 probably wants to be ground. I don't know about pin 34. (It'd be nice to figure out what pin 34 is ...)Ben Boldt wrote:I connected pin 33 to PPU /RD of the Nintendo, and I grounded pin 34.
That is what I'd assume. (Plus changing n163 pin 33)Should I be hooking it up like this?:[...]
Nope, I definitely found the CHR banking initialization present when using Nintendulator. Of course, Nintendulator doesn't know what to do without CHR ROM, but that's pretty justifiable.lidnariq wrote:That sounds like the game isn't initializing the CHR banking registers at all, and Nestopia accidentally/intentionally has "useful" defaults, rather than the far more likely all-0 or all-random values.

That sounds like you're seeing the "treat open bus as PPU tiles" pattern, which should look like this:Ben Boldt wrote:When I set it to +5V, the game can run and the Namco-163 expansion audio works fine, but the graphics are screwed up, showing predominantly this sort of binary pattern
So the 163's CIRAM/CE output ignores this input.The color palettes are still correct when it is doing this.
This is expectedIf I power on the game with pin 34 at GND, then change it to +5V, the graphics go to the binary pattern, but the graphics can return to normal when I change pin 34 back to GND.
Based on your description, I expect that both pin 33 and pin 34 are both ORed with the internal CHR ROM banking signal before emerging on pin 41.... except this:I have a pretty nice digital oscilloscope if there are any signals that you think I should look at - let me know if you have any ideas.
This is confusing.If I power on the game with pin 34 at 5V, then change it to GND, the graphics become garbled.