========================== Welcome to CdRomInfo !! ========================== Copyright © 1996 by Frédéric REQUIN 30, rue Riquet, Apt 10, Etg 2 31000 Toulouse, FRANCE This program is freely distributable giftware. Send me a gift if you like it. This program gives you all the informations concerning your ATAPI/SCSI-2 CD-ROM drive. It's the first release so, it has no GUI. It requires AmigaOS 2.04 (or higher). It was tested successfully with an AT-Apollo board and an ATAPI drive (Stingray 8422 8x) on an A2000. The syntax is very simple: CdRomInfo : --------- Specify the driver software (device) for the harddisk. You're not limited to SCSI. IDE and other controllers will work as well if they support SCSI-Direct commands. : ------- Specify the unit number of the CD-ROM drive you want to access. The informations returned by CdRomInfo are composed of 6 parts: ********** The device identification: It gives you the ISO,ECMA,ANSI & ATAPI versions supported by the drive, the name and the brand of your drive. ********** The medium status: It tells you if a CD is present. It gives you its size, its type and what sort of tracks it has got. ********** The error recovery page: It tells you how the drive corrects and handles errors. - Transfer faulty block: "Yes" indicates that a data block that is not correct SHALL be transferred to the host computer. - Read continuous: "Yes" indicates that the CD-ROM drive SHALL transfer the data without adding delays to perform error recovery procedures. This implies that data may be erroneous in order to maintain a continuous flow of data. - Report recovered errors: "Yes" indicates that the CD-ROM drive SHALL report recovered errors. - Disable transfer on error: "Yes" indicates that the CD-ROM drive SHALL terminate the data transfer upon detection of a recovered error. - Disable layered correction: "Yes" indicates that error correction codes SHALL NOT be used for data error recovery. - Read retry count: Number of retries. NOTE: CD-ROMs have two levels of error correction code: - The CIRC (Cross Interleaved Reed-Solomon Code) is the error detection and correction technique used in Audio & Data blocks. The CIRC is present in all CD-ROM modes. This algorithm is implemented in hardware in the drives. - The L-EC (Layered Error Correction) is the error correction technique used with CD-ROM mode 1. On each sector, 276 bytes of the auxiliary data field contain L-EC information. ********** The CD-ROM device page: It gives you parameters that affect ALL CD-ROM data types. - Hold track time: it specifies the length of time that the drive must remain in the hold track state after completion of a seek or read operation. - Number of S units per M unit : in fact, the number of seconds in a minute... Always 60. This field SHALL NOT be different, for media conforming to the CD-ROM and CD-DA specification. - Number of F units per S unit : the number of frames in a second. Always 75. NOTE: In CD-DA specification, a second of music is divided into 75 frames of 2352 bytes (75*2352 = 176400 : two 16-bit channels at 44.1 kHz). In CD-ROM specification, a frame is called a sector and up to 304 bytes can be used for error correction, synchronization or header. For example, in Mode 1 & Mode 2 Form 1, only 2048 bytes are available. ********** The audio control page: It gives you the playback modes and output control for PLAY AUDIO commands - Immediate audio commands: "Yes" indicates that the AUDIO commands always send completion status as soon as the playback operation has been started. - Stop on track crossing: "Yes" indicates that the playback operation SHALL be stopped when the beginning of a following track is encountered. - Logical block per second: number of frames per second, default is 75. - Output port: the volume on each port is shown and which channel is connected to the port. Port 2 & 3 are optional. ********** The capabilities page: The most important page, it gives you the specific capabilites of the drive. First, the media capabilities: - Read of CD-R disc: "Yes" indicates that the drive SHALL support the read function of CD-R disc (Orange Book Part II). - Method 2: "Yes" indicates that the drive SHALL support the read function of CD-R media written using fixed packet tracks using Addressing Method 2. - CD-E disc: "Yes" indicates that the drive SHALL support the read function of CD-E disc (Orange Book Part III). - Write of CD-R disc: "Yes" indicates that the drive SHALL support the write function of CD-R disc (Orange Book Part II). - CD-E disc: "Yes" indicates that the drive SHALL support the write function of CD-E disc (Orange Book Part III). Then, the individual capabilities: - Audio play operation: "Yes" indicates that the drive is capable of Audio Play operations - Composite data stream: "Yes" indicates that the drive is capable of delivering a composite Audio & Video data stream. - Digital output on port 1: "Yes" indicates that the drive supports digital output (IEC958) on port 1. - Digital output on port 2: idem for port 2. - Mode 2 Form 1 format: "Yes" indicates that the drive is capable of reading sectors in Mode 2 Form 1 format. - Mode 2 Form 2 format: "Yes" indicates that the drive is capable of reading sectors in Mode 2 Form 2 format. - Multi-session discs: "Yes" indicates that the drive is capable of reading multi-session discs or Photo-CD discs. - CD-DA commands supported: "Yes" indicates that CD-DA tracks can be read using the READ-CD command. - CD-DA stream is accurate: "Yes" indicates that if a loss of streaming occurs during a READ-CD operation, the drive is capable of accurately restarting the operation without generating an error. - Sub-channel R-W supported: "Yes" indicates that the commands which return sub-channel data (READ-CD & READ SUB-CHANNEL) can return the R-W information. - Sub-channel R-W corrected: "Yes" indicates that R-W data will be returned error-corrected and de-interleaved. - C2 error pointers supported: "Yes" indicates that the READ-CD command can return the C2 error pointers and the C2 block error flags. - ISCR information supported: "Yes" indicates that the drive can return the International Standard Recording Code. - UPC information supported: "Yes" indicates that the drive can return the Media Catalog Number. - Media lock supported: "Yes" indicates that the PREVENT/ALLOW command is capable of locking the media into the drive. - Lock state: it indicates the current state of the drive. - Prevent jumper: it indicates the state of the (optional) prevent/allow jumper. "No" indicates that the jumper is present and the media is not locked at power up. - Eject in START/STOP command: "Yes" indicates that the drive can eject the disc via the START/STOP command. - Loading mechanism type: it indicates the type of disc loading the drive supports. - Separate volume levels: "Yes" indicates that the audio level for each channel can be controled independently. - Separate channel mute: "Yes" indicates that the mute capability for each channel can be controlled independently. - Embedded changer present: "Yes" indicates that the drive contains a disc changer. - Software slot selection: ??? (for disc changer only). - Maximum speed supported: the maximum data rate that the drive supports (in kilobytes per second). - Number of volume levels: the number of discrete levels. - Buffer size: the size of the drive cache in kilobytes. - Current speed selected: the actual data rate that the drive is currently using (in kilobytes per second). And finally, the digital output format (optional): It gives you the format of the data stream on the EBU port. History ------- 1.0 17 Oct 1996 : Initial release