The basic red-book CD-ROM standard for audio CDs divides a CD into logical sectors that each contain 2352 bytes (the actual raw sectors contain additional bytes for error detection and correction and control). The yellow-book standard is an outgrowth of the red-book standard, and provides a standard format for storing computer data on a CD, otherwise known as a CD-ROM. The yellow-book standard defines two modes for storing data, named unimaginatively but practically, mode 1 and mode 2. Both start with the original red-book logical sector size of 2352 bytes. Mode 1 divides those 2352 bytes into 12 synchronization bytes, 4 header bytes, 2048 bytes of user data, and 288 bytes of EDC (error detection code) and ECC (error correcting code). Mode 2 divides the 2352 bytes into 12 synchronization bytes, 4 header bytes, and 2336 bytes of user data. Continue reading