Address
| Length
| Purpose
|
32512 |
1 |
Leftmost column of the skool on screen (0, 8, 16,...64) |
32513 |
8 |
Skool UDG buffer (see 24843) |
32521 |
1 |
Unused now, but at one time held the number of on-screen character squares that need refreshing (see 25830) |
32522 |
2 |
Unused |
32524 |
84 |
Screen refresh buffer (see 27026) |
32608 |
4 |
Unused |
32612 |
2 |
Speech bubble lip coordinates (see 29518) |
32614 |
34 |
UDG references and attribute bytes of part of skool overwritten by speech bubble and lip (see 29518) |
32648 |
4 |
Unused |
32652 |
8 |
Workspace used to calculate distances of kids from teacher (see 30890) |
32660 |
2 |
Unused |
32662 |
2 |
Safe combination letter message (see 63829) |
32664 |
2 |
Unused |
32666 |
1 |
Identifier for CREAK's birth year battle (see 63779) |
32667 |
4 |
CREAK's year of birth (see 63191) |
32671 |
4 |
Safe combination code (see 63270, 63573) |
32675 |
4 |
Teachers' safe combination letters (see 63573, 63829) |
32679 |
1 |
Unused |
32680 |
5 |
Reading Room blackboard contents buffer (see 63270)
Byte(s) |
Contents |
0-3 |
Characters written by ERIC (see 63146) |
4 |
Pixel coordinates for ERIC to write at (set to 1 by 63056) |
|
32685 |
1 |
Unused |
32686 |
5 |
White Room blackboard contents buffer (see 63270)
Byte(s) |
Contents |
0-3 |
Characters written by ERIC (see 63146) |
4 |
Pixel coordinates for ERIC to write at (set to 1 by 63056) |
|
32691 |
1 |
Unused |
32692 |
5 |
Exam Room blackboard contents buffer (see 63270)
Byte(s) |
Contents |
0-3 |
Characters written by ERIC (see 63146) |
4 |
Pixel coordinates for ERIC to write at (set to 1 by 63056) |
|
32697 |
8 |
Unused |
32705 |
1 |
Stand-up delay counter used by ERIC in demo mode (see 62938) |
32706 |
2 |
Hi-score |
32708 |
2 |
Score |
32710 |
2 |
Lines |
32712 |
1 |
Lesson status flags
Bit(s) |
Meaning |
0 |
End of lesson/playtime - always reset (see 25374) |
1-3 |
Unused |
4 |
Next lines message for teacher fetching truant ERIC (toggled by 30636) |
5 |
Set after teacher has found truant ERIC (see 30636) |
6 |
Set after classroom lesson has started with ERIC present (checked by 30636; set by 62208; reset by 26342) |
7 |
Set after EINSTEIN has had chance to grass on absent ERIC, or dinner has started (checked by 30636; set by 31854, 62208; reset by 26342) |
|
32713 |
1 |
Lesson signal flags
Bit(s) |
Meaning if set |
0 |
Time to start lesson in Map Room (see 25374) |
1 |
Time to start lesson in Reading Room (see 25374) |
2 |
Time to start lesson in Exam Room (see 25374) |
3 |
Time to start lesson in White Room (see 25374) |
4-6 |
Unused |
7 |
It is EINSTEIN's turn to speak (see 31162, 31919, 31944) |
|
32714 |
1 |
Stampede signal flags
Bit(s) |
Meaning if set |
0 |
Little boy no. 1 is ready (see 25374) |
1 |
Little boy no. 1 is ready again (see 25374) |
2-7 |
Unused |
|
32715 |
1 |
Special playtime signal flags
Bit(s) |
Meaning if set |
0 |
Little boy is waiting for ERIC to respond (see 63352, 63488) |
1 |
Unused |
2 |
EINSTEIN/BOY WANDER is ready (see 25374) |
3 |
MR WACKER is ready (see 25374) |
4 |
Little boy has told ERIC about EINSTEIN/BOY WANDER/ANGELFACE (see 25374) |
5 |
EINSTEIN has grassed on ERIC/ERIC has mumps (see 25374) |
6-7 |
Unused |
|
32716 |
14 |
Unused |
32730 |
1 |
0 if MR CREAK has not yet asked the birth year question, 1 otherwise (see 63779) |
32731 |
13 |
Unused |
32744 |
1 |
Counter decremented by main loop at 26471; when it becomes zero, keyboard is checked and ERIC is moved accordingly (see also 25856, 25916, 25962, 26880) |
32745 |
1 |
Non-zero if ERIC is midstride (see 25916), zero if he's not; if non-zero, value is copied to 32744 after ERIC has been moved from midstride position (see 25856) |
32746 |
1 |
Shield status (see 28143)
Value |
Meaning |
0 |
Demo mode |
1 |
Shields need to be flashed |
2 |
All shields are flashing; ERIC needs to find the safe combination |
3 |
Shields need to be unflashed |
|
32747 |
1 |
Shield counter (see 28143) |
32748 |
1 |
Position of next clean pixel column on Reading Room blackboard (see 28994, 63270) |
32749 |
1 |
Number of character who last wrote on Reading Room blackboard (or 0 if clean) (see 29284, 63056) |
32750 |
1 |
Position of next clean pixel column on White Room blackboard (see 28994, 63270) |
32751 |
1 |
Number of character who last wrote on White Room blackboard (or 0 if clean) (see 29284, 63056) |
32752 |
1 |
Position of next clean pixel column on Exam Room blackboard (see 28994, 63270) |
32753 |
1 |
Number of character who last wrote on Exam Room blackboard (or 0 if clean) (see 29284, 63056) |
32754 |
1 |
Lines-giving delay counter (see 30636) |
32755 |
1 |
Character number of teacher who last gave ERIC lines (see 30636) |
32756 |
1 |
Lesson descriptor from ERIC's timetable (see 26342, 30636, 31040, 31188, 32178) |
32757 |
1 |
Delay counter used when ERIC has been knocked out (see 27303) |
32758 |
1 |
Action timer for ERIC (see 62495, 62628, 62771) |
32759 |
2 |
Lesson time counter (decremented in main loop at 26471) |
32761 |
1 |
Current lesson number (0-63) (see 26342) |
32762 |
1 |
Stores last value seen in FRAMES system variable at 23672 (see main loop at 26471) |
32763 |
1 |
Flags determining ERIC's status
Bit |
Meaning if set |
0 |
ERIC is firing a catapult (see 62495) |
1 |
ERIC is hitting (see 62628) |
2 |
ERIC is jumping (see 30636, 30890, 31229, 62584) |
3 |
ERIC is being spoken to by a little boy (see 63352, 63488) |
4 |
ERIC has just been knocked down or out of his chair (see 28569) |
5 |
ERIC is writing on a blackboard (see 26471, 63056) |
6 |
Unused (always reset, though checked by 25983, 26084, 26194) |
7 |
ERIC is sitting or lying on his back (see 25956, 27303, 27823, 62574, 62938, 63056) |
|
32764 |
1 |
ASCII code of last keypress (set by 26471, 63056; checked by 25916, 26194) |
32765 |
1 |
Number of character last moved (152-171) (see 25126) |
32766 |
2 |
Random number seed (see 24993) |