OSDN Git Service

14630b260cf9cedfad9fe628505ded850045e0a7
[unagi/old-svn-converted.git] / client / trunk / anago / namcot_175.ae
1 /*
2 Namcot 175
3
4 Wagan Land 2, Famista'91, Family Circuit '91, Chibimaruko chan, 
5 Heisei Tensai Bakabon
6
7 Family Circuit '91 has Program ROM(4M), Charcter ROM and external 
8 Battery Backuped WorkRAM.
9 */
10 board <- {
11         mappernum = 19, //210, 
12         cpu_rom = {
13                 size_base = 2 * mega, size_max = 4 * mega,
14                 banksize = 0x2000
15         }, 
16         cpu_ram = {
17                 size_base = 0x0800, size_max = 0x0800,
18                 banksize = 0x2000
19         }, 
20         ppu_rom = {
21                 size_base = 2 * mega, size_max = 2 * mega,
22                 banksize = 0x0400
23         },
24         ppu_ramfind = false,
25         vram_mirrorfind = true
26 };
27 dofile("namcot_19.ai");
28
29 function cpu_ram_access(d, pagesize, banksize)
30 {
31         cpu_write(d, 0xc000, 0x01);
32         cpu_ramrw(d, 0x6000, 0x0800);
33         cpu_write(d, 0xc000, 0x00);
34 }