mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-09-10 20:54:50 +00:00
. Change: Added support for SSC receive IRQ (eg. Z-Link) . Fix: [Bug #7231] AppleWin installed in path with spaces Internal: . Modified operation of interrupt assert/deassert
27 lines
826 B
C
27 lines
826 B
C
#pragma once
|
|
|
|
extern bool g_bMBTimerIrqActive;
|
|
extern UINT32 g_uTimer1IrqCount; // DEBUG
|
|
|
|
void MB_Initialize();
|
|
void MB_Reinitialize();
|
|
void MB_Destroy();
|
|
void MB_Reset();
|
|
BYTE MB_Read(WORD nAddr);
|
|
void MB_Write(WORD nAddr, BYTE nValue);
|
|
void MB_Mute();
|
|
void MB_Demute();
|
|
void MB_EndOfFrame();
|
|
void MB_CheckIRQ();
|
|
void MB_UpdateCycles(USHORT nClocks);
|
|
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);
|
|
|
|
BYTE __stdcall PhasorIO (WORD pc, BYTE addr, BYTE bWrite, BYTE d, ULONG nCyclesLeft);
|