![]() |
Game status buffer |
Address | Length | Purpose | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
32512 | 1 |
x-coordinate of the leftmost column of the skool on screen
|
||||||||||||||||||||||||||||||||||||
32513 | 8 |
Skool 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 part of skool overwritten by speech bubble and lip
|
||||||||||||||||||||||||||||||||||||
32648 | 4 |
Unused
|
||||||||||||||||||||||||||||||||||||
32652 | 8 |
Workspace used to calculate distances of kids from 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
|
||||||||||||||||||||||||||||||||||||
32685 | 1 |
Unused
|
||||||||||||||||||||||||||||||||||||
32686 | 5 |
White Room blackboard contents buffer
|
||||||||||||||||||||||||||||||||||||
32691 | 1 |
Unused
|
||||||||||||||||||||||||||||||||||||
32692 | 5 |
Exam Room blackboard contents buffer
|
||||||||||||||||||||||||||||||||||||
32697 | 8 |
Unused
|
||||||||||||||||||||||||||||||||||||
32705 | 1 |
Stand-up delay counter used by ERIC in demo mode
Used by the routine at 62938.
|
||||||||||||||||||||||||||||||||||||
32706 | 2 |
Hi-score
|
||||||||||||||||||||||||||||||||||||
32708 | 2 |
Score
Used by the routine at 27387.
|
||||||||||||||||||||||||||||||||||||
32710 | 2 |
Lines total
Used by the routine at 30464.
|
||||||||||||||||||||||||||||||||||||
32712 | 1 |
Lesson status flags
|
||||||||||||||||||||||||||||||||||||
32713 | 1 |
Lesson signal flags
|
||||||||||||||||||||||||||||||||||||
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
Used by the routine at 63779. Holds 0 if MR CREAK has not yet asked the birth year question, 1 otherwise.
|
||||||||||||||||||||||||||||||||||||
32731 | 13 |
Unused
|
||||||||||||||||||||||||||||||||||||
32744 | 1 |
ERIC's main action timer
|
||||||||||||||||||||||||||||||||||||
32745 | 1 |
ERIC's midstride action timer
|
||||||||||||||||||||||||||||||||||||
32746 | 1 |
Shield status
Used by the routine at 28143.
|
||||||||||||||||||||||||||||||||||||
32747 | 1 |
Shield counter
Used by the routine at 28143.
|
||||||||||||||||||||||||||||||||||||
32748 | 1 |
Next clean pixel column on Reading Room blackboard
|
||||||||||||||||||||||||||||||||||||
32749 | 1 |
Number of character who last wrote on Reading Room blackboard
|
||||||||||||||||||||||||||||||||||||
32750 | 1 |
Next clean pixel column on White Room blackboard
|
||||||||||||||||||||||||||||||||||||
32751 | 1 |
Number of character who last wrote on White Room blackboard
|
||||||||||||||||||||||||||||||||||||
32752 | 1 |
Next clean pixel column on Exam Room blackboard
|
||||||||||||||||||||||||||||||||||||
32753 | 1 |
Number of character who last wrote on Exam Room blackboard
|
||||||||||||||||||||||||||||||||||||
32754 | 1 |
Lines-giving delay counter
Used by the routine at 30636.
|
||||||||||||||||||||||||||||||||||||
32755 | 1 |
Character number of teacher who last gave ERIC lines
Used by the routine at 30636.
|
||||||||||||||||||||||||||||||||||||
32756 | 1 |
Lesson descriptor
|
||||||||||||||||||||||||||||||||||||
32757 | 1 |
Delay counter used when ERIC has been knocked out
Used by the routine at 27303.
|
||||||||||||||||||||||||||||||||||||
32758 | 1 |
Action timer for ERIC
|
||||||||||||||||||||||||||||||||||||
32759 | 2 |
Lesson time counter
|
||||||||||||||||||||||||||||||||||||
32761 | 1 |
Current lesson number
Used by the routine at 26342. Holds the index (0-63) into the main timetable. Adjusted by the routine at 26880 before starting a new game.
|
||||||||||||||||||||||||||||||||||||
32762 | 1 |
Last value seen in 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
|
||||||||||||||||||||||||||||||||||||
32764 | 1 |
ASCII code of last keypress
|
||||||||||||||||||||||||||||||||||||
32765 | 1 |
Number of character last moved (152-171)
Used by the routine at 25126.
|
||||||||||||||||||||||||||||||||||||
32766 | 2 |
Random number seed
Used by the routine at 24993.
|