annotate src/gb/gbGlobals.cpp @ 2:3549bbe597ed

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