Address |
Length |
Description |
32512 |
1 |
|
32513 |
8 |
Used by the routine at 24843.
|
32521 |
1 |
Used by the (unused) routine at 25830.
|
32522 |
2 |
|
32524 |
84 |
Used by the routines at 27008, 27026, 28807, 29394 and 29735. Each byte of the SRB corresponds to a segment of 8 character squares on the screen, the leftmost of which will be at x=0, x=8, x=16 or x=24. Each bit set in an SRB byte corresponds to a character square in the segment that needs refreshing. Bit 0 corresponds to the leftmost character square in the segment, bit 7 to the rightmost character square.
|
32608 |
4 |
|
32612 |
2 |
|
32614 |
34 |
|
32648 |
4 |
|
32652 |
8 |
Used by the routine at 30890.
|
32660 |
2 |
|
32662 |
2 |
Used by the routine at 63829.
|
32664 |
2 |
|
32666 |
1 |
|
32667 |
4 |
Used by the routines at 63191 and 63573. Holds a copy of the battle-year message corresponding to CREAK's birth.
|
32671 |
4 |
Used by the routines at 63270 and 63573. Holds the ASCII codes of the letters in the safe combination (in the right order). The teachers' safe combination letters are stored at 32675.
|
32675 |
4 |
Used by the routines at 63573 and 63829. Holds the ASCII codes of the teachers' safe combination letters. The safe combination itself is stored at 32671.
|
32679 |
1 |
|
32680 |
5 |
Used by the routine at 63270.
|
32685 |
1 |
|
32686 |
5 |
Used by the routine at 63270.
|
32691 |
1 |
|
32692 |
5 |
Used by the routine at 63270.
|
32697 |
8 |
|
32705 |
1 |
Used by the routine at 62938 while in demo mode.
|
32706 |
2 |
|
32708 |
2 |
Used by the routine at 27387.
|
32710 |
2 |
|
32712 |
1 |
Various status flags for the current lesson.
Bit(s) |
Meaning |
0 |
End of lesson/playtime (always reset) |
1-3 |
Unused |
4 |
Next lines reprimand for the teacher fetching the truant ERIC (toggled by 30636) |
5 |
Set after a teacher has found the truant ERIC (see 30636) |
6 |
Set after a classroom lesson has started with ERIC present (see 62208) (checked by 30636; reset by 26342) |
7 |
Set after EINSTEIN has had a chance to grass on the absent ERIC (see 62208), or after dinner has started (see 31854) (checked by 30636; reset by 26342) |
|
32713 |
1 |
Bits 0-3 are used by the classroom-based command lists to indicate that or check whether a teacher has arrived at the classroom door to start the lesson.
Bit(s) |
Meaning if set |
0 |
Teacher has arrived at the Map Room |
1 |
Teacher has arrived at the Reading Room |
2 |
Teacher has arrived at the Exam Room |
3 |
Teacher has arrived at the White Room |
4-6 |
Unused |
7 |
EINSTEIN is speaking (set by 31919; checked by 31162 and 31944; reset by 31178) |
|
32714 |
1 |
These flags are set and reset by command list 204, and checked by command list 206.
Bit(s) |
Meaning if set |
0 |
Little boy no. 1 is ready to stampede |
1 |
Little boy no. 1 is ready to stampede again |
2-7 |
Unused |
|
32715 |
1 |
These flags are used during the special playtimes (when EINSTEIN is going to tell MR WACKER what ERIC's up to, BOY WANDER has hidden a pea-shooter on the fire escape, or ANGELFACE has mumps).
Bit(s) |
Meaning if set |
0 |
Little boy no. 10 is waiting for ERIC to respond to the message just delivered (set and reset by 63488; checked by 63352) |
1 |
Unused |
2 |
EINSTEIN is ready (set by command list 212; checked by command list 208) |
BOY WANDER is ready (set and reset by command list 216; checked by command lists 208 and 218) |
3 |
MR WACKER is ready (set by command lists 214 and 218; checked by command list 208) |
4 |
Little boy no. 10 has told ERIC about EINSTEIN (set by command list 208; checked by command list 212) |
Little boy no. 10 has told ERIC about BOY WANDER (set by command list 208; checked by command list 216) |
Little boy no. 10 has told ERIC about ANGELFACE (set by command list 210; checked by command list 220) |
5 |
EINSTEIN has grassed on ERIC (set by command list 212; checked by command list 214) |
ERIC has mumps (set by 64042; checked by command list 222) |
6-7 |
Unused |
|
32716 |
14 |
|
32730 |
1 |
Used by the routine at 63779, and reset at the start of each lesson by the routine at 26342. Holds 0 if MR CREAK has not yet asked the birth year question during the current lesson, or 1 otherwise.
|
32731 |
13 |
|
32744 |
1 |
Decremented by the main loop at 26471; when it becomes zero, the keyboard is checked and ERIC is moved accordingly (see also 25856, 25916, 25962 and 26880).
|
32745 |
1 |
Zero unless ERIC is midstride or has his arm raised while writing on a board (see 25916); if non-zero, the value is copied to the main action timer at 32744 after ERIC has lowered his arm or moved from the midstride position (see 25856).
|
32746 |
1 |
Used by the routine at 28143.
Value |
Meaning |
0 |
Demo mode |
1 |
Shields need to be flashed |
2 |
All shields flashing; ERIC needs to find the safe combination |
3 |
Shields need to be unflashed |
|
32747 |
1 |
Used by the routine at 28143.
|
32748 |
1 |
|
32749 |
1 |
|
32750 |
1 |
|
32751 |
1 |
|
32752 |
1 |
|
32753 |
1 |
Used by the routines at 29160, 29284 and 63056. Holds 0 if the board is clean.
|
32754 |
1 |
Used by the routine at 30636.
|
32755 |
1 |
Used by the routine at 30636.
|
32756 |
1 |
Used by the routines at 26342, 30636, 31040, 31188 and 32178. The room ID is stored in bits 0-3, and the teacher ID in bits 4-7. See the list of lesson descriptors at 44256.
|
32757 |
1 |
Used by the routine at 27303.
|
32758 |
1 |
Used by the routines at 62495, 62628 and 62771 to coordinate ERIC's movements while firing his catapult, hitting, or jumping.
|
32759 |
2 |
|
32761 |
1 |
Used by the routines at 26342 and 31815. Holds the index (0-63) into the main timetable. It is adjusted by the routine at 26880 before starting a new game.
|
32762 |
1 |
Stores the value of the LSB of the system variable FRAMES as it stood at the end of the last pass through the main loop (see 26471).
|
32763 |
1 |
If ERIC is doing anything other than walking or standing still, one of the bits here will be set.
|
32764 |
1 |
Holds the ASCII code of the last key pressed. Set by the routines at 26471 and 63056; checked by the routines at 25916 and 26194.
|
32765 |
1 |
Used by the routine at 25126.
|
32766 |
2 |
Used by the routine at 24993.
|