2006-02-25 20:50:29 +00:00
|
|
|
#pragma once
|
|
|
|
|
2008-06-21 11:48:15 +00:00
|
|
|
void SetCurrentCLK6502();
|
|
|
|
void SetCurrentImageDir();
|
|
|
|
|
|
|
|
|
2006-02-25 20:50:29 +00:00
|
|
|
extern char VERSIONSTRING[]; // Contructed in WinMain()
|
|
|
|
|
2006-06-27 02:34:46 +00:00
|
|
|
extern TCHAR *g_pAppTitle;
|
|
|
|
|
2007-05-28 11:16:42 +00:00
|
|
|
extern eApple2Type g_Apple2Type;
|
2006-06-12 22:06:50 +00:00
|
|
|
|
2006-02-25 20:50:29 +00:00
|
|
|
extern BOOL behind;
|
|
|
|
extern DWORD cumulativecycles;
|
|
|
|
extern DWORD cyclenum;
|
|
|
|
extern DWORD emulmsec;
|
|
|
|
extern bool g_bFullSpeed;
|
2006-07-02 09:56:50 +00:00
|
|
|
|
2008-06-20 23:47:25 +00:00
|
|
|
//Pravets 8A/C only variables
|
|
|
|
extern bool P8CAPS_ON;
|
|
|
|
extern bool P8Shift;
|
|
|
|
//===========================================
|
|
|
|
|
2006-07-02 09:56:50 +00:00
|
|
|
// Win32
|
|
|
|
extern HINSTANCE g_hInstance;
|
2006-06-12 22:06:50 +00:00
|
|
|
|
|
|
|
extern AppMode_e g_nAppMode;
|
|
|
|
|
2006-02-25 20:50:29 +00:00
|
|
|
extern DWORD needsprecision;
|
2006-06-25 03:41:52 +00:00
|
|
|
extern TCHAR g_sProgramDir[MAX_PATH];
|
|
|
|
extern TCHAR g_sCurrentDir[MAX_PATH];
|
|
|
|
|
2006-06-26 16:59:48 +00:00
|
|
|
extern bool g_bResetTiming;
|
2006-02-25 20:50:29 +00:00
|
|
|
extern BOOL restart;
|
|
|
|
|
|
|
|
extern DWORD g_dwSpeed;
|
|
|
|
extern double g_fCurrentCLK6502;
|
|
|
|
|
2006-03-12 09:05:39 +00:00
|
|
|
extern int g_nCpuCyclesFeedback;
|
|
|
|
extern DWORD g_dwCyclesThisFrame;
|
|
|
|
|
2006-02-25 20:50:29 +00:00
|
|
|
extern FILE* g_fh; // Filehandle for log file
|
|
|
|
extern bool g_bDisableDirectSound; // Cmd line switch: don't init DS (so no MB support)
|
|
|
|
|
2009-02-14 03:54:12 +00:00
|
|
|
// TODO: Make g_CurrentPeripherals[MAX_SLOTS] = { CT_Empty }
|
|
|
|
extern UINT g_Slot4; // Mockingboard or Mouse in slot4
|
|
|
|
|
|
|
|
// TODO: Move into: g_CurrentPeripherals[]
|
|
|
|
extern UINT g_uMouseInSlot4;
|
|
|
|
//extern UINT g_uClockInSlot4;
|
|
|
|
extern UINT g_uZ80InSlot5;
|
2007-08-06 21:38:35 +00:00
|
|
|
|
2008-02-22 21:28:35 +00:00
|
|
|
extern HANDLE g_hCustomRomF8; // NULL if no custom rom
|
2008-08-19 21:36:31 +00:00
|
|
|
|
|
|
|
enum eCPU {CPU_6502=1, CPU_Z80};
|
|
|
|
extern eCPU g_ActiveCPU;
|
|
|
|
|