![]() |
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 the Blue Room blackboard
|
|||||||||||||||||||||||||||||||||||||||||||||
32602 | 6 |
Buffer for the Yellow Room blackboard
|
|||||||||||||||||||||||||||||||||||||||||||||
32608 | 6 |
Buffer for the blackboard in the top-floor classroom of the girls' skool
|
|||||||||||||||||||||||||||||||||||||||||||||
32614 | 6 |
Buffer for the Science Lab blackboard
|
|||||||||||||||||||||||||||||||||||||||||||||
32620 | 6 |
Buffer for the blackboard in the middle-floor classroom of the girls' skool
|
|||||||||||||||||||||||||||||||||||||||||||||
32626 | 14 |
Unused
|
|||||||||||||||||||||||||||||||||||||||||||||
32640 | 1 |
Various flags
Various status flags for the current lesson.
|
|||||||||||||||||||||||||||||||||||||||||||||
32641 | 1 |
Lesson signal 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)
Used in conjunction with the contents of 32728. Holds the ASCII code of the last key pressed while writing on a blackboard (see 24175), or the descent table identifier (252-255; see 64460), or the LSB of the address of a routine (or an entry point to a routine) for dealing either with ERIC or with the result of an action by ERIC (see 57669):
|
|||||||||||||||||||||||||||||||||||||||||||||
32728 | 1 |
Various ERIC-related data (2)
Used in conjunction with the contents of 32727. Holds the identifier of the blackboard ERIC wrote on (see 24133), or the descent table entry pointer (160-180; see 64460), or the MSB of the address of a routine (or an entry point to a routine) for dealing either with ERIC or with the result of an action by ERIC (see 57669, and 32727 for a list of the routine and entry point addresses).
|
|||||||||||||||||||||||||||||||||||||||||||||
32729 | 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 63210).
|
|||||||||||||||||||||||||||||||||||||||||||||
32730 | 1 |
ID of the desk containing the water pistol
Used by the routine at 62178.
|
|||||||||||||||||||||||||||||||||||||||||||||
32731 | 1 |
ID of the desk containing the 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 |
Kiss counter
|
|||||||||||||||||||||||||||||||||||||||||||||
32739 | 2 |
Lesson clock
|
|||||||||||||||||||||||||||||||||||||||||||||
32741 | 2 |
Score
Used by the routine at 29621.
|
|||||||||||||||||||||||||||||||||||||||||||||
32743 | 2 |
Lines total
|
|||||||||||||||||||||||||||||||||||||||||||||
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
Set by the routine at 63210; checked by the routines at 28114 and 28216. Holds the value from the keypress offset table corresponding to the last key pressed.
|
|||||||||||||||||||||||||||||||||||||||||||||
32754 | 1 |
ERIC's midstride/mid-action timer
|
|||||||||||||||||||||||||||||||||||||||||||||
32755 | 1 |
ERIC's main action 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 the 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 the address of the 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 the play area on screen the last time the SRB was updated for the 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 the SRB for the 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 the 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
|