Wrong link for the readme.
Instead of making another thread, I'll just put this here.
I've been having trouble trying to use anago to flash my GTROM board, it's always "compare failed at offset 0x008000". But I don't see the problem with my script.
If this could be supported in your app INL, that would be awesome. Here's the vital info:
mapper register $5000, 4 lowest bits
32kB pages at $8000-$FFFF
SST39SF040, command addresses are $AAAA and $D555
uses CHR-RAM
4-screen mirroring only
mapper #111
Code:
board <- {
mappernum = 111, vram_mirrorfind = false, ppu_ramfind = false,
cpu_romsize = 0x80000, cpu_banksize = 0x4000,
cpu_rom = { size_base = 0x8000, size_max = 0x80000, banksize = 0x4000},
ppu_rom = { size_base = 0, size_max = 0, banksize = 0x2000}
};
function program_initalize(d, cpu_banksize, ppu_banksize)
{
cpu_write(d, 0x5000, 0);
cpu_command(d, 0, 0x8000, cpu_banksize);
cpu_command(d, 0x2aaa, 0x8000, cpu_banksize);
cpu_command(d, 0x5555, 0xC000, cpu_banksize);
}
function cpu_transfer(d, start, end, cpu_banksize)
{
for(local i = start; i < end; i += 1){
cpu_write(d, 0x5000, i);
cpu_program(d, 0x8000, cpu_banksize);
cpu_program(d, 0xC000, cpu_banksize);
}
}
function ppu_transfer(d, start, end, ppu_banksize)
{
}