# WA2 engine code -> font atlas cell enumeration (fnt.pak/fon.pak 80-col atlases).
# Cells are assigned consecutively in the order listed; ranges are inclusive.
# Undefined CP932 codes inside a range (e.g. 0x817F, 0x81E9-EF) still occupy a cell
# (JP atlas shows the U+30FB '・' fallback glyph there).
# Verified: matches WA2.exe table @0x4a14b8 (designer lift) and the JP atlas glyphs.
#
# single-byte: 0x20-7D -> cells 0-93; 0xB1-DD (half-width kana) -> cells 94-138
# Task 1: lead bytes 0x81..0x88 before 0x889F -> cells 139..747
0x81: 40-AC,B8-BF,C8-CE,DA-FC
0x82: 4F-58,60-79,81-9A,9F-F1
0x83: 40-96,9F-B6,BF-D6
0x84: 40-60,70-91,9F-BE
0x87: 40-5D,5F-75,7E-8F
#
# Full range table (code_lo-code_hi : first_cell-last_cell)
0020-007D : 0-93
FFB1-FFDD : 94-138
8140-81AC : 139-247
81B8-81BF : 248-255
81C8-81CE : 256-262
81DA-81FC : 263-297
824F-8258 : 298-307
8260-8279 : 308-333
8281-829A : 334-359
829F-82F1 : 360-442
8340-8396 : 443-529
839F-83B6 : 530-553
83BF-83D6 : 554-577
8440-8460 : 578-610
8470-8491 : 611-644
849F-84BE : 645-676
8740-875D : 677-706
875F-8775 : 707-729
877E-878F : 730-747
889F-88FC : 748-841
8940-89FC : 842-1030
8A40-8AFC : 1031-1219
8B40-8BFC : 1220-1408
8C40-8CFC : 1409-1597
8D40-8DFC : 1598-1786
8E40-8EFC : 1787-1975
8F40-8FFC : 1976-2164
9040-90FC : 2165-2353
9140-91FC : 2354-2542
9240-92FC : 2543-2731
9340-93FC : 2732-2920
9440-94FC : 2921-3109
9540-95FC : 3110-3298
9640-96FC : 3299-3487
9740-97FC : 3488-3676
9840-9872 : 3677-3727
989F-98FC : 3728-3821
9940-99FC : 3822-4010
9A40-9AFC : 4011-4199
9B40-9BFC : 4200-4388
9C40-9CFC : 4389-4577
9D40-9DFC : 4578-4766
9E40-9EFC : 4767-4955
9F40-9FFC : 4956-5144
E040-E0FC : 5145-5333
E140-E1FC : 5334-5522
E240-E2FC : 5523-5711
E340-E3FC : 5712-5900
E440-E4FC : 5901-6089
E540-E5FC : 6090-6278
E640-E6FC : 6279-6467
E740-E7FC : 6468-6656
E840-E8FC : 6657-6845
E940-E9FC : 6846-7034
EA40-EAA4 : 7035-7135
F040-F0C0 : 7136-7264
FA40-FAFC : 7265-7453
FB40-FBFC : 7454-7642
FC40-FC4B : 7643-7654
# total cells 7655; unmapped codes -> 7655
