Zitat von
fhub
Ok, I'll try it, but I'm not sure if I'll get this method working again after so many years ...
Yep, I got it working!
But your method with this m_onbutton_timer requires a bit too much code IMO, so I've just used a boolean variable 'arbinit', which I set to 'true' (only for the Sargon 2.5) in machine_reset(), and then I use the following code in input_r():
Code:
u8 arb_state::input_r()
{
u8 data = 0;
// PA0-PA7: multiplexed inputs
if (m_inp_mux < 8)
data = m_board->read_file(m_inp_mux);
else if (m_inp_mux < 9) {
data = m_inputs[m_inp_mux - 8]->read();
if (arbinit) {
data |= 0x80;
arbinit = false;
}
}
return ~data;
}
It seems to work correctly, since it's also only executed once after each reset.
BTW, is it normal, that the RESET button for the ARB and ARBV2 doesn't seem to do anything?