Talk:PS1 Emulation: Difference between revisions

From PS4 Developer wiki
Jump to navigation Jump to search
(Created page with "=TOC file layout= For multi bin images, probably require emu from ps plus. <br> Entry structure: {| class="wikitable" |- ! Entry Nº !! Offset !! Length !! Name !! Example !!...")
 
Line 2: Line 2:
For multi bin images, probably require emu from ps plus.  
For multi bin images, probably require emu from ps plus.  
<br>
<br>
Entry structure:
Track entry structure:
{| class="wikitable"
{| class="wikitable"
|-
|-
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 || always zero
| 0x01 || 0x01 (1 byte) || '''TNO''' || 00 || Track number
|-
|-
| 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 || increases
|-
|-
| 0x03 || 0x01 (1 byte) || '''MIN''' || varies || decimal
| 0x03 || 0x01 (1 byte) || '''MIN''' || varies || bcd
|-
|-
| 0x04 || 0x01 (1 byte) || '''SEC''' || varies || decimal
| 0x04 || 0x01 (1 byte) || '''SEC''' || varies || bcd
|-
|-
| 0x05 || 0x01 (1 byte) || '''FRAME''' || varies || decimal
| 0x05 || 0x01 (1 byte) || '''FRAME''' || varies || bcd
|-
|-
| 0x06 || 0x01 (1 byte) || '''ZERO''' || 00  || always zero
| 0x06 || 0x01 (1 byte) || '''ZERO''' || 00  || always zero
|-
|-
| 0x07 || 0x01 (1 byte) || '''PMIN''' || varies || decimal
| 0x07 || 0x01 (1 byte) || '''PMIN''' || varies || bcd
|-
|-
| 0x08 || 0x01 (1 byte) || '''PSEC''' || varies || decimal
| 0x08 || 0x01 (1 byte) || '''PSEC''' || varies || bcd
|-
|-
| 0x09 || 0x01 (1 byte) || '''PFRAME''' || varies || decimal
| 0x09 || 0x01 (1 byte) || '''PFRAME''' || varies || bcd
|-
|-
| 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
|}
|}

Revision as of 07:54, 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
0x02 0x01 (1 byte) POINT 0xA0/0xA1/0xA2/0x01/0x02/0x03/etc increases
0x03 0x01 (1 byte) MIN varies bcd
0x04 0x01 (1 byte) SEC varies bcd
0x05 0x01 (1 byte) FRAME varies 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