summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/genpc.c
diff options
context:
space:
mode:
author Wilbert Pol <wilbert@jdg.info>2013-05-14 20:48:27 +0000
committer Wilbert Pol <wilbert@jdg.info>2013-05-14 20:48:27 +0000
commit34be6878ec112891732038e4ecdc0b8c251bdba6 (patch)
tree5128175d86b67f9e700056a99d175e92d06775d5 /src/mess/machine/genpc.c
parent7a03b5c0c6efc55c2871829fe85e9988b823f78b (diff)
pic8259.c: Continue modernization. (nw)
Diffstat (limited to 'src/mess/machine/genpc.c')
-rw-r--r--src/mess/machine/genpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/machine/genpc.c b/src/mess/machine/genpc.c
index c394ba1008a..529e6545ffe 100644
--- a/src/mess/machine/genpc.c
+++ b/src/mess/machine/genpc.c
@@ -323,7 +323,7 @@ WRITE_LINE_MEMBER( ibm5160_mb_device::keyboard_clock_w )
m_ppi_shift_register = ( m_ppi_shift_register >> 1 ) | ( m_ppi_data_signal << 7 );
if ( trigger_irq )
{
- pic8259_ir1_w(m_pic8259, 1);
+ m_pic8259->ir1_w(1);
m_ppi_shift_enable = 0;
m_ppi_clock_signal = 0;
m_pc_kbdc->clock_write_from_mb(m_ppi_clock_signal);
@@ -628,7 +628,7 @@ void ibm5160_mb_device::install_device(offs_t start, offs_t end, offs_t mask, of
void ibm5160_mb_device::device_start()
{
install_device(0x0000, 0x000f, 0, 0, read8_delegate(FUNC(am9517a_device::read), (am9517a_device*)m_dma8237), write8_delegate(FUNC(am9517a_device::write), (am9517a_device*)m_dma8237) );
- install_device(m_pic8259, 0x0020, 0x0021, 0, 0, FUNC(pic8259_r), FUNC(pic8259_w) );
+ install_device(0x0020, 0x0021, 0, 0, read8_delegate(FUNC(pic8259_device::read), (pic8259_device*)m_pic8259), write8_delegate(FUNC(pic8259_device::write), (pic8259_device*)m_pic8259) );
install_device(m_pit8253, 0x0040, 0x0043, 0, 0, FUNC(pit8253_r), FUNC(pit8253_w) );
// install_device(m_ppi8255, 0x0060, 0x0063, 0, 0, FUNC(i8255a_r), FUNC(i8255a_w) );