flash_layout
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
flash_layout [2024/11/20 00:38] – arisotura | flash_layout [2025/01/19 20:42] (current) – garyodernichts | ||
---|---|---|---|
Line 42: | Line 42: | ||
- If the UIC state is 7, the diagnostics firmware is loaded | - If the UIC state is 7, the diagnostics firmware is loaded | ||
- | - Otherwise, the byte at 0xF000 indicates which firmware partition to load from: 0 = 0x1000000, 1 = 0x5000000 | + | - Otherwise, the byte at 0xF000 indicates which firmware partition to load from: 0 = 0x100000, 1 = 0x500000 |
Line 91: | Line 91: | ||
^ Offset ^ Length ^ Description ^ | ^ Offset ^ Length ^ Description ^ | ||
- | | 0x00 | + | | 0x00 |
+ | Bitmap = 0 | ||
+ | Sound = 1 | ||
+ | Unknown = 2 | ||
+ | | | ||
+ | | 0x02 | 2 | Resource ID | | ||
| 0x04 | 4 | Data offset (relative to the start of resource data) | | | 0x04 | 4 | Data offset (relative to the start of resource data) | | ||
| 0x08 | 4 | Data length | | | 0x08 | 4 | Data length | | ||
- | | 0x0C | + | | 0x0C |
- | | 0x10 | 4 | Parameter 1 | | + | |
- | | 0x14 | 4 | Parameter 2 | | + | |
- | There are two possible resource types: 0x00000008 for bitmap data and 0x00100000 for sound data. | + | For bitmap data, the following parameters |
- | For bitmap data, parameters 1 and 2 are respectively the width and height of the bitmap. The data starts with 256 32-bit ARGB palette entries, followed by 8-bit paletted bitmap data. | + | ^ Offset ^ Length ^ Description ^ |
+ | | 0x00 | 4 | ??? (Format / BPP)? Always | ||
+ | | 0x04 | 4 | Width | | ||
+ | | 0x08 | 4 | Height | | ||
- | For sound data, it isn't clear what parameters | + | The data starts with 256 32-bit ARGB palette entries, followed by 8-bit paletted bitmap data. |
+ | |||
+ | For sound data, the following | ||
+ | |||
+ | ^ Offset ^ Length ^ Description ^ | ||
+ | | 0x00 | ||
+ | | 0x02 | ||
+ | | 0x04 | 4 | Channels? Always 1. | | ||
+ | | 0x08 | 4 | Frequency | | ||
+ | The data itself are PCM samples. | ||
===== Language bank ===== | ===== Language bank ===== |
flash_layout.1732063125.txt.gz · Last modified: 2024/11/20 00:38 by arisotura