trunk/src/emu/bus/epson_sio/tf20.c
| r29226 | r29227 | |
| 289 | 289 | WRITE_LINE_MEMBER( epson_tf20_device::rxc_w ) |
| 290 | 290 | { |
| 291 | 291 | m_rxc = state; |
| 292 | | m_sio_input->rx_w(m_txda & m_rxc); |
| 292 | m_sio_input->rx_w(m_txda && m_rxc); |
| 293 | 293 | } |
| 294 | 294 | |
| 295 | 295 | //------------------------------------------------- |
| r29226 | r29227 | |
| 299 | 299 | WRITE_LINE_MEMBER( epson_tf20_device::pinc_w ) |
| 300 | 300 | { |
| 301 | 301 | m_pinc = state; |
| 302 | | m_sio_input->pin_w(!m_dtra | m_pinc); |
| 302 | m_sio_input->pin_w(!m_dtra || m_pinc); |
| 303 | 303 | } |
| 304 | 304 | |
| 305 | 305 | //------------------------------------------------- |
| r29226 | r29227 | |
| 309 | 309 | WRITE_LINE_MEMBER( epson_tf20_device::txda_w ) |
| 310 | 310 | { |
| 311 | 311 | m_txda = state; |
| 312 | | m_sio_input->rx_w(m_txda & m_rxc); |
| 312 | m_sio_input->rx_w(m_txda && m_rxc); |
| 313 | 313 | } |
| 314 | 314 | |
| 315 | 315 | //------------------------------------------------- |
| r29226 | r29227 | |
| 319 | 319 | WRITE_LINE_MEMBER( epson_tf20_device::dtra_w ) |
| 320 | 320 | { |
| 321 | 321 | m_dtra = state; |
| 322 | | m_sio_input->pin_w(!m_dtra | m_pinc); |
| 322 | m_sio_input->pin_w(!m_dtra || m_pinc); |
| 323 | 323 | } |
| 324 | 324 | |
| 325 | 325 | //------------------------------------------------- |
trunk/src/mess/drivers/altos5.c
| r29226 | r29227 | |
| 119 | 119 | UINT8 data = m_p_prom[offset]; |
| 120 | 120 | |
| 121 | 121 | // if IPL and /A12, point at rom |
| 122 | | if (!state & m_ipl & !BIT(offset, 0)) |
| 122 | if (!state && m_ipl && !BIT(offset, 0)) |
| 123 | 123 | data = 0x31; |
| 124 | 124 | else |
| 125 | 125 | // if WPRT point at nothing |
| 126 | | if (state & BIT(data, 7)) |
| 126 | if (state && BIT(data, 7)) |
| 127 | 127 | data = 0x30; |
| 128 | 128 | |
| 129 | 129 | // mask off wprt (no longer needed) |