2 mappernum = 2, vram_mirrorfind = true, ppu_ramfind = false,
4 size_base = 1 * mega, size_max = 2 * mega,
8 size_base = 0, size_max = 0,
13 function cpu_dump(d, pagesize, banksize)
15 for(local i = 0; i < pagesize - 1; i += 1){
16 cpu_write(d, 0x8000, i);
17 cpu_read(d, 0x8000, banksize);
19 cpu_read(d, 0xc000, banksize);
23 UNROM/UOROM programming notice
24 command address supports A10-A0 device. A14-A0 is not supported!
26 function program_initalize(d, cpu_banksize, ppu_banksize)
28 cpu_write(d, 0x8000, 0);
29 cpu_command(d, 0, 0x8000, cpu_banksize);
30 cpu_command(d, 0x02aa, 0xc000, cpu_banksize);
31 cpu_command(d, 0x0555, 0xc000, cpu_banksize);
34 function cpu_transfer(d, start, end, cpu_banksize)
36 for(local i = start; i < end - 1; i += 1){
37 cpu_write(d, 0xe000, i);
38 cpu_program(d, 0x8000, cpu_banksize);
40 cpu_program(d, 0xc000, cpu_banksize);
43 function ppu_transfer(d, start, end, ppu_banksize)