mirror of
https://github.com/holub/mame
synced 2025-07-05 01:48:29 +03:00
ata/xm3301: clarify set_model detection [Grull Osgo]
This commit is contained in:
parent
3936865455
commit
f451566d12
@ -1,8 +1,8 @@
|
|||||||
// license:BSD-3-Clause
|
// license:BSD-3-Clause
|
||||||
// copyright-holders: Angelo Salese
|
// copyright-holders: Angelo Salese, Grull Osgo
|
||||||
/**************************************************************************************************
|
/**************************************************************************************************
|
||||||
|
|
||||||
Toshiba TAISATAP.SYS support
|
Toshiba TAISATAP.SYS support / CD_BALLY.SYS (gammagic)
|
||||||
|
|
||||||
TODO:
|
TODO:
|
||||||
- XM-3301 on its own is a SCSI-2 drive, the ATAPI variants must be higher number(s)?
|
- 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()
|
|||||||
|
|
||||||
memset(m_identify_buffer, 0, sizeof(m_identify_buffer));
|
memset(m_identify_buffer, 0, sizeof(m_identify_buffer));
|
||||||
|
|
||||||
// "E:XM" and "1.0" is where Master Model and Revision are printed
|
// From a XM-5401 SCSI dump string $7f08
|
||||||
t10mmc::set_model("TOSHIBA CD-ROM DRVE:XM 1.0");
|
// [5401] will be printed as Master Model
|
||||||
|
// [3605] as Rev number
|
||||||
|
// Both TAISATAP.SYS and CD_BALLY.SYS tests against one of these strings:
|
||||||
|
// "TOSHIBA CD-ROM"
|
||||||
|
// "TOSHIBA CD-ROM XM-3301"
|
||||||
|
// "TOSHIBA CD-ROM DRIVE:XM"
|
||||||
|
// "TOSHIBA DVD" (CD_BALLY.SYS only)
|
||||||
|
t10mmc::set_model("TOSHIBA CD-ROM XM-5401TA3605");
|
||||||
|
|
||||||
|
// xx20 is the only confirmed part (wants IRQ for command $a0)
|
||||||
m_identify_buffer[0] = 0x8520;
|
m_identify_buffer[0] = 0x8520;
|
||||||
|
|
||||||
// TODO: everything below here is unconfirmed
|
// TODO: everything below here is unconfirmed
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// license:BSD-3-Clause
|
// license:BSD-3-Clause
|
||||||
// copyright-holders:Angelo Salese
|
// copyright-holders:Angelo Salese, Grull Osgo
|
||||||
|
|
||||||
#ifndef MAME_BUS_ATA_XM3301_H
|
#ifndef MAME_BUS_ATA_XM3301_H
|
||||||
#define MAME_BUS_ATA_XM3301_H
|
#define MAME_BUS_ATA_XM3301_H
|
||||||
|
Loading…
Reference in New Issue
Block a user