comparison src/gb/gbGlobals.cpp @ 1:f9f4f1b99eed

importing src directory
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 10:31:27 -0600
parents
children
comparison
equal deleted inserted replaced
0:8ced16adf2e1 1:f9f4f1b99eed
1 #include "../Port.h"
2 #include "GB.h"
3
4 u8 *gbMemoryMap[16];
5
6 int32 gbRomSizeMask = 0;
7 int32 gbRomSize = 0;
8 int32 gbRamSizeMask = 0;
9 int32 gbRamSize = 0;
10
11 u8 * gbMemory = NULL;
12 u8 * gbVram = NULL;
13 u8 * gbRom = NULL;
14 u8 * gbRam = NULL;
15 u8 * gbWram = NULL;
16 u16 *gbLineBuffer = NULL;
17
18 u16 gbPalette[128];
19 u8 gbBgp[4] = { 0, 1, 2, 3};
20 u8 gbObp0[4] = { 0, 1, 2, 3};
21 u8 gbObp1[4] = { 0, 1, 2, 3};
22 int32 gbWindowLine = -1;
23
24 int32 gbCgbMode = 0;
25
26 u16 gbColorFilter[32768];
27 int32 gbColorOption = 0;
28 int32 gbPaletteOption = 0;
29 int32 gbEmulatorType = 0;
30 int32 gbBorderOn = 1;
31 int32 gbBorderAutomatic = 0;
32 int32 gbBorderLineSkip = 160;
33 int32 gbBorderRowSkip = 0;
34 int32 gbBorderColumnSkip = 0;
35 int32 gbDmaTicks = 0;
36 bool8 gbNullInputHackEnabled = false;
37 bool8 gbNullInputHackTempEnabled = false;
38
39 u8 (*gbSerialFunction)(u8) = NULL;