heya, i need some help. i've replaced PRG ROM on a 168-in-1 Contra Function cart with a DIP-32 socket, but it didn't end well. when i insert the original ROM in that socket the picture is corrupted. palettes and nametables work fine and the game is kinda functional, but all tiles are borked. after disconnecting the 4,5k resistor that is on cart it works fine ~9 out of 10 hard resets. but when i insert my custom W27E040 EEPROM it doesn't start at all (blank screen) 9/10 times and is corrupted 1/10 times. with that resistor disconnected it is corrupted more often than blank, but never works fine. i'm using a slightly modded Pegasus MT777DX (famiclone).
cart layout and "screen shot"
at first i thought i might have shorted some tracks or disconnected some pins from pads while desoldering the ROM, especially that the soldering work on that SRAM was extremely janky. but i have arduously verified that all connections on the pcb are fine. i don't know what else can i do to make it work
cart components:
edit: for posterity - the problem was that the cart mapper 15 disables CHR ROM writes in banking mode 0 and emulators didnt emulate this behavior. so this was mostly a software issue
cart layout and "screen shot"
at first i thought i might have shorted some tracks or disconnected some pins from pads while desoldering the ROM, especially that the soldering work on that SRAM was extremely janky. but i have arduously verified that all connections on the pcb are fine. i don't know what else can i do to make it work

cart components:
Code:
GD74LS00 9137 OCTAL BUS TRANSCEIVER NON-INVERTED 3-STATE OUTPUTS
GD74LS174 9216 OCTAL BUS TRANSCEIVER NON-INVERTED 3-STATE OUTPUTS
T74LS273B1 99144 Octal bus transceiver
PAL16L8ACN 152JTBE Fuse-Programmable PLD
LH5160N-10L 9103 1 DC 64K-Bit SRAM
SS 8001 HN62328BP Y55 2E1 x8 ROM Mask Programmable
GD74LS174 9216 OCTAL BUS TRANSCEIVER NON-INVERTED 3-STATE OUTPUTS
T74LS273B1 99144 Octal bus transceiver
PAL16L8ACN 152JTBE Fuse-Programmable PLD
LH5160N-10L 9103 1 DC 64K-Bit SRAM
SS 8001 HN62328BP Y55 2E1 x8 ROM Mask Programmable
edit: for posterity - the problem was that the cart mapper 15 disables CHR ROM writes in banking mode 0 and emulators didnt emulate this behavior. so this was mostly a software issue