Skip to content

Commit f451566

Browse files
committed
ata/xm3301: clarify set_model detection [Grull Osgo]
1 parent 3936865 commit f451566

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

src/devices/bus/ata/xm3301.cpp

+13-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// license:BSD-3-Clause
2-
// copyright-holders: Angelo Salese
2+
// copyright-holders: Angelo Salese, Grull Osgo
33
/**************************************************************************************************
44
5-
Toshiba TAISATAP.SYS support
5+
Toshiba TAISATAP.SYS support / CD_BALLY.SYS (gammagic)
66
77
TODO:
88
- XM-3301 on its own is a SCSI-2 drive, the ATAPI variants must be higher number(s)?
@@ -25,9 +25,17 @@ void toshiba_xm3301_device::device_start()
2525

2626
memset(m_identify_buffer, 0, sizeof(m_identify_buffer));
2727

28-
// "E:XM" and "1.0" is where Master Model and Revision are printed
29-
t10mmc::set_model("TOSHIBA CD-ROM DRVE:XM 1.0");
30-
28+
// From a XM-5401 SCSI dump string $7f08
29+
// [5401] will be printed as Master Model
30+
// [3605] as Rev number
31+
// Both TAISATAP.SYS and CD_BALLY.SYS tests against one of these strings:
32+
// "TOSHIBA CD-ROM"
33+
// "TOSHIBA CD-ROM XM-3301"
34+
// "TOSHIBA CD-ROM DRIVE:XM"
35+
// "TOSHIBA DVD" (CD_BALLY.SYS only)
36+
t10mmc::set_model("TOSHIBA CD-ROM XM-5401TA3605");
37+
38+
// xx20 is the only confirmed part (wants IRQ for command $a0)
3139
m_identify_buffer[0] = 0x8520;
3240

3341
// TODO: everything below here is unconfirmed

src/devices/bus/ata/xm3301.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// license:BSD-3-Clause
2-
// copyright-holders:Angelo Salese
2+
// copyright-holders:Angelo Salese, Grull Osgo
33

44
#ifndef MAME_BUS_ATA_XM3301_H
55
#define MAME_BUS_ATA_XM3301_H

0 commit comments

Comments
 (0)