diff options
author | Brandon Munger <bmunger@gmail.com> | 2015-08-10 19:53:21 -0400 |
---|---|---|
committer | Brandon Munger <bmunger@gmail.com> | 2015-12-20 17:46:09 -0500 |
commit | f4b1a41d263030a37113b8c674f92b9adc0843a0 (patch) | |
tree | a2fb2159c91ca554b1f62075eb5e2de86fbb28f0 /src/mess/drivers/r9751.c | |
parent | d3785e805e63a5dc2f02831b3768214acf1a18cf (diff) |
R9751 PDC Floppy disk changes
Diffstat (limited to '')
-rw-r--r-- | src/mess/drivers/r9751.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mess/drivers/r9751.c b/src/mess/drivers/r9751.c index 399fedf15dc..e47cd12c9c7 100644 --- a/src/mess/drivers/r9751.c +++ b/src/mess/drivers/r9751.c @@ -19,6 +19,8 @@ * * Stephen Stair (sgstair) - for help with reverse engineering, * programming, and emulation * * Felipe Sanches (FSanches) - for help with MESS and emulation +* * Michael Zapf (mizapf) - for building the HDC9234/HDC9224 + driver that makes this driver possible * * Memory map: * * 0x00000000 - 0x00ffffff : RAM? 16MB, up to 128MB? @@ -31,6 +33,9 @@ #include "cpu/m68000/m68000.h" #include "machine/terminal.h" +#include "bus/scsi/scsi.h" +#include "machine/wd33c93.h" + #include "machine/pdc.h" #define TERMINAL_TAG "terminal" @@ -42,6 +47,7 @@ public: : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_pdc(*this, "pdc"), + m_wd33c93(*this, "wd33c93"), m_terminal(*this, TERMINAL_TAG), m_main_ram(*this, "main_ram") { @@ -66,6 +72,7 @@ public: private: required_device<cpu_device> m_maincpu; required_device<pdc_device> m_pdc; + required_device<wd33c93_device> m_wd33c93; required_device<generic_terminal_device> m_terminal; required_shared_ptr<UINT32> m_main_ram; @@ -360,6 +367,11 @@ static MACHINE_CONFIG_START( r9751, r9751_state ) /* disk hardware */ MCFG_DEVICE_ADD("pdc", PDC, 0) + MCFG_DEVICE_ADD("scsi", SCSI_PORT, 0) + //MCFG_SCSIDEV_ADD("scsi:" SCSI_PORT_DEVICE1, "cdrom", SCSICD, SCSI_ID_1) + MCFG_DEVICE_ADD("wd33c93", WD33C93, 0) + MCFG_LEGACY_SCSI_PORT("scsi") + //MCFG_WD33C93_IRQ_CB(WRITELINE(r9751_state,scsi_irq)) MACHINE_CONFIG_END |