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

Method Reset

source/SSI263.cpp:948–971  ·  view source on GitHub ↗

MB-C/Phasor/SSI263P phoneme continues to play after CTRL+RESET, whereas Phasor/SSI263AP doesn't (tested on real h/w) Votrax phoneme continues to play after CTRL+RESET (tested on MAME 0.262)

Source from the content-addressed store, hash-verified

946// MB-C/Phasor/SSI263P phoneme continues to play after CTRL+RESET, whereas Phasor/SSI263AP doesn't (tested on real h/w)
947// Votrax phoneme continues to play after CTRL+RESET (tested on MAME 0.262)
948void SSI263::Reset(const bool powerCycle, const bool isPhasorCard)
949{
950 if (m_type == SSI263Empty)
951 return;
952
953 if (!powerCycle && m_type == SSI263P)
954 {
955 if (isPhasorCard)
956 {
957 // [SSI263P] Empirically observed it does CTL H->L to enable ints (and set the device mode?) (GH#175)
958 // NB. CTRL+RESET doesn't clear m_ctrlArtAmp.CTL (ie. if the device is in power-down/standby mode then ignore RST)
959 // There's a bug in the SSI263P and RST should put the device into power-down/standby mode (ie. silence the device)
960 // TODO: Stick a 'scope on !PD/!RST pin 18 to see what the Phasor h/w does.
961 if ((m_ctrlArtAmp & CONTROL_MASK) == 0)
962 SetDeviceModeAndInts();
963 }
964
965 return;
966 }
967
968 Stop();
969 ResetState(powerCycle);
970 CpuIrqDeassert(IS_SPEECH);
971}
972
973//-----------------------------------------------------------------------------
974

Callers

nothing calls this directly

Calls 1

CpuIrqDeassertFunction · 0.85

Tested by

no test coverage detected