1 // VisualBoyAdvance - Nintendo Gameboy/GameboyAdvance (TM) emulator.
2 // Copyright (C) 1999-2003 Forgotten
3 // Copyright (C) 2005 Forgotten and the VBA development team
5 // This program is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation; either version 2, or(at your option)
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software Foundation,
17 // Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
28 bool ioReadable
[0x400];
34 bool armIrqEnable
= true;
35 u32 armNextPC
= 0x00000000;
37 u32 stop
= 0x08000568;
39 bool useBios
= DEF_USEBIOS
;
40 bool skipBios
= false;
43 bool synchronize
= true;
44 bool cpuDisableSfx
= false;
45 bool cpuIsMultiBoot
= false;
46 bool parseDebug
= true;
47 int layerSettings
= 0xff00;
48 int layerEnable
= 0xff00;
49 bool speedHack
= false;
51 bool cheatsEnabled
= true;
52 bool mirroringEnable
= false;
56 u8
*internalRAM
= NULL
;
58 u8
*paletteRAM
= NULL
;
65 u16 DISPSTAT
= 0x0000;
105 u16 DM0SAD_L
= 0x0000;
106 u16 DM0SAD_H
= 0x0000;
107 u16 DM0DAD_L
= 0x0000;
108 u16 DM0DAD_H
= 0x0000;
109 u16 DM0CNT_L
= 0x0000;
110 u16 DM0CNT_H
= 0x0000;
111 u16 DM1SAD_L
= 0x0000;
112 u16 DM1SAD_H
= 0x0000;
113 u16 DM1DAD_L
= 0x0000;
114 u16 DM1DAD_H
= 0x0000;
115 u16 DM1CNT_L
= 0x0000;
116 u16 DM1CNT_H
= 0x0000;
117 u16 DM2SAD_L
= 0x0000;
118 u16 DM2SAD_H
= 0x0000;
119 u16 DM2DAD_L
= 0x0000;
120 u16 DM2DAD_H
= 0x0000;
121 u16 DM2CNT_L
= 0x0000;
122 u16 DM2CNT_H
= 0x0000;
123 u16 DM3SAD_L
= 0x0000;
124 u16 DM3SAD_H
= 0x0000;
125 u16 DM3DAD_L
= 0x0000;
126 u16 DM3DAD_H
= 0x0000;
127 u16 DM3CNT_L
= 0x0000;
128 u16 DM3CNT_H
= 0x0000;