2006-02-25 20:50:29 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
extern bool g_bMBTimerIrqActive;
|
2006-05-02 21:56:28 +00:00
|
|
|
extern UINT32 g_uTimer1IrqCount; // DEBUG
|
2006-02-25 20:50:29 +00:00
|
|
|
|
|
|
|
void MB_Initialize();
|
|
|
|
void MB_Reinitialize();
|
|
|
|
void MB_Destroy();
|
|
|
|
void MB_Reset();
|
|
|
|
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);
|
2006-02-25 20:50:29 +00:00
|
|
|
eSOUNDCARDTYPE MB_GetSoundcardType();
|
|
|
|
void MB_SetSoundcardType(eSOUNDCARDTYPE NewSoundcardType);
|
|
|
|
double MB_GetFramePeriod();
|
|
|
|
bool MB_IsActive();
|
|
|
|
DWORD MB_GetVolume();
|
|
|
|
void MB_SetVolume(DWORD dwVolume, DWORD dwVolumeMax);
|
|
|
|
DWORD MB_GetSnapshot(SS_CARD_MOCKINGBOARD* pSS, DWORD dwSlot);
|
|
|
|
DWORD MB_SetSnapshot(SS_CARD_MOCKINGBOARD* pSS, DWORD dwSlot);
|