MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / InitializeIO

Method InitializeIO

source/Mockingboard.cpp:903–912  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

901//-----------------------------------------------------------------------------
902
903void MockingboardCard::InitializeIO(LPBYTE pCxRomPeripheral)
904{
905 if (QueryType() == CT_Phasor)
906 RegisterIoHandler(m_slot, PhasorIO, PhasorIO, IORead, IOWrite, this, NULL);
907 else // All other Mockingboard variants
908 RegisterIoHandler(m_slot, IO_Null, IO_Null, IORead, IOWrite, this, NULL);
909
910 if (g_bDisableDirectSound || g_bDisableDirectSoundMockingboard)
911 return;
912}
913
914//-----------------------------------------------------------------------------
915

Callers

nothing calls this directly

Calls 1

RegisterIoHandlerFunction · 0.85

Tested by

no test coverage detected