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 ;
2021-01-19 23:40:13 +00:00
int8_t g_volume = 7 ;
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
2021-01-19 23:40:13 +00:00
uint8_t g_luminanceCutoff = 122 ; // reasonable values are 127 and 128 for 32-bit (SDL); and 122/123 for 16-bit (teensy) depending on whether we're talking about white-on-black or black-on-white
2021-01-20 03:56:38 +00:00
# ifdef TEENSYDUINO
EXTMEM
# endif
2020-07-12 16:46:02 +00:00
char debugBuf [ 255 ] ;
2021-01-10 02:32:40 +00:00
# ifdef TEENSYDUINO
2021-01-20 03:56:38 +00:00
EXTMEM char fsbuf [ 200 ] ;
2021-01-10 02:32:40 +00:00
# endif