-
Notifications
You must be signed in to change notification settings - Fork 4
System Area
LuigiBlood edited this page Jun 6, 2020
·
20 revisions
-
Retail Disk (Grey) - 232 bytes sector size
- LBA 0-1: System Data
- LBA 2-3: [READ ERROR]
- LBA 4-5: Initial System Data Formatting
- LBA 6-7: Unknown Data
- LBA 8-9: System Data
- LBA 10-11: [READ ERROR]
- LBA 12: Disk Check [READ MUST FAIL]
- LBA 13: 00s
- LBA 14-15: Disk ID
- LBA 16-23: [READ ERROR]
-
Development Disk (Blue) - 192 / 232 bytes sector size
- [192] LBA 0-1: [READ ERROR]
- [192] LBA 2-3: System Data
- [192] LBA 4-5: Initial System Data Formatting
- [192] LBA 6-7: Unknown Data
- [192] LBA 8-9: [READ ERROR]
- [192] LBA 10-11: System Data
- [232] LBA 12: Disk Check [READ MUST SUCCEED]
- [232] LBA 13: 00s
- [232] LBA 14-15: Disk ID
- [232] LBA 16-23: [READ ERROR]
Some of the Read Errors still outputs data similar to the other kind of disk.
- 0x00: Disk Region (32-bit)
-
E848D316
- Japanese -
2263EE56
- USA -
00000000
- Development
-
- 0x04: Format Type - Always 0x10 (8-bit)
- 0x05: Disk Type (8-bit)
- 0x06: IPL Load LBA 0 Block Amount (16-bit)
- 0x08: 8-bit Offsets to list of Defect Tracks [Base Offset = 0x20]
- 0x08: Head 0 Zone 1
- 0x09: Head 0 Zone 2
- 0x0A: Head 0 Zone 3
- 0x0B: Head 0 Zone 4
- 0x0C: Head 0 Zone 5
- 0x0D: Head 0 Zone 6
- 0x0E: Head 0 Zone 7
- 0x0F: Head 1 Zone 1
- 0x10: Head 1 Zone 2
- 0x11: Head 1 Zone 3
- 0x12: Head 1 Zone 4
- 0x13: Head 1 Zone 5
- 0x14: Head 1 Zone 6
- 0x15: Head 1 Zone 7
- 0x16: Head 1 Zone 8
- 0x17: End of Defect Tracks Data (Used to calculate the amount of defects for Head 1 Zone 8)
- 0x18: Always 0xFFFFFFFF (32-bit)
- 0x1C: IPL Load RAM Address (32-bit)
- 0x20: Defect Tracks List (Begins with Head 0 Zone 0)
- 0xE0: ROM Area LBA End (16-bit) [Base LBA = 24]
- 0xE2: RAM Area LBA Start (16-bit) [Base LBA = 24]
- 0xE4: RAM Area LBA End (16-bit) [Base LBA = 24]
- 0xE6: Always 0xFFFF (16-bit)
Because Development Disk System Data is only 0xC0 bytes, the LBA areas from 0xE0 are not present, and the defect data is changed accordingly.
If the read is successful, libleo considers it as a development disk, and if it fails, it is considered a retail disk.
- 0x00 - Game ID code
[ASCII] (4 bytes)
- 0x04 - Version
[BCD] (1 byte)
- 0x05 - Disk Number
[BCD] (1 byte)
- 0x06 - RAM Use
(1 byte)
-
0x00
Does not use MFS -
0x01
Does use MFS
-
- 0x07 - Disk Use
[BCD] (1 byte)
-
0x00
Game Disk
-
- 0x08 - Factory Line Number
[BCD] (8 bytes)
-
PTN64
is used for Development Disk writing.
-
- 0x10 - Production Time
[BCD] (8 bytes)
- The format is
00 YYYYMMDD HHMMSS
- The format is
- 0x18 - Company Code
[ASCII] (2 bytes)
- 0x1A - Free Area
(6 bytes)