![]() |
Game status buffer |
Address | Length | Purpose | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
32512 | 1 |
x-coordinate of the leftmost column of the skool on screen
|
||||||||||||||||||||||||||||||||||||
32513 | 8 |
UDG back buffer
Used by the routine at 24843.
|
||||||||||||||||||||||||||||||||||||
32521 | 1 |
Number of on-screen character squares that need refreshing (unused)
Used by the (unused) routine at 25830.
|
||||||||||||||||||||||||||||||||||||
32522 | 2 |
Unused
|
||||||||||||||||||||||||||||||||||||
32524 | 84 |
Screen refresh buffer (SRB)
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 |
Unused
|
||||||||||||||||||||||||||||||||||||
32612 | 2 |
Speech bubble lip coordinates
|
||||||||||||||||||||||||||||||||||||
32614 | 34 |
UDG references and attribute bytes of the part of the skool overwritten by the speech bubble and lip
|
||||||||||||||||||||||||||||||||||||
32648 | 4 |
Unused
|
||||||||||||||||||||||||||||||||||||
32652 | 8 |
Workspace used to find the main kid closest to a teacher
Used by the routine at 30890.
|
||||||||||||||||||||||||||||||||||||
32660 | 2 |
Unused
|
||||||||||||||||||||||||||||||||||||
32662 | 2 |
Safe combination letter message
Used by the routine at 63829.
|
||||||||||||||||||||||||||||||||||||
32664 | 2 |
Unused
|
||||||||||||||||||||||||||||||||||||
32666 | 1 |
Identifier for CREAK's birth year battle
|
||||||||||||||||||||||||||||||||||||
32667 | 4 |
CREAK's year of birth
|
||||||||||||||||||||||||||||||||||||
32671 | 4 |
Safe combination code
|
||||||||||||||||||||||||||||||||||||
32675 | 4 |
Teachers' safe combination letters
|
||||||||||||||||||||||||||||||||||||
32679 | 1 |
Unused
|
||||||||||||||||||||||||||||||||||||
32680 | 5 |
Reading Room blackboard contents buffer
Used by the routine at 63270.
|
||||||||||||||||||||||||||||||||||||
32685 | 1 |
Unused
|
||||||||||||||||||||||||||||||||||||
32686 | 5 |
White Room blackboard contents buffer
Used by the routine at 63270.
|
||||||||||||||||||||||||||||||||||||
32691 | 1 |
Unused
|
||||||||||||||||||||||||||||||||||||
32692 | 5 |
Exam Room blackboard contents buffer
Used by the routine at 63270.
|
||||||||||||||||||||||||||||||||||||
32697 | 8 |
Unused
|
||||||||||||||||||||||||||||||||||||
32705 | 1 |
ERIC's stand-up delay counter
Used by the routine at 62938 while in demo mode.
|
||||||||||||||||||||||||||||||||||||
32706 | 2 |
Hi-score
|
||||||||||||||||||||||||||||||||||||
32708 | 2 |
Score
Used by the routine at 27387.
|
||||||||||||||||||||||||||||||||||||
32710 | 2 |
Lines total
|
||||||||||||||||||||||||||||||||||||
32712 | 1 |
Lesson status flags
Various status flags for the current lesson.
|
||||||||||||||||||||||||||||||||||||
32713 | 1 |
Lesson signal flags
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.
|
||||||||||||||||||||||||||||||||||||
32714 | 1 |
Stampede signal flags
|
||||||||||||||||||||||||||||||||||||
32715 | 1 |
Special playtime signal flags
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).
|
||||||||||||||||||||||||||||||||||||
32716 | 14 |
Unused
|
||||||||||||||||||||||||||||||||||||
32730 | 1 |
Birth year question indicator
|
||||||||||||||||||||||||||||||||||||
32731 | 13 |
Unused
|
||||||||||||||||||||||||||||||||||||
32744 | 1 |
ERIC's main action timer
|
||||||||||||||||||||||||||||||||||||
32745 | 1 |
ERIC's midstride/mid-action timer
|
||||||||||||||||||||||||||||||||||||
32746 | 1 |
Game mode indicator
Used by the routine at 28143.
|
||||||||||||||||||||||||||||||||||||
32747 | 1 |
Shield counter
Used by the routine at 28143.
|
||||||||||||||||||||||||||||||||||||
32748 | 1 |
Next clean pixel column on the Reading Room blackboard
|
||||||||||||||||||||||||||||||||||||
32749 | 1 |
Number of the character who last wrote on the Reading Room blackboard
|
||||||||||||||||||||||||||||||||||||
32750 | 1 |
Next clean pixel column on the White Room blackboard
|
||||||||||||||||||||||||||||||||||||
32751 | 1 |
Number of the character who last wrote on the White Room blackboard
|
||||||||||||||||||||||||||||||||||||
32752 | 1 |
Next clean pixel column on the Exam Room blackboard
|
||||||||||||||||||||||||||||||||||||
32753 | 1 |
Number of the character who last wrote on the Exam Room blackboard
|
||||||||||||||||||||||||||||||||||||
32754 | 1 |
Lines-giving delay counter
Used by the routine at 30636.
|
||||||||||||||||||||||||||||||||||||
32755 | 1 |
Character number of the teacher who last gave ERIC lines
Used by the routine at 30636.
|
||||||||||||||||||||||||||||||||||||
32756 | 1 |
Lesson descriptor
|
||||||||||||||||||||||||||||||||||||
32757 | 1 |
ERIC's knockout delay counter
Used by the routine at 27303.
|
||||||||||||||||||||||||||||||||||||
32758 | 1 |
Action timer for ERIC
|
||||||||||||||||||||||||||||||||||||
32759 | 2 |
Lesson clock
|
||||||||||||||||||||||||||||||||||||
32761 | 1 |
Current lesson number
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 |
Last value seen in the system variable FRAMES
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 |
ERIC's status flags
If ERIC is doing anything other than walking or standing still, one of the bits here will be set.
|
||||||||||||||||||||||||||||||||||||
32764 | 1 |
Last key pressed
|
||||||||||||||||||||||||||||||||||||
32765 | 1 |
Number of the character just moved (152-171)
Used by the routine at 25126.
|
||||||||||||||||||||||||||||||||||||
32766 | 2 |
Random number seed
Used by the routine at 24993.
|