mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-11 05:29:55 +00:00
02b0d7419a
. Specifically IBIZA.DSK demo which streams data from the disk throughout (ie. so runs at full-speed all the time) . Update the screen every frame, but only if video memory has changed (check AZTEC.DSK loading time) . NB. When running at full-speed, then 6502 emulation doesn't do cycle-accurate video updates Fixed crash that could occur when switch video mode (F9) when running at full-speed . Occured when g_nVideoClockVert was >= 192
59 lines
1.7 KiB
C++
59 lines
1.7 KiB
C++
#pragma once
|
|
|
|
#include "SaveState_Structs_common.h"
|
|
#include "Common.h"
|
|
|
|
void SetCurrentCLK6502();
|
|
bool SetCurrentImageDir(const char* pszImageDir);
|
|
void SetCharsetType(void);
|
|
|
|
extern const UINT16* GetAppleWinVersion(void);
|
|
extern char VERSIONSTRING[]; // Constructed in WinMain()
|
|
|
|
extern TCHAR *g_pAppTitle;
|
|
|
|
extern eApple2Type g_Apple2Type;
|
|
eApple2Type GetApple2Type(void);
|
|
void SetApple2Type(eApple2Type type);
|
|
|
|
extern bool g_bFullSpeed;
|
|
|
|
//===========================================
|
|
|
|
// Win32
|
|
extern HINSTANCE g_hInstance;
|
|
|
|
extern AppMode_e g_nAppMode;
|
|
bool GetLoadedSaveStateFlag(void);
|
|
void SetLoadedSaveStateFlag(const bool bFlag);
|
|
|
|
extern TCHAR g_sProgramDir[MAX_PATH];
|
|
extern TCHAR g_sCurrentDir[MAX_PATH];
|
|
|
|
extern BOOL restart;
|
|
extern bool g_bRestartFullScreen;
|
|
|
|
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_bDisableDirectInput; // Cmd line switch: don't init DI (so no DIMouse support)
|
|
extern bool g_bDisableDirectSound; // Cmd line switch: don't init DS (so no MB/Speaker support)
|
|
extern bool g_bDisableDirectSoundMockingboard; // Cmd line switch: don't init MB support
|
|
extern int g_nMemoryClearType; // Cmd line switch: use specific MIP (Memory Initialization Pattern)
|
|
|
|
extern SS_CARDTYPE g_Slot4; // Mockingboard, Z80, Mouse in slot4
|
|
extern SS_CARDTYPE g_Slot5; // Mockingboard, Z80, in slot5
|
|
|
|
extern HANDLE g_hCustomRomF8; // NULL if no custom rom
|
|
|
|
#ifdef USE_SPEECH_API
|
|
class CSpeech;
|
|
extern CSpeech g_Speech;
|
|
#endif
|
|
|
|
extern __interface IPropertySheet& sg_PropertySheet;
|