Previous 199869 Revisions Next

r20495 Saturday 26th January, 2013 at 16:26:25 UTC by Carl
[mess] force controller reset with sio reset (nw)
[src/emu/cpu/psx]sio.c

trunk/src/emu/cpu/psx/sio.c
r20494r20495
263263            verboselog( machine(), 1, "psx_sio_w reset\n" );
264264            m_status |= SIO_STATUS_TX_EMPTY | SIO_STATUS_TX_RDY;
265265            m_status &= ~( SIO_STATUS_RX_RDY | SIO_STATUS_OVERRUN | SIO_STATUS_IRQ );
266
267            // toggle DTR to reset controllers, Star Ocean 2, at least, requires it
268            // the precise mechanism of the reset is unknown
269            // maybe it's related to the bottom 2 bits of control which are usually set
270            output( m_tx ^ PSX_SIO_OUT_DTR, PSX_SIO_OUT_DTR );
266271         }
267272         if( ( m_control & SIO_CONTROL_IACK ) != 0 )
268273         {

Previous 199869 Revisions Next


© 1997-2024 The MAME Team