System Font: Difference between revisions

Ryccardo (talk | contribs)
Special characters
Myria (talk | contribs)
 
(3 intermediate revisions by one other user not shown)
Line 16: Line 16:
| 0x80
| 0x80
| Font data size
| Font data size
| The actual font data. There's also unknown data following the original decompressed font data.
| The actual font data.
|-
| 0x80 + Font data size
| 0x332000 - 0x80 - Font data size
| This is leftover data from decompression operation. During the font loading process, compressed data is loaded to <code>sharedmem + 0x332000 - compressed_size_aligned_to_4</code>, and then is decompressed to <code>sharedmem + 0x80</code>. Compressed data at the end that doesn't get overwritten by decompressed data remains in the shared memory
|}
|}


Line 28: Line 32:
| 0x0
| 0x0
| 0x4
| 0x4
| Normally value 0x2?
| Status.
1: loading system font
 
2: system font loaded
 
3: failed to load system font
|-
|-
| 0x4
| 0x4
| 0x4
| 0x4
| Normally value 0x1?
| Region. Indicates which [[Title_list#0004009B_-_Shared_Data_Archives|system font archive]] is loaded
1: region JPN/EUR/USA (archive 0004009B00014002)
 
2: region CHN (archive 0004009B00014102)
 
3: region KOR (archive 0004009B00014202)
 
4: region TWN (archive 0004009B00014302)
|-
|-
| 0x8
| 0x8
Line 39: Line 55:
|-
|-
| 0xC
| 0xC
| 0x34
| 0x74
| Normally all-zero?
| Normally all-zero?
|}
|}
Line 47: Line 63:
Some of these characters are used for tutorial message boxes and notifications; they can also be generally used in [[Mii]] names, [[SMDH|application titles]], etc.
Some of these characters are used for tutorial message boxes and notifications; they can also be generally used in [[Mii]] names, [[SMDH|application titles]], etc.


Most of these originated in the "icons" tab of the DS's standard software keyboard, and were extensively used in it's firmware UI.
Most of these originated in the "icons" tab of the DS's standard software keyboard, and were extensively used in its firmware UI.


{|border="1" cellpadding="2" cellspacing="0" style="border-collapse:collapse;"
{|border="1" cellpadding="2" cellspacing="0" style="border-collapse:collapse;"