diff options
Diffstat (limited to 'src/mame/drivers/xor100.cpp')
-rw-r--r-- | src/mame/drivers/xor100.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mame/drivers/xor100.cpp b/src/mame/drivers/xor100.cpp index c13d67305d3..4860610e51f 100644 --- a/src/mame/drivers/xor100.cpp +++ b/src/mame/drivers/xor100.cpp @@ -159,8 +159,8 @@ READ8_MEMBER( xor100_state::prom_disable_r ) WRITE8_MEMBER( xor100_state::baud_w ) { - m_dbrg->str_w(data & 0x0f); - m_dbrg->stt_w(data >> 4); + m_dbrg->write_str(data & 0x0f); + m_dbrg->write_stt(data >> 4); } READ8_MEMBER( xor100_state::fdc_r ) @@ -277,14 +277,14 @@ void xor100_state::xor100_io(address_map &map) map(0x02, 0x02).rw(m_uart_b, FUNC(i8251_device::data_r), FUNC(i8251_device::data_w)); map(0x03, 0x03).rw(m_uart_b, FUNC(i8251_device::status_r), FUNC(i8251_device::control_w)); map(0x04, 0x07).rw(I8255A_TAG, FUNC(i8255_device::read), FUNC(i8255_device::write)); - map(0x08, 0x08).w(this, FUNC(xor100_state::mmu_w)); - map(0x09, 0x09).w(this, FUNC(xor100_state::prom_toggle_w)); - map(0x0a, 0x0a).r(this, FUNC(xor100_state::prom_disable_r)); - map(0x0b, 0x0b).portr("DSW0").w(this, FUNC(xor100_state::baud_w)); + map(0x08, 0x08).w(FUNC(xor100_state::mmu_w)); + map(0x09, 0x09).w(FUNC(xor100_state::prom_toggle_w)); + map(0x0a, 0x0a).r(FUNC(xor100_state::prom_disable_r)); + map(0x0b, 0x0b).portr("DSW0").w(FUNC(xor100_state::baud_w)); map(0x0c, 0x0f).rw(m_ctc, FUNC(z80ctc_device::read), FUNC(z80ctc_device::write)); - map(0xf8, 0xfb).rw(this, FUNC(xor100_state::fdc_r), FUNC(xor100_state::fdc_w)); - map(0xfc, 0xfc).rw(this, FUNC(xor100_state::fdc_wait_r), FUNC(xor100_state::fdc_dcont_w)); - map(0xfd, 0xfd).w(this, FUNC(xor100_state::fdc_dsel_w)); + map(0xf8, 0xfb).rw(FUNC(xor100_state::fdc_r), FUNC(xor100_state::fdc_w)); + map(0xfc, 0xfc).rw(FUNC(xor100_state::fdc_wait_r), FUNC(xor100_state::fdc_dcont_w)); + map(0xfd, 0xfd).w(FUNC(xor100_state::fdc_dsel_w)); } /* Input Ports */ @@ -541,7 +541,7 @@ MACHINE_CONFIG_START(xor100_state::xor100) MCFG_DEVCB_CHAIN_OUTPUT(WRITELINE(I8251_B_TAG, i8251_device, write_rxc)) MCFG_DEVICE_ADD(I8255A_TAG, I8255A, 0) - MCFG_I8255_OUT_PORTA_CB(WRITE8("cent_data_out", output_latch_device, write)) + MCFG_I8255_OUT_PORTA_CB(WRITE8("cent_data_out", output_latch_device, bus_w)) MCFG_I8255_OUT_PORTB_CB(WRITELINE(CENTRONICS_TAG, centronics_device, write_strobe)) MCFG_I8255_IN_PORTC_CB(READ8(*this, xor100_state, i8255_pc_r)) |