mirror of
https://github.com/holub/mame
synced 2025-07-06 10:29:38 +03:00
at: use set_inputline again
genpc: remove
This commit is contained in:
parent
dcb31f0df5
commit
08b07fc1e2
@ -134,7 +134,7 @@ void at_mb_device::device_add_mconfig(machine_config &config)
|
||||
m_isabus->drq6_callback().set(m_dma8237_2, FUNC(am9517a_device::dreq2_w));
|
||||
m_isabus->drq7_callback().set(m_dma8237_2, FUNC(am9517a_device::dreq3_w));
|
||||
m_isabus->iochck_callback().set(FUNC(at_mb_device::iochck_w));
|
||||
m_isabus->iochrdy_callback().set(FUNC(at_mb_device::iochrdy_w));
|
||||
m_isabus->iochrdy_callback().set_inputline(m_maincpu, INPUT_LINE_HALT);
|
||||
|
||||
MC146818(config, m_mc146818, 32.768_kHz_XTAL);
|
||||
m_mc146818->irq().set(m_pic8259_slave, FUNC(pic8259_device::ir0_w));
|
||||
|
@ -99,7 +99,6 @@ private:
|
||||
void dma_write_byte(offs_t offset, uint8_t data);
|
||||
uint8_t dma_read_word(offs_t offset);
|
||||
void dma_write_word(offs_t offset, uint8_t data);
|
||||
void iochrdy_w(int state) { m_maincpu->set_input_line(INPUT_LINE_HALT, state); };
|
||||
};
|
||||
|
||||
DECLARE_DEVICE_TYPE(AT_MB, at_mb_device)
|
||||
|
@ -468,7 +468,6 @@ void ibm5160_mb_device::device_add_mconfig(machine_config &config)
|
||||
m_isabus->drq2_callback().set(m_dma8237, FUNC(am9517a_device::dreq2_w));
|
||||
m_isabus->drq3_callback().set(m_dma8237, FUNC(am9517a_device::dreq3_w));
|
||||
m_isabus->iochck_callback().set(FUNC(ibm5160_mb_device::iochck_w));
|
||||
m_isabus->iochrdy_callback().set(FUNC(ibm5160_mb_device::iochrdy_w));
|
||||
|
||||
/* sound hardware */
|
||||
SPEAKER(config, "mono").front_center();
|
||||
|
@ -129,7 +129,6 @@ protected:
|
||||
void iochck_w(int state);
|
||||
|
||||
void pc_select_dma_channel(int channel, bool state);
|
||||
void iochrdy_w(int state) { m_maincpu->set_input_line(INPUT_LINE_HALT, state); };
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user