aa310.cpp: Fixed econet functions and unused variable.

This commit is contained in:
Nigel Barnes 2021-11-14 19:06:43 +00:00
parent e6d5145c33
commit 1f0b52ab38
2 changed files with 3 additions and 3 deletions

View file

@ -26,7 +26,7 @@ DEFINE_DEVICE_TYPE(ARC_ECONET, arc_econet_device, "arc_econet", "Acorn ADF10/AEH
void arc_econet_device::device_add_mconfig(machine_config &config)
{
MC6854(config, m_adlc);
m_adlc->out_txd_cb().set("econet", FUNC(econet_device::data_w));
m_adlc->out_txd_cb().set("econet", FUNC(econet_device::host_data_w));
m_adlc->out_irq_cb().set(DEVICE_SELF_OWNER, FUNC(archimedes_econet_slot_device::efiq_w));
econet_device &econet(ECONET(config, "econet", 0));

View file

@ -405,7 +405,7 @@ void aabase_state::init_flop()
void aabase_state::init_hd()
{
u8 *cmos = memregion("i2cmem")->base();
//u8 *cmos = memregion("i2cmem")->base();
//cmos[0x0b] = 0x04; // *Configure Drive 4
//cmos[0xc7] = 0x09; // *Configure HardDiscs 1
@ -1114,7 +1114,7 @@ void aa500_state::aa500(machine_config &config)
m_centronics->set_output_latch(*m_cent_data_out);
MC6854(config, m_adlc);
m_adlc->out_txd_cb().set("network", FUNC(econet_device::data_w));
m_adlc->out_txd_cb().set("network", FUNC(econet_device::host_data_w));
m_adlc->out_irq_cb().set(m_ioc, FUNC(acorn_ioc_device::fl_w));
//m_adlc->out_rts_cb().