Line 13:
Line 13:
based on the above-mentioned SYSCONF file, the entries in the offset table for <code>NET.WCPC</code> & <code>IPL.SND</code> are correct. i'll probably edit the main page relatively soon to mention these things unless someone objects. -Wit [[User:SquidKid S|SquidKid S]] ([[User talk:SquidKid S|talk]]) 06:18, 19 July 2022 (CEST)
based on the above-mentioned SYSCONF file, the entries in the offset table for <code>NET.WCPC</code> & <code>IPL.SND</code> are correct. i'll probably edit the main page relatively soon to mention these things unless someone objects. -Wit [[User:SquidKid S|SquidKid S]] ([[User talk:SquidKid S|talk]]) 06:18, 19 July 2022 (CEST)
+
+
== IPL.SADR ==
+
+
one more thing: i think i've figured out the <code>IPL.SADR</code> format.
+
{| class="wikitable"
+
|-
+
! Offset
+
! Type
+
! Size
+
! Value
+
|-
+
| <code>0x0000</code>
+
| Word
+
| <code>0x0002</code>
+
| Array Size (minus 1); here: <code>0x1007</code> for 0x1008 bytes
+
|-
+
| <code>0x0002</code>
+
| Byte
+
| <code>0x0001</code>
+
| Country code
+
|-
+
| <code>0x0003</code>
+
| Byte
+
| <code>0x0001</code>
+
| Region code
+
|-
+
| <code>0x0004</code>
+
| Word
+
| <code>0x0002</code>
+
| City code (as called by [https://wiki.tockdom.com/wiki/RKG_(File_Format)#File_Header])
+
|-
+
| <code>0x0006</code>
+
| UTF16BE String
+
| <code>0x0080</code>
+
| Japanese country name
+
|-
+
| <code>0x0086</code>
+
| until
+
| <code>0x0805</code>
+
| Repeats up to a total of 16 entries (English, German, French, Spanish, Italian, Dutch, Simp. Chinese, Trad. Chinese, Korean, 6 undefined).
+
|-
+
| <code>0x0806</code>
+
| UTF16BE String
+
| <code>0x0080</code>
+
| Japanese region name
+
|-
+
| <code>0x0886</code>
+
| until
+
| <code>0x1005</code>
+
| Repeats up to a total of 16 entries (same order).
+
|-
+
| <code>0x1006</code>
+
| Word
+
| <code>0x0002</code>
+
| Latitude (N+/S-, measured in increments of 45/8192 degree, allowing up to 180°, though latitude never exceeds 90°)
+
|-
+
| <code>0x1008</code>
+
| Word
+
| <code>0x0002</code>
+
| Longitude (E+/W-, measured in increments of 45/8192 degree, allowing up to 180°)
+
|}