diff options
author | 2014-07-22 06:14:55 +0000 | |
---|---|---|
committer | 2014-07-22 06:14:55 +0000 | |
commit | 5d7e1fcc62a7f9dd5441eaccbc274f9327efcf00 (patch) | |
tree | 59a6e5c3c090f1f83dfd20359ab321fb69713e00 /src/emu/machine/mc68681.c | |
parent | c4e9058ee26841baae4c0fd51e081949747d5f48 (diff) |
Cleanups and version bump
Diffstat (limited to 'src/emu/machine/mc68681.c')
-rw-r--r-- | src/emu/machine/mc68681.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/emu/machine/mc68681.c b/src/emu/machine/mc68681.c index 4ac15448f5e..c6fd20968a6 100644 --- a/src/emu/machine/mc68681.c +++ b/src/emu/machine/mc68681.c @@ -246,21 +246,21 @@ TIMER_CALLBACK_MEMBER( mc68681_device::duart_timer_callback ) { UINT8 csr = m_chanA->get_chan_CSR(); - if ((csr & 0xf0) == 0xd0) // tx is timer driven + if ((csr & 0xf0) == 0xd0) // tx is timer driven { m_chanA->tx_clock_w(half_period); } - if ((csr & 0x0f) == 0x0d) // rx is timer driven + if ((csr & 0x0f) == 0x0d) // rx is timer driven { m_chanA->rx_clock_w(half_period); } - csr = m_chanB->get_chan_CSR(); - if ((csr & 0xf0) == 0xd0) // tx is timer driven + csr = m_chanB->get_chan_CSR(); + if ((csr & 0xf0) == 0xd0) // tx is timer driven { m_chanB->tx_clock_w(half_period); } - if ((csr & 0x0f) == 0x0d) // rx is timer driven + if ((csr & 0x0f) == 0x0d) // rx is timer driven { m_chanB->rx_clock_w(half_period); } @@ -721,7 +721,7 @@ void mc68681_channel::rcv_complete() void mc68681_channel::tra_complete() { -// printf("%s ch %d Tx complete\n", tag(), m_ch); +// printf("%s ch %d Tx complete\n", tag(), m_ch); tx_ready = 1; SR |= STATUS_TRANSMITTER_READY; @@ -1147,4 +1147,3 @@ UINT8 mc68681_channel::get_chan_CSR() { return CSR; } - |