To my current understanding, the rewiring is not related to the mapper but related to the pin of the original mask rom. Once you know the pinout, you should be able to reroute the right pins regarding your current eprom.
I will try to help you with my current knowledge. I only know for now the rewiring of the PRG-ROM so let's start with this one.
I reused the chip diagram from my previous post and updated the chip on the left with your chip. This should make it even more easy to understand:
Code: Select all
AM27C040- 512KBytes (32pin): PRG ROM - 512KBytes (32pin):
---_--- ---_---
VPP - |01 32| - VCC PRG A17 - |01 32| - +5V
A16 - |02 31| - A18 PRG A18 - |02 31| - +5V
A15 - |03 30| - A17 PRG A15 - |03 30| - +5V
A12 - |04 29| - A14 PRG A12 - |04 29| - PRG A14
A7 - |05 28| - A13 PRG A7 - |05 28| - PRG A13
A6 - |06 27| - A8 PRG A6 - |06 27| - PRG A8
A5 - |07 26| - A9 PRG A5 - |07 26| - PRG A9
A4 - |08 25| - A11 PRG A4 - |08 25| - PRG A11
A3 - |09 24| - /OE PRG A3 - |09 24| - PRG A16
A2 - |10 23| - A10 PRG A2 - |10 23| - PRG A10
A1 - |11 22| - /CE PRG A1 - |11 22| - PRG /CE
A0 - |12 21| - O7 PRG A0 - |12 21| - PRG D7
O0 - |13 20| - O6 PRG D0 - |13 20| - PRG D6
O1 - |14 19| - O5 PRG D1 - |14 19| - PRG D5
O2 - |15 18| - O4 PRG D2 - |15 18| - PRG D4
GND - |16 17| - O3 GND - |16 17| - PRG D3
------- -------
Pin 01 (VPP) : This is the only one that I don't know. Since it's for programming and not a / pin, my guess is reroute to GND. But some else needs to confirms my guess
Pin 02 (A16) must me connected to hole 24
Pin 24 (/OE) must be connected to GND
Pin 30 (A17) must be connected to hole 01
Pin 31 (A17) must be connected to hole 02
Once you know the rewiring, you will have to decide if you bend the pins or cut the trace. Since it's your first try, I would suggest to bend the pins since the probability of making a mistake is high: I mixed one pin on my first try. But this is up to you and how comfortable you are with it.
As for the rewiring of the CHR-ROM, I don't know it yet but hope to learn it soon since I have another dev-cart on the way.
Hope this information will help you and that other people will contribute to this thread with the missing information (or correct my possible mistakes

).