The character buffers occupy bytes 96-127 in pages 152-172. Each page corresponds to a different character.
Byte(s) |
Contents |
96 |
Animatory state |
97,98 |
Location (row, column) |
99,100 |
Address of routine from command list (see 25172) |
101,102 |
(1) Destination of character (see 27090); (2) byte 101 is used by 25303 to store the signal byte determining when character should stop moving about |
103 |
Number of mini-walkabouts remaining (see 27453) |
104 |
Message repetition delay counter (see 63488) |
105,106 |
Routine address (see 25172) |
107,108 |
(1) Address of next character in message being spoken (see 63488) or written on blackboard (see 29284); (2) byte 107 holds a walkabout destination x-coordinate (see 27442), and byte 108 is initialised to 30 (see 25303); (3) x- and y-coordinate increments to use when looking for another character (see 31768); (4) byte 107 holds the number of movements remaining in board-wiping task, and byte 108 the x-coordinate of the next column to wipe (see 29160); (5) byte 108 is decremented and checked by 25404, which aborts when it reaches 0 |
109,110 |
(1) Address of next character in submessage being spoken (see 28882, 31110); (2) byte 109 holds the y-coordinate of the top row of the blackboard being wiped (see 29160) |
111,112 |
Routine address (see 25126) |
113 |
Determines how long character will stay down if decked (see 28569), knocked out of chair (see 27733), or knocked over by stampeding kid (see 27126); also holds distance left to travel for catapult pellet (see 27932) |
114 |
Stores character's pre-decked animatory state (see 27206) |
115,116 |
Unused |
117,118 |
Address reached in command list |
119,120 |
Start address of command list |
121 |
Unused |
122 |
Various flags; initially populated by 26880 with 0 for kids, 16 (bit 4 set) for teachers, and 32 (bit 5 set) for catapult pellets.
Bit(s) |
Meaning if set |
0 |
Restart command list at next opportunity if bit 1 is reset (see 25172) |
1 |
Always reset |
2-3 |
Unused |
4 |
Character is a teacher (checked by 25367) |
5 |
Character is walking fast continuously (set for pellets and stampeding boys; see 27246) |
6 |
Character is walking slowly continuously (always reset, but checked by 25367) |
7 |
Character is walking slowly until next speed change (see 25266) |
|
123 |
Walking speed change delay counter (see 25266, 32234, 32242, 64016) |
124,125 |
Address of controlling routine; 25247 (RET) is placed here initially by 26880 |
126,127 |
Unused |