Talk:PS1 Emulation: Difference between revisions

From PS4 Developer wiki
Jump to navigation Jump to search
Line 9: Line 9:
| rowspan="10" style="background-color:#DDDDDD;" | 1 || 0x00 || 0x01 (1 byte) || '''TYPE''' || 0x41/0x01 || entry flags
| rowspan="10" style="background-color:#DDDDDD;" | 1 || 0x00 || 0x01 (1 byte) || '''TYPE''' || 0x41/0x01 || entry flags
|-
|-
| 0x01 || 0x01 (1 byte) || '''TNO''' || 00 || Track number
| 0x01 || 0x01 (1 byte) || '''TNO''' || 00 || Track number, usually 00, bcd
|-
|-
| 0x02 || 0x01 (1 byte) || '''POINT''' || 0xA0/0xA1/0xA2/0x01/0x02/0x03/etc || increases
| 0x02 || 0x01 (1 byte) || '''POINT''' || 0xA0/0xA1/0xA2/0x01/0x02/0x03/etc || bcd + special case A0-A2.
|-
|-
| 0x03 || 0x01 (1 byte) || '''MIN''' || varies || bcd
| 0x03 || 0x01 (1 byte) || '''MIN''' || varies || absolute, bcd
|-
|-
| 0x04 || 0x01 (1 byte) || '''SEC''' || varies || bcd
| 0x04 || 0x01 (1 byte) || '''SEC''' || varies || absolute, bcd
|-
|-
| 0x05 || 0x01 (1 byte) || '''FRAME''' || varies || bcd
| 0x05 || 0x01 (1 byte) || '''FRAME''' || varies || absolute, bcd
|-
|-
| 0x06 || 0x01 (1 byte) || '''ZERO''' || 00  || always zero
| 0x06 || 0x01 (1 byte) || '''ZERO''' || 00  || always zero
Line 29: Line 29:
| style="background-color:#DDDDDD;" | Up to 102 || || || || || same structure than the previous entry
| style="background-color:#DDDDDD;" | Up to 102 || || || || || same structure than the previous entry
|}
|}
POINT indicates successive track numbers, and PMIN, PSEC and PFRAME indicate the starting time of that track.<br>
POINT = A0, PMIN gives the physical track number of the first piece of data (PSEC and PFRAME are zero).<br>
POINT = A1, PMIN indicates the last track on the disc<br>
POINT = A2, the starting point of the lead-out track is given in PMIN, PSEC and PFRAME.<br>
POINT = 01 - 99 Index number within track.<br>
POINT = 00 Pause (2sec?, Also pregap?)

Revision as of 08:22, 28 July 2022

TOC file layout

For multi bin images, probably require emu from ps plus.
Track entry structure:

Entry Nº Offset Length Name Example Notes
1 0x00 0x01 (1 byte) TYPE 0x41/0x01 entry flags
0x01 0x01 (1 byte) TNO 00 Track number, usually 00, bcd
0x02 0x01 (1 byte) POINT 0xA0/0xA1/0xA2/0x01/0x02/0x03/etc bcd + special case A0-A2.
0x03 0x01 (1 byte) MIN varies absolute, bcd
0x04 0x01 (1 byte) SEC varies absolute, bcd
0x05 0x01 (1 byte) FRAME varies absolute, bcd
0x06 0x01 (1 byte) ZERO 00 always zero
0x07 0x01 (1 byte) PMIN varies bcd
0x08 0x01 (1 byte) PSEC varies bcd
0x09 0x01 (1 byte) PFRAME varies bcd
Up to 102 same structure than the previous entry

POINT indicates successive track numbers, and PMIN, PSEC and PFRAME indicate the starting time of that track.
POINT = A0, PMIN gives the physical track number of the first piece of data (PSEC and PFRAME are zero).
POINT = A1, PMIN indicates the last track on the disc
POINT = A2, the starting point of the lead-out track is given in PMIN, PSEC and PFRAME.
POINT = 01 - 99 Index number within track.
POINT = 00 Pause (2sec?, Also pregap?)