home *** CD-ROM | disk | FTP | other *** search
/ Hacks & Cracks / Hacks_and_Cracks.iso / hackersguides-&-software / cdpsx.txt < prev    next >
Text File  |  1996-04-15  |  2KB  |  56 lines

  1.  
  2.  
  3.  
  4. Example PlayStation Disc Layout
  5.  
  6. Blocks          Description
  7. ------          ------------
  8. 000000-000015   Data track boot blocks        (see NOTE 1)
  9. 000016-024520   Data track program area       (see NOTE 2)
  10. 024521-024670   Postgap for data track        (see NOTE 3)
  11. 024671-024820   Pregap for first audio track  (see NOTE 4)
  12. 024821-048326   Audio track #1
  13. 048327-048476   Pregap for second audio track (see NOTE 5)
  14. 048477-072485   Audio track #2
  15.       .
  16.       .
  17.       .
  18. 191281-191430   Pregap for ninth audio track
  19. 191431-214349   Audio track #9
  20. 214350-??????   Leadout track                 (see NOTE 6)
  21.  
  22. NOTE 1: The first sixteen blocks of a PSX disc are the "boot" blocks.
  23. They contain some territory information, but I don't know if this is
  24. the actual data that is used by the "territory lockout" code.
  25.  
  26. NOTE 2: The rest of the data track is where the actual program (game)
  27. is stored. The track is encoded in CDROM-XA format using both Form-1
  28. and Form-2 sectors. The file system is in ISO9660 format.
  29.  
  30. NOTE 3: When any data track is followed by an audio track, it must
  31. end with a postgap of at least 150 sectors. On all of the PSX discs
  32. that I have analyzed, this postgap is comprised of 150 sectors of
  33. zeroed data. The purpose of the postgap is to provide a "buffer zone"
  34. between the real data in the track and the subsequent audio track.
  35. This buffer is used because some CD readers can't read the last few
  36. blocks of a track if they are followed by audio sectors.
  37.  
  38. NOTE 4: When an audio track follows a data track, it must start with
  39. a pregap of at least 150 sectors. On the PSX discs that I have analyzed,
  40. I have seen pregaps of both 150 (2 seconds) and 300 sectors (4 seconds).
  41. This pregap serves the same purpose as the data postgap... to physically
  42. separate the data and audio sectors to avoid reading errors (data and
  43. audio sectors are usually read with separate commands and each command
  44. can only read a specific sector type).
  45.  
  46. NOTE 5: The pre-gap for all audio tracks after track #1 seems to be
  47. either 0 or 150 sectors for all PSX discs. PSXCOPY.EXE will copy
  48. these gaps, but it doesn't bother to encode them as gaps in the
  49. subcode.
  50.  
  51. NOTE 6: The LEADOUT track is written by the recorder automatically
  52. (except for the Philips) and is not under user control. It is not
  53. possible to read this area of the disc with a normal CDROM reader
  54. or recorder.
  55.  
  56.