summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatarGravatar arbee <rb6502@users.noreply.github.com>2020-09-27 19:23:30 -0400
committerGravatarGravatar arbee <rb6502@users.noreply.github.com>2020-09-27 19:23:30 -0400
commitf6b3dcdb251037d2ff113507ee03395a2b298bdc (patch)
tree9be692cec3c50331f617373f27bf4fa03f47901a
parentb89c07596fa5d2b9fea61af14f5c8eb87541a4c4 (diff)
mac: fix crash regression on macqd700 [R. Belmont]
-rw-r--r--src/mame/drivers/mac.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mame/drivers/mac.cpp b/src/mame/drivers/mac.cpp
index 899700e00e7..af3922aedac 100644
--- a/src/mame/drivers/mac.cpp
+++ b/src/mame/drivers/mac.cpp
@@ -1568,6 +1568,11 @@ void mac_state::macqd700(machine_config &config)
add_via2(config);
+ MACADB(config, m_macadb, C15M);
+ m_macadb->via_clock_callback().set(m_via1, FUNC(via6522_device::write_cb1));
+ m_macadb->via_data_callback().set(m_via1, FUNC(via6522_device::write_cb2));
+ m_macadb->adb_irq_callback().set(FUNC(mac_state::adb_irq_w));
+
scsi_port_device &scsibus(SCSI_PORT(config, "scsi"));
scsibus.set_slot_device(1, "harddisk", SCSIHD, DEVICE_INPUT_DEFAULTS_NAME(SCSI_ID_6));
scsibus.set_slot_device(2, "harddisk", SCSIHD, DEVICE_INPUT_DEFAULTS_NAME(SCSI_ID_5));