2006-02-25 20:50:29 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
extern bool g_bMBTimerIrqActive;
|
2009-01-09 23:27:29 +00:00
|
|
|
#ifdef _DEBUG
|
2006-05-02 21:56:28 +00:00
|
|
|
extern UINT32 g_uTimer1IrqCount; // DEBUG
|
2009-01-09 23:27:29 +00:00
|
|
|
#endif
|
2006-02-25 20:50:29 +00:00
|
|
|
|
|
|
|
void MB_Initialize();
|
|
|
|
void MB_Reinitialize();
|
|
|
|
void MB_Destroy();
|
|
|
|
void MB_Reset();
|
2009-04-16 21:18:13 +00:00
|
|
|
void MB_InitializeIO(LPBYTE pCxRomPeripheral, UINT uSlot4, UINT uSlot5);
|
2006-02-25 20:50:29 +00:00
|
|
|
void MB_Mute();
|
|
|
|
void MB_Demute();
|
2007-08-06 21:38:35 +00:00
|
|
|
void MB_StartOfCpuExecute();
|
|
|
|
void MB_EndOfVideoFrame();
|
2006-02-25 20:50:29 +00:00
|
|
|
void MB_CheckIRQ();
|
2007-08-06 21:38:35 +00:00
|
|
|
void MB_UpdateCycles(ULONG uExecutedCycles);
|
2012-03-20 23:17:06 +00:00
|
|
|
SS_CARDTYPE MB_GetSoundcardType();
|
|
|
|
void MB_SetSoundcardType(SS_CARDTYPE NewSoundcardType);
|
2006-02-25 20:50:29 +00:00
|
|
|
double MB_GetFramePeriod();
|
|
|
|
bool MB_IsActive();
|
|
|
|
DWORD MB_GetVolume();
|
|
|
|
void MB_SetVolume(DWORD dwVolume, DWORD dwVolumeMax);
|
2016-03-21 23:48:02 +00:00
|
|
|
|
|
|
|
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);
|
|
|
|
std::string MB_GetSnapshotCardName(void);
|
|
|
|
void MB_SaveSnapshot(class YamlSaveHelper& yamlSaveHelper, const UINT uSlot);
|
|
|
|
bool MB_LoadSnapshot(class YamlLoadHelper& yamlLoadHelper, UINT slot, UINT version);
|
|
|
|
|
|
|
|
std::string Phasor_GetSnapshotCardName(void);
|
|
|
|
void Phasor_SaveSnapshot(class YamlSaveHelper& yamlSaveHelper, const UINT uSlot);
|
|
|
|
bool Phasor_LoadSnapshot(class YamlLoadHelper& yamlLoadHelper, UINT slot, UINT version);
|