mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-07-17 14:22:13 +02:00
Documentation of all offsets and sizes for the FSS0 file format.
This commit is contained in:
parent
72f1e85aba
commit
90dbe40713
51
docs/fss0.md
Normal file
51
docs/fss0.md
Normal file
@ -0,0 +1,51 @@
|
||||
# FSS0
|
||||
|
||||
## Header
|
||||
|
||||
| Offset | Size | Description |
|
||||
| ------ | ----- | ------------------------------------ |
|
||||
| 0x0 | 0x400 | Startup code |
|
||||
| 0x400 | 0x4 | Magicnum "FSS0" |
|
||||
| 0x404 | 0x4 | Size of the entire file |
|
||||
| 0x408 | 0x4 | Offset of startup code |
|
||||
| 0x40C | 0x4 | Offset of content headers |
|
||||
| 0x410 | 0x4 | Number of content headers |
|
||||
| 0x414 | 0x4 | Maximum Horizon OS Supported |
|
||||
| 0x418 | 0x4 | Atmosphere Version |
|
||||
| 0x41C | 0x4 | First four bytes of the git revision |
|
||||
|
||||
## Content Header
|
||||
|
||||
| Offset | Size | Description |
|
||||
| ------ | ----- | ----------------- |
|
||||
| 0x0 | 0x4 | Offset of content |
|
||||
| 0x4 | 0x4 | Size of content |
|
||||
| 0x8 | 0x1 | Type |
|
||||
| 0x9 | 0x1 | First flag |
|
||||
| 0xA | 0x1 | Second flag |
|
||||
| 0xB | 0x1 | Third flag |
|
||||
| 0xC | 0x4 | Reserved |
|
||||
| 0x10 | 0xA | Name |
|
||||
|
||||
### Content Header Types
|
||||
|
||||
| Value | Description |
|
||||
| ----- | -------------- |
|
||||
| 0x0 | Fusee Primary |
|
||||
| 0x1 | Exosphere |
|
||||
| 0x2 | LP0 Firmware |
|
||||
| 0x3 | Reboot Stub |
|
||||
| 0x4 | Sept Primary |
|
||||
| 0x5 | Sept Secondary |
|
||||
| 0x6 | KIP |
|
||||
| 0x7 | Bitmap |
|
||||
| 0x8 | EmuMMC |
|
||||
| 0x9 | Kernel Loader |
|
||||
| 0xA | Kernel |
|
||||
|
||||
### Content Header Flags
|
||||
|
||||
| Value | Description |
|
||||
| ----- | ------------ |
|
||||
| 0x0 | None |
|
||||
| 0x1 | Experimental |
|
Loading…
Reference in New Issue
Block a user