mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-09-07 00:54:25 +00:00
58 lines
1.4 KiB
C
58 lines
1.4 KiB
C
#pragma once
|
|
|
|
void SetCurrentCLK6502();
|
|
void SetCurrentImageDir();
|
|
|
|
|
|
extern char VERSIONSTRING[]; // Contructed in WinMain()
|
|
|
|
extern TCHAR *g_pAppTitle;
|
|
|
|
extern eApple2Type g_Apple2Type;
|
|
|
|
extern BOOL behind;
|
|
extern DWORD cumulativecycles;
|
|
extern DWORD cyclenum;
|
|
extern DWORD emulmsec;
|
|
extern bool g_bFullSpeed;
|
|
|
|
//Pravets 8A/C only variables
|
|
extern bool P8CAPS_ON;
|
|
extern bool P8Shift;
|
|
//===========================================
|
|
|
|
// Win32
|
|
extern HINSTANCE g_hInstance;
|
|
|
|
extern AppMode_e g_nAppMode;
|
|
|
|
extern DWORD needsprecision;
|
|
extern TCHAR g_sProgramDir[MAX_PATH];
|
|
extern TCHAR g_sCurrentDir[MAX_PATH];
|
|
|
|
extern bool g_bResetTiming;
|
|
extern BOOL restart;
|
|
|
|
extern DWORD g_dwSpeed;
|
|
extern double g_fCurrentCLK6502;
|
|
|
|
extern int g_nCpuCyclesFeedback;
|
|
extern DWORD g_dwCyclesThisFrame;
|
|
|
|
extern FILE* g_fh; // Filehandle for log file
|
|
extern bool g_bDisableDirectSound; // Cmd line switch: don't init DS (so no MB support)
|
|
|
|
// 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;
|
|
|
|
extern HANDLE g_hCustomRomF8; // NULL if no custom rom
|
|
|
|
enum eCPU {CPU_6502=1, CPU_Z80};
|
|
extern eCPU g_ActiveCPU;
|
|
|