diff options
Diffstat (limited to 'src/mame/drivers/trs80.cpp')
-rw-r--r-- | src/mame/drivers/trs80.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/mame/drivers/trs80.cpp b/src/mame/drivers/trs80.cpp index 1033e7668cb..588979ef179 100644 --- a/src/mame/drivers/trs80.cpp +++ b/src/mame/drivers/trs80.cpp @@ -437,9 +437,15 @@ void trs80_state::floppy_formats(format_registration &fr) fr.add(FLOPPY_JV1_FORMAT); } +// Most images are single-sided, 40 tracks or less. +// However, the default is QD to prevent MAME from +// crashing if a disk with more than 40 tracks is used. static void trs80_floppies(device_slot_interface &device) { - device.option_add("sssd", FLOPPY_525_QD); // QD allows the 80-track boot disks to work. + device.option_add("35t_sd", FLOPPY_525_SSSD_35T); + device.option_add("40t_sd", FLOPPY_525_SSSD); + device.option_add("40t_dd", FLOPPY_525_DD); + device.option_add("80t_qd", FLOPPY_525_QD); } @@ -486,8 +492,8 @@ void trs80_state::model1(machine_config &config) // model I, level II FD1771(config, m_fdc, 4_MHz_XTAL / 4); m_fdc->intrq_wr_callback().set(FUNC(trs80_state::intrq_w)); - FLOPPY_CONNECTOR(config, "fdc:0", trs80_floppies, "sssd", trs80_state::floppy_formats).enable_sound(true); - FLOPPY_CONNECTOR(config, "fdc:1", trs80_floppies, "sssd", trs80_state::floppy_formats).enable_sound(true); + FLOPPY_CONNECTOR(config, "fdc:0", trs80_floppies, "80t_qd", trs80_state::floppy_formats).enable_sound(true); + FLOPPY_CONNECTOR(config, "fdc:1", trs80_floppies, "80t_qd", trs80_state::floppy_formats).enable_sound(true); FLOPPY_CONNECTOR(config, "fdc:2", trs80_floppies, nullptr, trs80_state::floppy_formats).enable_sound(true); FLOPPY_CONNECTOR(config, "fdc:3", trs80_floppies, nullptr, trs80_state::floppy_formats).enable_sound(true); |