benilla-re systems structs docs

s_nameHangulSyllables

global · unassigned

Address
0x86ca30 · 4700 bytes, up to 0x86dc8b
Type
uint16_t[2350]
Meaning
Holds the 2,350 Hangul syllables of KS X 1001 in ascending order, the Korean name charset
Confidence
verified, proof one
Finding
glue/enterworld#name-charsets

Finding: Name charsets in glue: entering and leaving the world

A name is held to the charset of its first unit, the primary or secondary of 0x6c9a70(locale). A region 0x86c9e0 of 1 to 5 picks its pair at 0x86c9e4: (1, 1), (2, 4), (1, 1), (3, 1), (3, 1). Otherwise the primary is the locale's entry at 0x86ca0c, 1, 2, 1, 1, 3, 3, 1, 0, with entry 0 for a zero entry or an index outside 0 to 7, and the secondary is 4 for koKR (index 1), else 1. 0x6c9dd0(unit, set) tests a UTF-16 unit against a set; a set not listed takes none:

setunits
1IsLatin1Letter (0x6c9c60)
2the 2,350 syllables at 0x86ca30 (0x6c9d50)
3U+4E00 to U+9FFF, U+3400 to U+4DFF, U+F900 to U+FAFF (0x6c9d80)
4A to Z, a to z (0x6c9ce0)

The derivation is in the doc.