abc806: Fix UFD-DOS boot RTC readout. [Curt Coder]

e0516: Expect command bits after reset. [Curt Coder]
This commit is contained in:
Curt Coder 2023-03-25 15:43:03 +02:00
parent de8a6077e7
commit 9225dd2d19
2 changed files with 3 additions and 2 deletions

View File

@ -55,7 +55,7 @@ e0516_device::e0516_device(const machine_config &mconfig, const char *tag, devic
m_data_latch(0),
m_reg_latch(0),
m_state(STATE_ADDRESS),
m_bits_left(0),
m_bits_left(4),
m_dio(0),
m_reset(1),
m_timer(nullptr)

View File

@ -2213,7 +2213,8 @@ void abc806_state::abc806(machine_config &config)
// peripheral hardware
m_dart->out_dtrb_callback().set(FUNC(abc800_state::keydtr_w));
E0516(config, E0516_TAG, ABC806_X02);
E0516(config, m_rtc, ABC806_X02);
m_rtc->outsel_rd_cb().set_constant(1);
abc_keyboard_port_device &kb(ABC_KEYBOARD_PORT(config, ABC_KEYBOARD_PORT_TAG, abc_keyboard_devices, "abc77"));
kb.out_rx_handler().set(m_dart, FUNC(z80dart_device::rxb_w));