CHAPTER 13

CHAPTER 13 CHAPTER 13

scp.s.scptuj.mb.edus.si
from scp.s.scptuj.mb.edus.si More from this publisher
18.08.2013 Views

708 Chapter 13 Optical Storage Sector Modes and Forms Mode 1 is the standard Yellow Book CD sector format with ECC and EDC to enable error-free operation. Each Mode 1 sector is broken down as shown in Tables 13.9 and 13.10. Table 13.9 Yellow Book Mode 1 Sector Format Breakdown Yellow Book (CD-ROM) Sectors (Mode 1): -------------------------------------------------------------------- Q+P parity bytes 784 Subcode bytes 98 -------------------------------------------------------------------- Sync bytes 12 Header bytes 4 Data bytes 2,048 EDC bytes 4 Blank (0) bytes 8 ECC bytes 276 -------------------------------------------------------------------- Bytes/sector RAW (unencoded) 3,234 Table 13.10 Yellow Book (CD-ROM) Mode 1 Sector Format Sync Header User Data EDC Blank ECC 12 4 2,048 4 8 276 Mode 2 was defined as a sector without any ECC or EDC in the original Yellow Book. Unfortunately, Mode 1 (which had ECC and EDC) couldn’t be mixed with Mode 2 sectors on the same track (program or song). To enable data with and without error detection and correction in a single track, new sector format subsets for Mode 2 sectors were added in the Green Book (CD-i) and subsequently adopted in the CD-ROM XA extensions. This enabled information that would not tolerate errors (such as programs or computer data) to be interleaved or mixed within the same track with information that would tolerate errors (such as audio or video data). These variations on Mode 2 include Form 1 and Form 2 sectors. Each Mode 2, Form 1 sector is broken down as shown in Tables 13.11, 13.12, 13.13, and 13.14. Table 13.11 Green Book Mode 1 Sector Format Breakdown Green Book/CD-ROM XA Sectors (Mode 2, Form 1): -------------------------------------------------------------------- Q+P parity bytes 784 Subcode bytes 98 -------------------------------------------------------------------- Sync bytes 12 Header bytes 4 Subheader bytes 8 Data bytes 2,048 EDC bytes 4 ECC bytes 276 -------------------------------------------------------------------- Bytes/sector RAW (unencoded) 3,234

Compact Disc and Drive Formats Chapter 13 709 Table 13.12 Green Book/CD-ROM XA (Yellow Book Extensions) Mode 2, Form 1 Sector Format Sync Header Subheader User Data EDC ECC 12 4 8 2,048 bytes 4 276 Table 13.13 Green Book Mode 2 Sector Format Breakdown Green Book/CD-ROM XA Sectors (Mode 2, Form 2): -------------------------------------------------------------------- Q+P parity bytes 784 Subcode bytes 98 -------------------------------------------------------------------- Sync bytes 12 Header bytes 4 Subheader bytes 8 Data bytes 2,324 EDC bytes 4 -------------------------------------------------------------------- Bytes/sector RAW (unencoded) 3,234 Table 13.14 Green Book/CD-ROM XA (Yellow Book Extensions) Mode 2, Form 2 Sector Format Sync Header Subheader User Data EDC 12 4 8 2,324 bytes 4 Both Mode 2 sector formats add a subheader field that identifies the type of information (such as audio or video) carried in the user data field. The Form 2 sector lacks the ECC of the Form 1 sector and increases the size of the user data field instead. This type of sector is for storing audio or video data that can tolerate errors. Because they don’t use any third-level error correction, CD-ROMs that use the Mode 2, Form 2 sector format (such as MPEG video CDs) can hold more user information than other CD-ROM types in the same number of sectors, and as a result also have a higher data transfer rate of 174.3KB/sec instead of the standard 153.6KB/sec. Note that Form 2 sectors are never used to store data or program files because errors can’t be tolerated in that type of information. In that case, the Mode 2, Form 1 sector format would be used. For a drive to be truly XA compatible, the audio data written in Form 2 sectors on the disc as audio must be ADPCM audio—specially compressed and encoded audio. This requires that the drive or the SCSI controller have a signal processor chip that can decompress the audio during the synchronization process. Some earlier drives were called XA-ready, which meant they were capable of Mode 2, Form 1 and Form 2 reading but did not incorporate the ADPCM chip. This is not a signficant shortcoming, however, because only certain multimedia titles use the ADPM encoding (with interleaved audio and video). The main benefit XA brought to the table was the additional sector modes and forms taken from the Green Book.

708 Chapter <strong>13</strong> Optical Storage<br />

Sector Modes and Forms<br />

Mode 1 is the standard Yellow Book CD sector format with ECC and EDC to enable error-free operation.<br />

Each Mode 1 sector is broken down as shown in Tables <strong>13</strong>.9 and <strong>13</strong>.10.<br />

Table <strong>13</strong>.9 Yellow Book Mode 1 Sector Format Breakdown<br />

Yellow Book (CD-ROM) Sectors (Mode 1):<br />

--------------------------------------------------------------------<br />

Q+P parity bytes 784<br />

Subcode bytes 98<br />

--------------------------------------------------------------------<br />

Sync bytes 12<br />

Header bytes 4<br />

Data bytes 2,048<br />

EDC bytes 4<br />

Blank (0) bytes 8<br />

ECC bytes 276<br />

--------------------------------------------------------------------<br />

Bytes/sector RAW (unencoded) 3,234<br />

Table <strong>13</strong>.10 Yellow Book (CD-ROM) Mode 1 Sector Format<br />

Sync Header User Data EDC Blank ECC<br />

12 4 2,048 4 8 276<br />

Mode 2 was defined as a sector without any ECC or EDC in the original Yellow Book. Unfortunately,<br />

Mode 1 (which had ECC and EDC) couldn’t be mixed with Mode 2 sectors on the same track (program<br />

or song). To enable data with and without error detection and correction in a single track, new<br />

sector format subsets for Mode 2 sectors were added in the Green Book (CD-i) and subsequently<br />

adopted in the CD-ROM XA extensions. This enabled information that would not tolerate errors (such<br />

as programs or computer data) to be interleaved or mixed within the same track with information<br />

that would tolerate errors (such as audio or video data). These variations on Mode 2 include Form 1<br />

and Form 2 sectors. Each Mode 2, Form 1 sector is broken down as shown in Tables <strong>13</strong>.11, <strong>13</strong>.12,<br />

<strong>13</strong>.<strong>13</strong>, and <strong>13</strong>.14.<br />

Table <strong>13</strong>.11 Green Book Mode 1 Sector Format Breakdown<br />

Green Book/CD-ROM XA Sectors (Mode 2, Form 1):<br />

--------------------------------------------------------------------<br />

Q+P parity bytes 784<br />

Subcode bytes 98<br />

--------------------------------------------------------------------<br />

Sync bytes 12<br />

Header bytes 4<br />

Subheader bytes 8<br />

Data bytes 2,048<br />

EDC bytes 4<br />

ECC bytes 276<br />

--------------------------------------------------------------------<br />

Bytes/sector RAW (unencoded) 3,234

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!