I have this cartridge : Gold 7 in 1 HIK AR456
It is mapper 52 : mapper 52 info
I could dump it already by using Willem Programmer :
And the dump works fine :
Now I want to redump it again by using Kazzo.
And the main goal is to write a proper script of mapper 52 for Kazzo so that next time for dumping the same mapper I don't need to surgery the cartridge!
By using nrom.ad I could dump the menu of the cartridge properly, which can be downloaded from here
Then I used "cpu_write(d, 0xA001, 0x80)" and "cpu_write(d, 0x6220, 0xEA)" and expected to dump some of ROM2 from the cartridge, but it still dump the menu code!
Where is my mistake?
By the way I set a write break point on 6000~FFFF to see what registers are written on power up, and here is the result :
And by running the second game :
Any help would be appreciated, thanks.
It is mapper 52 : mapper 52 info
I could dump it already by using Willem Programmer :
And the dump works fine :
Now I want to redump it again by using Kazzo.
And the main goal is to write a proper script of mapper 52 for Kazzo so that next time for dumping the same mapper I don't need to surgery the cartridge!
By using nrom.ad I could dump the menu of the cartridge properly, which can be downloaded from here
Then I used "cpu_write(d, 0xA001, 0x80)" and "cpu_write(d, 0x6220, 0xEA)" and expected to dump some of ROM2 from the cartridge, but it still dump the menu code!
Where is my mistake?
Code:
board <-
{
mappernum = 0,
cpu_romsize = 0x8000,
cpu_banksize = 0x4000,
ppu_romsize = 0x2000,
ppu_banksize = 0x2000,
ppu_ramfind = false,
vram_mirrorfind = false
};
function cpu_dump(d, pagesize, banksize)
{
cpu_write(d, 0xA001, 0x80);
cpu_write(d, 0x6220, 0xEA);
cpu_read(d, 0x8000, 0x4000);
cpu_read(d, 0xc000, 0x4000);
}
function ppu_dump(d, pagesize, banksize)
{
ppu_read(d, 0, 0x2000);
}
{
mappernum = 0,
cpu_romsize = 0x8000,
cpu_banksize = 0x4000,
ppu_romsize = 0x2000,
ppu_banksize = 0x2000,
ppu_ramfind = false,
vram_mirrorfind = false
};
function cpu_dump(d, pagesize, banksize)
{
cpu_write(d, 0xA001, 0x80);
cpu_write(d, 0x6220, 0xEA);
cpu_read(d, 0x8000, 0x4000);
cpu_read(d, 0xc000, 0x4000);
}
function ppu_dump(d, pagesize, banksize)
{
ppu_read(d, 0, 0x2000);
}
By the way I set a write break point on 6000~FFFF to see what registers are written on power up, and here is the result :
Code:
STX $8330 X=00
STA $8237 A=FE
STX $8650 X=06
STA $834F A=00
STX $8550 X=07
STA $8543 A=01
STA $8237 A=FE
STX $8650 X=06
STA $834F A=00
STX $8550 X=07
STA $8543 A=01
And by running the second game :
Code:
STA $A117 A=80
STX $6220 X=EA
STA $A113 A=00
STX $6220 X=EA
STA $A113 A=00
Any help would be appreciated, thanks.