AppleWin/AppleWin/source/Applewin.h

41 lines
981 B
C
Raw Normal View History

2006-02-25 20:50:29 +00:00
#pragma once
extern char VERSIONSTRING[]; // Contructed in WinMain()
extern TCHAR *g_pAppTitle;
extern eApple2Type g_Apple2Type;
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
// Win32
extern HINSTANCE g_hInstance;
extern AppMode_e g_nAppMode;
2006-02-25 20:50:29 +00:00
extern DWORD needsprecision;
extern TCHAR g_sProgramDir[MAX_PATH];
extern TCHAR g_sCurrentDir[MAX_PATH];
extern bool g_bResetTiming;
2006-02-25 20:50:29 +00:00
extern BOOL restart;
extern DWORD g_dwSpeed;
extern double g_fCurrentCLK6502;
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)
extern UINT g_Slot4; // Mockingboard or Mouse in slot4
extern HANDLE g_hCustomRomF8; // NULL if no custom rom
2006-02-25 20:50:29 +00:00
void SetCurrentCLK6502();