2017-02-19 18:55:54 -05:00
|
|
|
#include "globals.h"
|
|
|
|
|
|
|
|
FileManager *g_filemanager = NULL;
|
|
|
|
Cpu *g_cpu = NULL;
|
|
|
|
VM *g_vm = NULL;
|
|
|
|
PhysicalDisplay *g_display = NULL;
|
|
|
|
PhysicalKeyboard *g_keyboard = NULL;
|
2021-01-10 23:52:58 -05:00
|
|
|
PhysicalMouse *g_mouse = NULL;
|
2017-02-19 18:55:54 -05:00
|
|
|
PhysicalSpeaker *g_speaker = NULL;
|
|
|
|
PhysicalPaddles *g_paddles = NULL;
|
2017-02-20 18:41:46 -05:00
|
|
|
PhysicalPrinter *g_printer = NULL;
|
2018-01-07 14:43:17 -05:00
|
|
|
VMui *g_ui;
|
2018-02-17 20:44:04 -05:00
|
|
|
int8_t g_volume = 15;
|
2017-02-19 18:55:54 -05:00
|
|
|
uint8_t g_displayType = 3; // FIXME m_perfectcolor
|
2018-01-10 04:13:04 -05:00
|
|
|
VMRam g_ram;
|
2018-02-07 10:20:26 -05:00
|
|
|
volatile uint8_t g_debugMode = D_NONE;
|
|
|
|
volatile bool g_biosInterrupt = false;
|
|
|
|
uint32_t g_speed = 1023000; // Hz
|
2020-07-06 21:31:37 -04:00
|
|
|
bool g_invertPaddleX = false;
|
|
|
|
bool g_invertPaddleY = false;
|
2020-07-12 12:46:02 -04:00
|
|
|
|
|
|
|
char debugBuf[255];
|
2021-01-09 21:32:40 -05:00
|
|
|
|
|
|
|
#ifdef TEENSYDUINO
|
|
|
|
char fsbuf[200];
|
|
|
|
#endif
|