2017-02-19 23:55:54 +00: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-11 04:52:58 +00:00
|
|
|
PhysicalMouse *g_mouse = NULL;
|
2017-02-19 23:55:54 +00:00
|
|
|
PhysicalSpeaker *g_speaker = NULL;
|
|
|
|
PhysicalPaddles *g_paddles = NULL;
|
2017-02-20 23:41:46 +00:00
|
|
|
PhysicalPrinter *g_printer = NULL;
|
2018-01-07 19:43:17 +00:00
|
|
|
VMui *g_ui;
|
2018-02-18 01:44:04 +00:00
|
|
|
int8_t g_volume = 15;
|
2017-02-19 23:55:54 +00:00
|
|
|
uint8_t g_displayType = 3; // FIXME m_perfectcolor
|
2018-01-10 09:13:04 +00:00
|
|
|
VMRam g_ram;
|
2018-02-07 15:20:26 +00:00
|
|
|
volatile uint8_t g_debugMode = D_NONE;
|
|
|
|
volatile bool g_biosInterrupt = false;
|
|
|
|
uint32_t g_speed = 1023000; // Hz
|
2020-07-07 01:31:37 +00:00
|
|
|
bool g_invertPaddleX = false;
|
|
|
|
bool g_invertPaddleY = false;
|
2020-07-12 16:46:02 +00:00
|
|
|
|
|
|
|
char debugBuf[255];
|
2021-01-10 02:32:40 +00:00
|
|
|
|
|
|
|
#ifdef TEENSYDUINO
|
|
|
|
char fsbuf[200];
|
|
|
|
#endif
|