summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/apricotp.c
diff options
context:
space:
mode:
author Wilbert Pol <wilbert@jdg.info>2013-05-15 21:57:33 +0000
committer Wilbert Pol <wilbert@jdg.info>2013-05-15 21:57:33 +0000
commit6f7dd684beecab2b83fe7555f41676bc75f8bab3 (patch)
tree728398c9c22705c3cef2bf0e7a560a5c4c99d74e /src/mess/drivers/apricotp.c
parentfebb0e53f1a6fd9f43080e88ce7b871202a66d48 (diff)
pic8259.c: Switched to devcb2. (nw)
Diffstat (limited to 'src/mess/drivers/apricotp.c')
-rw-r--r--src/mess/drivers/apricotp.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/mess/drivers/apricotp.c b/src/mess/drivers/apricotp.c
index 24ba566c19e..cf531706608 100644
--- a/src/mess/drivers/apricotp.c
+++ b/src/mess/drivers/apricotp.c
@@ -434,14 +434,6 @@ static APRICOT_KEYBOARD_INTERFACE( kb_intf )
*/
-static const struct pic8259_interface pic_intf =
-{
- DEVCB_CPU_INPUT_LINE(I8086_TAG, INPUT_LINE_IRQ0),
- DEVCB_LINE_VCC,
- DEVCB_NULL
-};
-
-
//-------------------------------------------------
// pit8253_config pit_intf
//-------------------------------------------------
@@ -660,7 +652,7 @@ static MACHINE_CONFIG_START( fp, fp_state )
/* Devices */
MCFG_APRICOT_KEYBOARD_ADD(kb_intf)
MCFG_I8237_ADD(I8237_TAG, 250000, dmac_intf)
- MCFG_PIC8259_ADD(I8259A_TAG, pic_intf)
+ MCFG_PIC8259_ADD(I8259A_TAG, INPUTLINE(I8086_TAG, INPUT_LINE_IRQ0), VCC, NULL)
MCFG_PIT8253_ADD(I8253A5_TAG, pit_intf)
MCFG_Z80DART_ADD(Z80SIO0_TAG, 2500000, sio_intf)
MCFG_WD2797x_ADD(WD2797_TAG, 2000000)