AppleWin/source/Applewin.h
nick_westgate 1c502b76da Added floating bus emulation.
Summary of changes:
AppleWin.cpp: Made dwCyclesThisFrame global -> g_dwCyclesThisFrame.
CPU.cpp: Made InternalCpuExecute()'s nCyclesLeft static -> nInternalCyclesLeft.
CPU.cpp: Added CpuGetCyclesThisFrame().
Memory.cpp: Added MemGet80Store().
Memory.cpp: Added MemReadFloatingBus().
Memory.cpp: Added MemReadFloatingBus(BYTE const highbit).
Memory.cpp: Changed NullIo() to call MemReadFloatingBus().
Video.cpp: Added video scanner constants and VideoGetScannerAddress(bool* pbVblBar_OUT).
Video.cpp: Changed VideoCheckVbl() to call VideoGetScannerAddress().
Various files: Replaced MemReturnRandomData() calls with MemReadFloatingBus().
2006-03-12 09:05:39 +00:00

28 lines
755 B
C

#pragma once
extern char VERSIONSTRING[]; // Contructed in WinMain()
extern BOOL apple2e;
extern BOOL behind;
extern DWORD cumulativecycles;
extern DWORD cyclenum;
extern DWORD emulmsec;
extern bool g_bFullSpeed;
extern HINSTANCE instance;
extern int mode;
extern DWORD needsprecision;
extern TCHAR progdir[MAX_PATH];
extern BOOL resettiming;
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)
void SetCurrentCLK6502();