Back to Skool Game status buffer
Address Length Purpose
32512 84 Screen refresh buffer (see 25248)
32596 6 Buffer for Blue room blackboard (see 26453)
Byte(s) Contents
0 Position of next clean pixel column (see 26513)
1 Number of character who last wrote on board (see 24133, 26752)
2-5 Characters written by ERIC (see 63146)
32602 6 Buffer for Yellow room blackboard (see 26453)
32608 6 Buffer for blackboard in top floor classroom of girls' skool (see 26453)
32614 6 Buffer for Science lab blackboard (see 26453)
32620 6 Buffer for blackboard in middle floor classroom of girls' skool (see 26453)
32626 14 Unused
32640 1 Time/event/status flags (see 31861)
Bit Meaning if set
0 Always reset (used to indicate lesson hasn't ended; see 31861)
1 MR WACKER is looking for ERIC to expel him (see 62770)
2 MR WACKER is looking for the truant ERIC (see 62668)
3 EINSTEIN is talking (see 61440, 61463)
4 Lines message toggle for teacher fetching ERIC (see 32062)
5 MISS TAKE is chasing ERIC (see 32062)
6 ERIC should be in class (set by 61696), dinner (set by 61631) or assembly (set by 61658) (checked by 32062)
7 ERIC should be sitting in the assembly hall (set by 61658, reset by 62032, checked by 27904 and 32062); ERIC's teacher's next absence reprimand should be STAY TILL I DISMISS YOU instead of DON'T BE LATE AGAIN (set and checked by 61696; also checked by 32062 to decide whether ERIC should be sitting down in class)
32641 1 More time/event flags (see 31861)
Bit Meaning if set
0 Teacher has arrived at top floor room in girls' skool
1 Teacher has arrived at middle floor room in girls' skool
2 Teacher has arrived at Blue room
3 Teacher has arrived at Yellow room
4 Teacher has arrived at Science lab
5 Unused
6 Unused
7 Unused
32642 6 Unused
32658 10 Unused
32668 4 Bike combination digits (see 24028, 62910)
32672 4 Science lab storeroom key combination letters (see 24028, 62910)
32676 4 Copy of the bike combination digits (with bit 7 set for those discovered by ERIC) (see 30034)
32680 4 Copy of the storeroom key combination letters (with bit 7 set for those discovered by ERIC) (see 30034)
32684 43 Unused
32727 1 (1) Code of last key pressed while writing on blackboard (see 24175); (2) LSB of address of routine for dealing with ERIC (see 57669); (3) Descent table identifier (252-255) (see 64460)
32728 1 (1) Identifier of blackboard ERIC wrote on (see 24133); (2) MSB of address of routine for dealing with ERIC (see 57669); (3) Descent table entry pointer (160-180) (see 64460)
32729 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 63210)
32730 1 ID of desk containing water pistol (see 62178)
32731 1 ID of desk containing stinkbombs (see 62178)
32732 1 ERIC's stand-up delay counter (used in demo mode; see 62178)
32733 1 ERIC's knockout delay counter (see 62094)
32734 1 255 if in demo mode, 0 otherwise (see 23907, 32433, 62178, 63189)
32735 1 Current lesson number (192-255) (see 63309)
32736 1 Lesson identifier (room in bits 0-3, teacher in bits 4-7) (see 32021, 32062, 32433, 61696, 63309)
32737 1 Number of mice caught (see 31462, 31502, 31573)
32738 1 Number of kisses left (see 24348, 30102)
32739 2 Lesson time counter (decremented in the main loop at 63210)
32741 2 Score (see 29621)
32743 2 Number of lines (see 29643)
32745 2 Hi-score (see 62815)
32747 1 Inventory flags  (set=got, reset=haven't; see 31746)
Bit Item Set Reset Checked
0 Safe key 30804 23907, 30804
1 Science lab storeroom key 24028 24028, 29681, 30229, 31254
2 Frog 31733 29462 29462
3 Water pistol (with water if bit 4 reset) 62178 23863 23863, 23907, 63898
4 Water pistol with sherry 23907 23863 23863, 23907, 63898, 64077
5 3 stinkbombs 62178 63586
6 2 stinkbombs 62178 63586
7 1 stinkbomb 62178 63586 28992
32748 1 0 if using keyboard, 1 if using Kempston (see 21664)
32749 1 Used by the routine at 63405 if bit 1 is set at 32763 to decide how to deal with ERIC
Bit Meaning if set Routine
0 ERIC is riding the bike 29278
1 ERIC is standing on a plant/plant pot 64316
2 ERIC is stepping off plant/plant pot/stage 64259
3 ERIC is falling and will land on feet 64416
4 ERIC is falling and will not land on feet 64460
5 ERIC has stepped out of top floor window 23859
6 ERIC is falling from the saddle of the bike 23843
7 ERIC is standing on the saddle of the bike 29462
32750 1 Stores the keypress table offset of the last key pressed while riding the bike (see 29278)
32751 1 Counter that determines the bike's speed while ERIC's on it (see 29278)
32752 1 The bike's momentum (see 29278)
32753 1 Stores the keypress table offset of the last key pressed (see 63210)
32754 1 ERIC's midstride/mid-action animation timer: zero unless ERIC is midstride (see 28114) or mid-action (see 57669); if non-zero, its value is copied to 32755 after ERIC has been moved from the midstride or mid-action position (see 63210)
32755 1 ERIC's main animation timer: decremented by the main loop at 63210 (when it becomes zero, the keyboard is checked and ERIC is moved accordingly), and also used by many routines that deal with ERIC to decide when to change ERIC's animatory state or location, or check the keyboard
32756 1 Doors status flags (see 28736): set = open, reset = closed
Bit Door/window
0 Left study door
1 Right study door
2 Science lab storeroom door
3 Boys' skool door
4 Skool gate
5 Drinks cabinet door
6 Top floor window
7 Middle floor window
32757 1 Character number of teacher who last gave ERIC lines (see 32062)
32758 1 LSB of the lines-giving delay counter (see 32032)
32759 1 MSB of the lines-giving delay counter (see 32032, 32062)
32760 1 LSB of address of SRB byte corresponding to the lip of the speech bubble (0 if no one's speaking) (see 26958)
32761 1 The bit set at this byte corresponds to the bit of the SRB byte (referred to by 32760 above) that corresponds to the lip of the speech bubble (see 26958)
32762 1 Column of play area that was at far left of screen the last time the routine at 26849 (update SRB for speech bubble) was called
32763 1 Used by the routine at 63405 to decide how to deal with ERIC
Bit Meaning if set Routine
0 ERIC is jumping 23907
1 Examine byte at 32749
2 ERIC is sitting/lying down 62178
3 ERIC is bending over, dropping stinkbomb etc. 57669
4 ERIC is writing on a blackboard 24175
5 ERIC is firing, hitting or kissing 24237
6 MR WACKER is expelling ERIC
7 ERIC has been knocked over 62094
32764 1 Number of character just moved (183-214; see 25296)
32765 2 Random number seed (see 25233)
32767 1 x-coordinate of the leftmost column of the play area on screen (0-160) (modified by 25026, 25080)