![]() |
Game status buffer |
Address | Length | Purpose | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
32512 | 84 |
Screen refresh buffer (SRB)
Used by the routines at 24880, 25248, 26380, 26849 and 26910. 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 7 corresponds to the leftmost character square in the segment, bit 0 to the rightmost character square.
|
|||||||||||||||||||||||||||||||||||||||||||||
32596 | 6 |
Buffer for Blue Room blackboard
|
|||||||||||||||||||||||||||||||||||||||||||||
32602 | 6 |
Buffer for Yellow Room blackboard
|
|||||||||||||||||||||||||||||||||||||||||||||
32608 | 6 |
Buffer for blackboard in top-floor classroom of girls' skool
|
|||||||||||||||||||||||||||||||||||||||||||||
32614 | 6 |
Buffer for Science Lab blackboard
|
|||||||||||||||||||||||||||||||||||||||||||||
32620 | 6 |
Buffer for blackboard in middle-floor classroom of girls' skool
|
|||||||||||||||||||||||||||||||||||||||||||||
32626 | 14 |
Unused
|
|||||||||||||||||||||||||||||||||||||||||||||
32640 | 1 |
Time/event/status flags
|
|||||||||||||||||||||||||||||||||||||||||||||
32641 | 1 |
More time/event flags
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.
|
|||||||||||||||||||||||||||||||||||||||||||||
32642 | 6 |
Unused
|
|||||||||||||||||||||||||||||||||||||||||||||
32648 | 2 |
Message 6: '{teacher}'
|
|||||||||||||||||||||||||||||||||||||||||||||
32650 | 2 |
Message 5: '{lines recipient}/combination number or letter/{room}'
|
|||||||||||||||||||||||||||||||||||||||||||||
32652 | 2 |
Message 10: '{mountain}/{king}/{animal}/{verb}'
|
|||||||||||||||||||||||||||||||||||||||||||||
32654 | 2 |
Message 11: '{country}/{year}/{habitat}/{noun}'
|
|||||||||||||||||||||||||||||||||||||||||||||
32656 | 2 |
Message 7: '{grassee}'
Used by the routine at 61696 to hold the character number of whoever is being grassed up by EINSTEIN for writing on the board (206=BOY WANDER, or 210=ERIC); it is a submessage of message 88. Note that storing the character number (206 or 210) here is a mistake; it should be the message number of the character's name (27 or 31) instead. In any case, this message (along with parent message 88) is never used, because of a bug in the section of code at 61852.
|
|||||||||||||||||||||||||||||||||||||||||||||
32658 | 10 |
Unused
|
|||||||||||||||||||||||||||||||||||||||||||||
32668 | 8 |
Bike and Science Lab storeroom combinations
|
|||||||||||||||||||||||||||||||||||||||||||||
32676 | 8 |
Copy of the bike and Science Lab storeroom combinations
Used by the routine at 30034. The digits or letters discovered by ERIC have bit 7 set (to indicate that he has already scored points for doing so).
|
|||||||||||||||||||||||||||||||||||||||||||||
32684 | 43 |
Unused
|
|||||||||||||||||||||||||||||||||||||||||||||
32727 | 1 |
Various ERIC-related data (1)
|
|||||||||||||||||||||||||||||||||||||||||||||
32728 | 1 |
Various ERIC-related data (2)
|
|||||||||||||||||||||||||||||||||||||||||||||
32729 | 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 63210).
|
|||||||||||||||||||||||||||||||||||||||||||||
32730 | 1 |
ID of desk containing water pistol
Used by the routine at 62178.
|
|||||||||||||||||||||||||||||||||||||||||||||
32731 | 1 |
ID of desk containing stinkbombs
Used by the routine at 62178.
|
|||||||||||||||||||||||||||||||||||||||||||||
32732 | 1 |
ERIC's stand-up delay counter
Used by the routine at 62178 while in demo mode.
|
|||||||||||||||||||||||||||||||||||||||||||||
32733 | 1 |
ERIC's knockout delay counter
Used by the routine at 62094.
|
|||||||||||||||||||||||||||||||||||||||||||||
32734 | 1 |
Game mode indicator
|
|||||||||||||||||||||||||||||||||||||||||||||
32735 | 1 |
Current lesson number
Used by the routine at 63309. Holds the index (192-255) into the main timetable. Adjusted by the routine at 62910 before starting a new game.
|
|||||||||||||||||||||||||||||||||||||||||||||
32736 | 1 |
Lesson descriptor
|
|||||||||||||||||||||||||||||||||||||||||||||
32737 | 1 |
Number of mice caught
|
|||||||||||||||||||||||||||||||||||||||||||||
32738 | 1 |
Number of kisses left
|
|||||||||||||||||||||||||||||||||||||||||||||
32739 | 2 |
Lesson time counter
|
|||||||||||||||||||||||||||||||||||||||||||||
32741 | 2 |
Score
Used by the routine at 29621.
|
|||||||||||||||||||||||||||||||||||||||||||||
32743 | 2 |
Lines total
Used by the routine at 29643.
|
|||||||||||||||||||||||||||||||||||||||||||||
32745 | 2 |
Hi-score
Used by the routine at 62815.
|
|||||||||||||||||||||||||||||||||||||||||||||
32747 | 1 |
Inventory flags
Used by the routine at 31746. Bit set=got, bit reset=haven't.
|
|||||||||||||||||||||||||||||||||||||||||||||
32748 | 1 |
Input device indicator
|
|||||||||||||||||||||||||||||||||||||||||||||
32749 | 1 |
ERIC's secondary status flags
Used by the routine at 63405 to decide how to deal with ERIC when bit 1 is set at 32763.
|
|||||||||||||||||||||||||||||||||||||||||||||
32750 | 1 |
Last key pressed while riding the bike
Used by the routine at 29278. Holds the value from the keypress offset table corresponding to the last key pressed while riding the bike.
|
|||||||||||||||||||||||||||||||||||||||||||||
32751 | 1 |
Counter that determines the bike's speed while ERIC's on it
Used by the routine at 29278.
|
|||||||||||||||||||||||||||||||||||||||||||||
32752 | 1 |
Bike's momentum
Used by the routine at 29278.
|
|||||||||||||||||||||||||||||||||||||||||||||
32753 | 1 |
Last key pressed
Used by the routine at 63210. Holds the value from the keypress offset table corresponding to the last key pressed.
|
|||||||||||||||||||||||||||||||||||||||||||||
32754 | 1 |
ERIC's midstride/mid-action animation timer
|
|||||||||||||||||||||||||||||||||||||||||||||
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. Also used by many routines that deal with ERIC to decide when to change ERIC's animatory state or location, or when to check the keyboard.
|
|||||||||||||||||||||||||||||||||||||||||||||
32756 | 1 |
Door/window status flags
Used by the routine at 28736. Bit set=open, bit reset=closed.
|
|||||||||||||||||||||||||||||||||||||||||||||
32757 | 1 |
Character number of teacher who last gave ERIC lines
Used by the routine at 32062.
|
|||||||||||||||||||||||||||||||||||||||||||||
32758 | 1 |
LSB of the lines-giving delay counter
|
|||||||||||||||||||||||||||||||||||||||||||||
32759 | 1 |
MSB of the lines-giving delay counter
|
|||||||||||||||||||||||||||||||||||||||||||||
32760 | 1 |
LSB of address of SRB byte corresponding to the lip of the speech bubble
Used by the routine at 26958. Holds 0 if no one's speaking.
|
|||||||||||||||||||||||||||||||||||||||||||||
32761 | 1 |
Speech bubble lip SRB bit
|
|||||||||||||||||||||||||||||||||||||||||||||
32762 | 1 |
Leftmost column of play area on screen last time SRB was updated for speech bubble
Holds the column of the play area that was at the far left of the screen the last time the routine at 26849 (update SRB for speech bubble) was called.
|
|||||||||||||||||||||||||||||||||||||||||||||
32763 | 1 |
ERIC's primary status flags
Used by the routine at 63405 to decide how to deal with ERIC.
|
|||||||||||||||||||||||||||||||||||||||||||||
32764 | 1 |
Number of character just moved (183-214)
Used by the routine at 25296.
|
|||||||||||||||||||||||||||||||||||||||||||||
32765 | 2 |
Random number seed
Used by the routine at 25233.
|
|||||||||||||||||||||||||||||||||||||||||||||
32767 | 1 |
x-coordinate of the leftmost column of the play area on screen (0-160)
|