Code: Select all
board <- {
mappernum = 36,
cpu_rom = {
size_base = 0x10000, size_max = 4 * mega, banksize = 0x8000
},
ppu_rom = {
size_base = 0x10000, size_max = 1 * mega, banksize = 0x2000
},
cpu_romsize = 4 * mega, cpu_banksize = 0x8000,
ppu_romsize = 1 * mega, ppu_banksize = 0x2000,
ppu_ramfind = false, vram_mirrorfind = false
};
function cpu_dump(d, pagesize, banksize) {
for (local i = 0; i < pagesize; i += 1) {
cpu_write(d, 0x8400, i << 4);
cpu_read(d, 0x8000, 0x4000);
cpu_read(d, 0xc000, 0x4000);
}
}
function ppu_dump(d, pagesize, banksize) {
for (local i = 0; i < pagesize; i += 1) {
cpu_write(d, 0x8400, i);
ppu_read(d, 0, 0x2000);
}
}
The current code. No real luck, not workign atleast. Tried to play with size_base and maX_size but always get same result:
\anago\policeman.nes, mapper 36
Program ROM: size 0x008000, crc32 0x012ce0e2
Charcter ROM: size 0x002000, crc32 0xc2b55df5
I was expecting two 64kB blocks (
http://glukvideo.info/listado-juegos-gluk#policeman)
I will get picture of the back. Tomorrow I could try to map the pins.
Edit: Even without the update you gave me it still give me the same result indicating that the page switching does not work at all.
Edit 2: Picture of PCB backside:
http://sv.tinypic.com/r/155jtjo/9