diff options
author | Kars de Jong <jongk@linux-m68k.org> | 2019-12-13 21:02:25 +0100 |
---|---|---|
committer | R. Belmont <rb6502@users.noreply.github.com> | 2019-12-13 15:02:25 -0500 |
commit | d40229307988e3f7663a07f9bf050ad51160474a (patch) | |
tree | 363a0514478402e5f41a3795d14f205f3e77f602 | |
parent | 96b40d998a31b2345e7cf297c7888e3358eb855d (diff) |
HP98265A SCSI interface fixes (#6048)
* hp98265a.cpp: Rename confusing default cdrom scsi connection
The default cdrom connection is linked to scsibus:5, which now matches its name (scsicon5).
* hp98265a.cpp: Fix SPC memory mapping for select codes other than 14
The memory mapping of the SPC was fixed at select code 14.
-rw-r--r-- | src/devices/bus/hp_dio/hp98265a.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/hp_dio/hp98265a.cpp b/src/devices/bus/hp_dio/hp98265a.cpp index 436fbc1c910..a2cd9a04e1a 100644 --- a/src/devices/bus/hp_dio/hp98265a.cpp +++ b/src/devices/bus/hp_dio/hp98265a.cpp @@ -42,9 +42,9 @@ void dio16_98265a_device::device_add_mconfig(machine_config &config) default_scsi_devices(NSCSI_CONNECTOR(config, "scsibus:3", 0)); default_scsi_devices(NSCSI_CONNECTOR(config, "scsibus:4", 0)); - nscsi_connector &scsicon6(NSCSI_CONNECTOR(config, "scsibus:5", 0)); - default_scsi_devices(scsicon6); - scsicon6.set_default_option("cdrom"); + nscsi_connector &scsicon5(NSCSI_CONNECTOR(config, "scsibus:5", 0)); + default_scsi_devices(scsicon5); + scsicon5.set_default_option("cdrom"); default_scsi_devices(NSCSI_CONNECTOR(config, "scsibus:6", 0)); nscsi_connector &scsicon7(NSCSI_CONNECTOR(config, "scsibus:7", 0)); @@ -166,7 +166,7 @@ void dio16_98265a_device::device_reset() 0x6007ff + (code * 0x10000), read16_delegate(*this, FUNC(dio16_98265a_device::io_r)), write16_delegate(*this, FUNC(dio16_98265a_device::io_w))); - program_space().install_device(0x6e0020, 0x6e003f, *m_spc, &mb87030_device::map, 0x00ff00ff); + program_space().install_device(0x600020 + (code * 0x10000), 0x60003f + (code * 0x10000), *m_spc, &mb87030_device::map, 0x00ff00ff); m_installed_io = true; } m_control = 0; |