mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-06-22 15:29:29 +00:00
. Format now extensible for supporting new hardware types in the future . Include missing items like Apple2Type, CyclesThisVideoFrame (#255) Continue to support loading of old v1 format. Added card save/load for: . Mouse (#260) . HDD (#260) . Printer Extended card support for: . SSC Other: . Added save-state v1 struct size checks . Create SaveState_Structs_v2.h and split out common into SaveState_Structs_common.h . Refactor HardDisk.cpp to use imagehandle; and consolidate with Disk.cpp . Fix Disk/HD_GetFullPathName() which wasn't always returning full pathname . Consolidate common GetImageTitle() and move into DiskImage.cpp
30 lines
981 B
C
30 lines
981 B
C
#pragma once
|
|
|
|
extern bool g_bMBTimerIrqActive;
|
|
#ifdef _DEBUG
|
|
extern UINT32 g_uTimer1IrqCount; // DEBUG
|
|
#endif
|
|
|
|
void MB_Initialize();
|
|
void MB_Reinitialize();
|
|
void MB_Destroy();
|
|
void MB_Reset();
|
|
void MB_InitializeIO(LPBYTE pCxRomPeripheral, UINT uSlot4, UINT uSlot5);
|
|
void MB_Mute();
|
|
void MB_Demute();
|
|
void MB_StartOfCpuExecute();
|
|
void MB_EndOfVideoFrame();
|
|
void MB_CheckIRQ();
|
|
void MB_UpdateCycles(ULONG uExecutedCycles);
|
|
SS_CARDTYPE MB_GetSoundcardType();
|
|
void MB_SetSoundcardType(SS_CARDTYPE NewSoundcardType);
|
|
double MB_GetFramePeriod();
|
|
bool MB_IsActive();
|
|
DWORD MB_GetVolume();
|
|
void MB_SetVolume(DWORD dwVolume, DWORD dwVolumeMax);
|
|
|
|
void MB_GetSnapshot_v1(struct SS_CARD_MOCKINGBOARD* const pSS, const DWORD dwSlot); // For debugger
|
|
int MB_SetSnapshot_v1(const struct SS_CARD_MOCKINGBOARD* const pSS, const DWORD dwSlot);
|
|
void MB_GetSnapshot(const HANDLE hFile, const UINT uSlot);
|
|
void MB_SetSnapshot(const HANDLE hFile);
|