abc80x: Set hard disk interface to allow softlist loading to slot in the hard disk controller. [Curt Coder]

This commit is contained in:
Curt Coder 2023-03-24 16:02:51 +02:00
parent b698a2af85
commit 753a80ea19
4 changed files with 9 additions and 3 deletions

View file

@ -9,6 +9,7 @@ license:CC0-1.0
<description>ABC 850</description> <description>ABC 850</description>
<year>1983</year> <year>1983</year>
<publisher>Luxor</publisher> <publisher>Luxor</publisher>
<sharedfeat name="bus_default" value="abc850" />
<!-- Rodime RO202 --> <!-- Rodime RO202 -->
<part name="hdd" interface="scsi_hdd"> <part name="hdd" interface="scsi_hdd">
@ -22,6 +23,7 @@ license:CC0-1.0
<description>ABC 852</description> <description>ABC 852</description>
<year>1986</year> <year>1986</year>
<publisher>Luxor</publisher> <publisher>Luxor</publisher>
<sharedfeat name="bus_default" value="abc852" />
<!-- BASF 6185 --> <!-- BASF 6185 -->
<part name="hdd" interface="scsi_hdd"> <part name="hdd" interface="scsi_hdd">
@ -35,6 +37,7 @@ license:CC0-1.0
<description>ABC 856</description> <description>ABC 856</description>
<year>1986</year> <year>1986</year>
<publisher>Luxor</publisher> <publisher>Luxor</publisher>
<sharedfeat name="bus_default" value="abc856" />
<!-- Micropolis 1325 --> <!-- Micropolis 1325 -->
<part name="hdd" interface="scsi_hdd"> <part name="hdd" interface="scsi_hdd">

View file

@ -173,7 +173,7 @@ void s1410_device::device_add_mconfig(machine_config &config)
z8400a.set_addrmap(AS_IO, &s1410_device::s1410_io); z8400a.set_addrmap(AS_IO, &s1410_device::s1410_io);
z8400a.set_disable(); z8400a.set_disable();
HARDDISK(config, "image"); HARDDISK(config, "image").set_interface("scsi_hdd");
} }

View file

@ -2067,6 +2067,7 @@ void abc800_state::common(machine_config &config)
CASSETTE(config, m_cassette); CASSETTE(config, m_cassette);
m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED); m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED);
m_cassette->set_interface("abc800_cass");
m_cassette->add_route(ALL_OUTPUTS, "mono", 0.05); m_cassette->add_route(ALL_OUTPUTS, "mono", 0.05);
TIMER(config, TIMER_CASSETTE_TAG).configure_periodic(FUNC(abc800_state::cassette_input_tick), attotime::from_hz(44100)); TIMER(config, TIMER_CASSETTE_TAG).configure_periodic(FUNC(abc800_state::cassette_input_tick), attotime::from_hz(44100));
@ -2087,7 +2088,8 @@ void abc800_state::common(machine_config &config)
SOFTWARE_LIST(config, "hdd_list").set_original("abc800_hdd"); SOFTWARE_LIST(config, "hdd_list").set_original("abc800_hdd");
// quickload // quickload
QUICKLOAD(config, "quickload", "bac", attotime::from_seconds(2)).set_load_callback(FUNC(abc800_state::quickload_cb)); QUICKLOAD(config, m_quickload, "bac", attotime::from_seconds(2)).set_load_callback(FUNC(abc800_state::quickload_cb));
m_quickload->set_interface("abc800_quik");
} }
@ -2114,7 +2116,6 @@ void abc800c_state::abc800c(machine_config &config)
kb.out_trxc_handler().set(m_dart, FUNC(z80dart_device::rxtxcb_w)); kb.out_trxc_handler().set(m_dart, FUNC(z80dart_device::rxtxcb_w));
kb.out_keydown_handler().set(m_dart, FUNC(z80dart_device::dcdb_w)); kb.out_keydown_handler().set(m_dart, FUNC(z80dart_device::dcdb_w));
subdevice<abcbus_slot_device>(ABCBUS_TAG)->set_default_option("abc830"); subdevice<abcbus_slot_device>(ABCBUS_TAG)->set_default_option("abc830");
// internal ram // internal ram

View file

@ -85,6 +85,7 @@ public:
m_sio(*this, Z80SIO_TAG), m_sio(*this, Z80SIO_TAG),
m_discrete(*this, DISCRETE_TAG), m_discrete(*this, DISCRETE_TAG),
m_cassette(*this, CASSETTE_TAG), m_cassette(*this, CASSETTE_TAG),
m_quickload(*this, "quickload"),
m_ram(*this, RAM_TAG), m_ram(*this, RAM_TAG),
m_rom(*this, Z80_TAG), m_rom(*this, Z80_TAG),
m_video_ram(*this, "video_ram", 0x4000, ENDIANNESS_LITTLE), m_video_ram(*this, "video_ram", 0x4000, ENDIANNESS_LITTLE),
@ -105,6 +106,7 @@ public:
required_device<z80sio_device> m_sio; required_device<z80sio_device> m_sio;
optional_device<discrete_sound_device> m_discrete; optional_device<discrete_sound_device> m_discrete;
optional_device<cassette_image_device> m_cassette; optional_device<cassette_image_device> m_cassette;
required_device<snapshot_image_device> m_quickload;
required_device<ram_device> m_ram; required_device<ram_device> m_ram;
required_memory_region m_rom; required_memory_region m_rom;
memory_share_creator<uint8_t> m_video_ram; memory_share_creator<uint8_t> m_video_ram;