mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-11-19 04:08:45 +00:00
498f01edde
Added card save/load for: . Phasor (#260) . CP/M (#260) . 80 column card: . aux memory now saved separately from main memory . extended memory (RAMworks) (#260) Mockingboard & Phasor: . Full AY8910 internal state now preserved. . needed for eg. envelope, ay_change[], etc . also Phasor player only updates AY regs that have changed Other: . On restore error, then PostMessage(WM_USER_RESTART), so that emulator not left in intermediate state . Fix: Start Dir wasn't set when drag & dropping an image onto a drive icon or double-clicking an image file
33 lines
1.1 KiB
C
33 lines
1.1 KiB
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_v1* const pSS, const DWORD dwSlot); // For debugger
|
|
int MB_SetSnapshot_v1(const struct SS_CARD_MOCKINGBOARD_v1* const pSS, const DWORD dwSlot);
|
|
void MB_GetSnapshot(const HANDLE hFile, const UINT uSlot);
|
|
void MB_SetSnapshot(const HANDLE hFile);
|
|
|
|
void Phasor_GetSnapshot(const HANDLE hFile);
|
|
void Phasor_SetSnapshot(const HANDLE hFile);
|