Path: cdrom.com!barrnet.net!gatekeeper.us.oracle.com!decwrl!portal.com!zerucha
From: zerucha@shell.portal.com (Thomas E Zerucha)
Newsgroups: alt.cd-rom
Subject: Re: CD-DA, CDRs and the FAQ
Date: 13 May 1994 01:28:26 GMT
Organization: Portal Communications Company -- 408/973-9111 (voice) 408/973-8091 (data)
Lines: 72
Distribution: usa
Message-ID: <2qul3q$1bd@news1.svc.portal.com>
References: <2qc9qkINN5cc@dns1.nmsu.edu> <2qu6lg$nkd@cville-srv.wam.umd.edu>
NNTP-Posting-Host: jobe.shell.portal.com

Actually, DA does work, and I am looking for Beta-testers for my PC/ASPI
version of a DA transcriber.  Email me if you want a uuencoded copy.  If
they use the same commands, it should work on the 84.  I have tested it on
the 3Xp and 3Xi, but want more samples and tests before I let it loose
for FTPing.

And you can add this to the FAQ (no promise of accuracy or completeness):

STANDARD SCSI2 COMMANDS IMPLEMENTED IN THE NEC 3Xp

TEST UNIT READY        0x00		READ CD-ROM CAPACITY   0x25
REZERO UNIT	       0x01		READ(10)	       0x28
REQUEST SENSE	       0x03		SEEK(10)	       0x2B
READ(6) 	       0x08
SEEK(6) 	       0x0B		READ SUB-CHANNEL       0x42
					READ TOC	       0x43
INQUIRY 	       0x12		READ HEADER	       0x44
MODE SELECT(6)	       0x15		PLAY AUDIO(10)	       0x45
RESERVE 	       0x16		PLAY AUDIO MSF	       0x47
RELEASE 	       0x17		PLAY AUDIO TRACK/INDEX 0x48
MODE SENSE(6)	       0x1A		PAUSE/RESUME	       0x4B
START STOP UNIT        0x1B
SEND DIAGNOSTIC        0x1D

NEC VENDOR SPECIFIC SCSI2 COMMANDS FOR THE 3Xp

		       cmnd LUN 				    ctrl
			    byte1  2	3    4	  5    6    7	 8    9
request sense?(6)      0x0D  =0   =0   =0   =0	 =0
mode select(10)        0xC5  =0   =0   =0   =0	 =0   =0   =0  PLL   =0
mode sense(10)	       0xCA  =0   =0   =0   =0	 =0   =0   =0  PLL   =0
			     Above 2 appear to be same as SCSI2 commands 55/5A

seek(10)da	       0xD0 [02] [---L----B----A---]  =0   =0	=0  [c0]
			     Seek, but set sector size to 2352
read audio(10)	       0xD4 [07] [---L----B----A---]  =0  [XFR-LEN]  =0
			     Play audio, but over SCSI
read audio msf	       0xD5 [06]  =0  SMIN SSEC SFRM EMIN ESEC EFRM  =0
			     All in BCD
read audio track/index 0xD6 [06]  =0   =0  STRK [=1]  =0  ETRK	=0   =0
			     May be in BCD?  Start index must be 1
request sense ?        0xD7 [02]  =0   =0   =0	 =0   =0    ?	 ?  [c0]
			     Only valid during play,
start audio	       0xD8 [0f] [---L----B----A---]  =0   =0	=0  [c0]
			     ^^ - 0:seek 1:play 9:play w/ busy until stop
			     play starts at LBA if byte 1 has bit 1 set
set stop audio	       0xD9 [0f] [---L----B----A---]  =0   =0	=0  [c0]
			     play stops at given LBA
test unit ready        0xDA  =0   =0   =0   =0	 =0   =0   =0	=0   =0
			     stops audio
control?test?	       0xDB [1f] ????  =0   =0	 =0   =0   =0	=0   =0
			 max:19   59
rezero		       0xDC [01]  =0   =0   =0	 =0   =0   =0	=0   =0
set?		       0xDD [1f]  =0   =0   =0	 =0   =0   =0	=0   =0
test unit ready?       0xDE [03] ????  =0   =0	 =0   =0   =0	=0   =0
read audio(10)	       0xDF [01] [---L----B----A---]  =0  [XFR-LEN] [c0]
			     similar to 0xd4

Byte 1 LUN [mask 0xE0], should be zero, value represents mask of valid bits.

last byte (6 or 10), mask 0x03 contains SCSI CONTROL

=0 means must be zero (except for LUN and SCSI CONTROL fields)

read audio corresponds to play audio, but goes over SCSI at 3x.   It is
like the Sony in that it requires the computer to go fast enough to swallow
the data without reseeking, and does not start at the exact point, but within
a few samples.  Any DA command sets sector length to 2352.

---
zerucha@shell.portal.com - main email address

