summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/qx10.c
diff options
context:
space:
mode:
author Dirk Best <mail@dirk-best.de>2013-06-13 15:43:56 +0000
committer Dirk Best <mail@dirk-best.de>2013-06-13 15:43:56 +0000
commitff3a7687864710f970e9b11a9f21a0ac68b05543 (patch)
tree47dfca79ab29f5e4bbd2b7fff94338e693f9dcba /src/mess/drivers/qx10.c
parent5c509024c270470233990a4c20f2efbae2093c28 (diff)
PC driver cleanup:
- Much improved CS4031 emulation, added DMA, interrupt controller, timer, RTC directly to the device as sub devices and added the generic functions needed for AT compatibility - Moved the ct486 driver to its own file, to avoid all the legacy stuff in at.c - Added support for the IOCHCK signal to the ISA bus, this is used instead of directly issuing an NMI to the main CPU - Moved ISA device slot definitions to its own file to avoid copy & pasting the same list to different drivers - Updated MC146818 RTC for devcb2
Diffstat (limited to 'src/mess/drivers/qx10.c')
-rw-r--r--src/mess/drivers/qx10.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mess/drivers/qx10.c b/src/mess/drivers/qx10.c
index b8172882f9e..047d4d7925a 100644
--- a/src/mess/drivers/qx10.c
+++ b/src/mess/drivers/qx10.c
@@ -445,11 +445,6 @@ static I8255_INTERFACE(qx10_i8255_interface)
MC146818
*/
-const struct mc146818_interface qx10_mc146818_config =
-{
- DEVCB_DEVICE_LINE_MEMBER("pic8259_slave", pic8259_device, ir2_w)
-};
-
WRITE8_MEMBER(qx10_state::mc146818_w)
{
m_rtc->write(space, !offset, data);
@@ -888,7 +883,7 @@ static MACHINE_CONFIG_START( qx10, qx10_state )
MCFG_I8237_ADD("8237dma_1", MAIN_CLK/4, qx10_dma8237_1_interface)
MCFG_I8237_ADD("8237dma_2", MAIN_CLK/4, qx10_dma8237_2_interface)
MCFG_UPD7220_ADD("upd7220", MAIN_CLK/6, hgdc_intf, upd7220_map) // unk clock
- MCFG_MC146818_IRQ_ADD( "rtc", MC146818_STANDARD, qx10_mc146818_config )
+ MCFG_MC146818_IRQ_ADD( "rtc", MC146818_STANDARD, DEVWRITELINE("pic8259_slave", pic8259_device, ir2_w))
MCFG_UPD765A_ADD("upd765", true, true)
MCFG_FLOPPY_DRIVE_ADD("upd765:0", qx10_floppies, "525dd", floppy_image_device::default_floppy_formats)
MCFG_FLOPPY_DRIVE_ADD("upd765:1", qx10_floppies, "525dd", floppy_image_device::default_floppy_formats)