Sherlock: annotated disassembly

Data

Up: Map Next: 5DC0
5D80: Dictionary index: where each letter's words start
32 two-byte offsets from $5DBF. Entries 1-26 (indexed by a letter's ASCII code AND $1F) give the first word starting with that letter; entry 31 marks the end of the dictionary (67B7). The tokenizer (DA34) finds the end of a letter's words by skipping forward to the next non-zero entry.
5D80 DEFW $0000 Unused
5D82 DEFW $0001 'A' words
5D84 DEFW $00A7 'B' words
5D86 DEFW $0164 'C' words
5D88 DEFW $020D 'D' words
5D8A DEFW $0280 'E' words
5D8C DEFW $02DD 'F' words
5D8E DEFW $036A 'G' words
5D90 DEFW $03BA 'H' words
5D92 DEFW $042D 'I' words
5D94 DEFW $048B 'J' words
5D96 DEFW $0494 'K' words
5D98 DEFW $04B0 'L' words
5D9A DEFW $0532 'M' words
5D9C DEFW $0599 'N' words
5D9E DEFW $05E8 'O' words
5DA0 DEFW $0636 'P' words
5DA2 DEFW $06EB 'Q' words
5DA4 DEFW $06F9 'R' words
5DA6 DEFW $075A 'S' words
5DA8 DEFW $0882 'T' words
5DAA DEFW $090C 'U' words
5DAC DEFW $094B 'V' words
5DAE DEFW $095A 'W' words
5DB0 DEFW $09DF 'X' words
5DB2 DEFW $09E3 'Y' words
5DB4 DEFW $09F5 'Z' words
5DB6 DEFW $0000 Unused
5DB8 DEFW $0000 Unused
5DBA DEFW $0000 Unused
5DBC DEFW $0000 Unused
5DBE DEFW $09F8 End of dictionary
Up: Map Next: 5DC0