mirror of
https://github.com/holub/mame
synced 2025-04-19 15:11:37 +03:00
hdd first
This commit is contained in:
parent
5edfc78914
commit
9397924222
@ -1631,8 +1631,8 @@ void sprinter_state::video_start()
|
||||
static void sprinter_ata_devices(device_slot_interface &device)
|
||||
{
|
||||
device.option_add("hdd", IDE_HARDDISK);
|
||||
device.option_add("cdrom", ATAPI_FIXED_CDROM); // TODO must be ATAPI_CDROM
|
||||
device.option_add("dvdrom", ATAPI_FIXED_DVDROM);
|
||||
device.option_add("cdrom", ATAPI_CDROM);
|
||||
device.option_add("dvdrom", ATAPI_DVDROM);
|
||||
}
|
||||
|
||||
u8 sprinter_state::kbd_fe_r(offs_t offset)
|
||||
@ -1941,6 +1941,12 @@ void sprinter_state::sprinter(machine_config &config)
|
||||
m_maincpu->set_irq_acknowledge_callback(NAME([](device_t &, int){ return 0xff; }));
|
||||
m_maincpu->irqack_cb().set(FUNC(sprinter_state::irq_off));
|
||||
|
||||
DS12885(config, m_rtc, XTAL(32'768)); // should be DS12887A
|
||||
ATA_INTERFACE(config, m_ata[0]).options(sprinter_ata_devices, "hdd", "hdd", false);
|
||||
ATA_INTERFACE(config, m_ata[1]).options(sprinter_ata_devices, "hdd", "hdd", false);
|
||||
|
||||
BETA_DISK(config, m_beta, 0);
|
||||
|
||||
ISA8(config, m_isa[0], X_SP / 5);
|
||||
m_isa[0]->set_custom_spaces();
|
||||
ISA8_SLOT(config, "isa0", 0, m_isa[0], pc_isa8_cards, "zxbus_adapter", false);
|
||||
@ -1977,12 +1983,6 @@ void sprinter_state::sprinter(machine_config &config)
|
||||
m_maincpu->zc_callback<0>().append(m_maincpu, FUNC(z84c015_device::txcb_w));
|
||||
m_maincpu->zc_callback<2>().set(m_maincpu, FUNC(z84c015_device::trg3));
|
||||
|
||||
DS12885(config, m_rtc, XTAL(32'768)); // should be DS12887A
|
||||
ATA_INTERFACE(config, m_ata[0]).options(sprinter_ata_devices, "hdd", "hdd", false);
|
||||
ATA_INTERFACE(config, m_ata[1]).options(sprinter_ata_devices, "hdd", "hdd", false);
|
||||
|
||||
BETA_DISK(config, m_beta, 0);
|
||||
|
||||
SPEAKER(config, "lspeaker").front_left();
|
||||
SPEAKER(config, "rspeaker").front_right();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user