trunk/src/emu/cpu/psx/sio.c
| r20494 | r20495 | |
| 263 | 263 | verboselog( machine(), 1, "psx_sio_w reset\n" ); |
| 264 | 264 | m_status |= SIO_STATUS_TX_EMPTY | SIO_STATUS_TX_RDY; |
| 265 | 265 | 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 ); |
| 266 | 271 | } |
| 267 | 272 | if( ( m_control & SIO_CONTROL_IACK ) != 0 ) |
| 268 | 273 | { |