Skool Daze Routines
Address Description
24288 Start
24576 Scroll screen right one column
24731 Scroll screen left one column
24832 Print a character square (unused)
24843 Print a character square
24972 Get byte from command list
24993 Get random number
25008 Update character's animatory state and location and update SRB
25108 Update SRB for current location of character
25126 Move characters (1)
25172 Move characters (2)
25248 Remove routine address from character's buffer
25266 Determine whether character should be moved (1)
25303 Make character move about until a certain time
25367 Determine whether character should be moved (2)
25374 Check whether signal has been raised
25404 Guide character to intermediate destination
25484 Guide character up a staircase
25488 Guide character down a staircase
25534 Make character go to a location
25695 Guide character from top floor to another floor
25700 Guide character from bottom floor to another floor
25750 Guide character to a location on the same floor
25810 Scroll screen right 8 columns
25820 Scroll screen left 8 columns
25830 Update display (unused)
25856 Move ERIC from midstride position, then scroll screen if necessary
25916 Put ERIC midstride, or raise his arm while writing on a blackboard
25956 Check whether ERIC is sitting or lying on his back
25962 Turn ERIC round
25983 'A' pressed - down
26084 'Q' pressed - up
26184 Check whether character is on stairs
26194 'O' pressed - left
26282 'P' pressed - right
26342 Change lesson
26422 Check for keypresses (unused)
26426 Check for keypresses
26450 Ring bell
26471 Main loop
26584 Get input from Kempston joystick if in use
26784 Request input method (keyboard, joystick, etc.)
26880 Start the game
27008 Update SRB for column of sprite
27026 Update display
27090 Set random destination for character
27111 Make character go to a place at random
27126 Trip people up
27196 Make stricken character give lines if he's a teacher
27206 Deal with character who has been knocked over
27246 Make character go to a place at random and trip people up on the way
27266 Make character find and follow little boy no. 1
27303 Deal with ERIC if he's been hit by fist or pellet
27351 Return to main loop having already dealt with ERIC
27353 Move ERIC
27387 Add to the score and print it
27406 Print the bottom 3 lines of the screen
27442 Send character on a mini-walkabout
27453 Make character perform certain number of mini-walkabouts
27476 Unset signal for a certain event
27480 Set signal for a certain event
27517 Check whether chair is already occupied
27543 Knock occupant from chair
27632 Check whether character is beside a chair
27733 Deal with character who's been dethroned (1)
27748 Deal with character who's been dethroned (2)
27772 Make character find a seat and sit down (2)
27808 Make character find a seat and sit down (1)
27823 'S' pressed - sit/stand
27888 Make character stand up if he's not already
27914 Get base address of UDG data for a given sprite UDG reference
27932 Control horizontal flight of catapult pellet
28102 Control vertical flight of catapult pellet
28143 Check whether catapult pellet has hit a shield
28211 Select "special" PLAYTIME occasionally
28220 Check whether boy can be seen by a teacher
28304 Determine which floor is nearest to a character
28327 Get limits of range within which one character can be seen by another
28416 Check for character facing punching character
28446 Make ANGELFACE hit now and then
28544 Make ANGELFACE throw a punch (1)
28558 Make ANGELFACE throw a punch (2)
28569 Check whether anyone was hit by fist
28642 Make ANGELFACE throw a punch (3)
28655 Make ANGELFACE throw a punch (4)
28665 Make BOY WANDER fire catapult (1)
28672 Make BOY WANDER fire catapult now and then
28716 Make BOY WANDER fire catapult (2)
28733 Make BOY WANDER fire catapult (3)
28744 Make BOY WANDER fire catapult (4)
28775 Make BOY WANDER fire catapult (5)
28786 Make BOY WANDER fire catapult (6)
28799 Make BOY WANDER fire catapult (7)
28807 Update SRB for specific skool location
28882 Get next character of message being spoken or written
28968 Get identifier and coordinates of blackboard closest to character
28994 Write a single character on a blackboard
29148 Make teacher wipe blackboard (1)
29160 Make teacher wipe blackboard (2)
29284 Make character write on a blackboard
29394 Update SRB for middle six UDG columns of speech bubble
29442 Slide message character into speech bubble text window (2)
29518 Make character start speaking if possible
29706 Slide message character into speech bubble text window (1)
29735 Update SRB for speech bubble
29746 Remove speech bubble
29871 Save area of screen overwritten by lines bubble
29977 Copy graphic buffer to the screen
30042 Write line of text into graphic buffer
30097 Insert pixel column into graphic buffer
30132 Draw left and right edges of lines bubble in buffer
30156 Print lines message
30208 Write character's name into lines bubble graphic buffer
30258 Push pixel column of font character bitmap into buffer at 55560
30278 Generate graphic for number
30408 Print the number of lines, the score or the high score (1)
30432 Write number of lines into lines bubble graphic buffer
30457 Print the number of lines, the score or the high score (2)
30464 Make teacher give lines
30636 Give lines to ERIC if he's not where he should be
30890 Make teacher give lines to closest main kid
31040 Print lesson
31110 Make a character speak (1)
31130 Make a character speak (2)
31162 Make character grass and answer teacher's questions (1)
31178 Make character grass and answer teacher's questions (2)
31188 Check whether ERIC is in class
31229 Get ERIC's coordinates
31282 Prepare a question and answer
31452 Determine next move of character following another character
31638 Rewind to specific instruction in command list
31648 Make teacher track down the truant ERIC (1)
31739 Move character looking for ERIC one step in the right direction
31768 Make teacher track down the truant ERIC (2)
31807 Restart command list unless it's time to start lesson
31815 Restart command list
31834 Place routine address in character's buffer
31854 Make teacher perform dinner duty (1)
31895 Make teacher perform dinner duty (2)
31904 Make teacher give lines to EINSTEIN or ERIC
31919 Make teacher wait for EINSTEIN to finish speaking (1)
31944 Make teacher wait for EINSTEIN to finish speaking (2)
31952 Make teacher wait for EINSTEIN to sit down or check that ERIC is present
31968 Give EINSTEIN lines for telling tales (if in the mood)
31985 Place routine address into bytes 105 and 106 of character's buffer
31996 Make teacher tell kids to go to a certain page in their books
32048 Make teacher wipe board and conduct class without ERIC
32132 Make teacher tell kids to sit down
32158 Make BOY WANDER write on board (if it's clean)
32167 Make BOY WANDER write on board (if there's time)
32178 Make teacher conduct class
32216 Slide top or bottom half of text window in speech bubble one pixel left
32234 Make character walk fast
32242 Make character speak at correct speed
32250 Exit demo mode
32279 Play tune
32390 Play theme tune for the first time
32400 Play theme tune
32406 Play the 'Got all shields/opened safe' tune
32418 Play first part of the 'Got all shields/opened safe' tune
32470 Remove speech bubble if present
32484 Save Skool Daze to tape
44520 Slide pixel column into graphic buffer
44776 Slide message text into graphic buffer
44919 Set animatory state and y-coordinate of character to be walked on screen (1)
45032 Print a message
45170 Get LSB of message address for main character's name
45288 Print a character's title and name, and walk him onto the screen (1)
45429 Set animatory state and y-coordinate of character to be walked on screen (2)
45544 Print a character's title and name, and walk him onto the screen (2)
45682 Prepare message in graphic buffer (1)
45800 Print a character's title and name, and walk him onto the screen (3)
45937 Prepare message in graphic buffer (2)
46056 Print a character's title and name, and walk him onto the screen (4)
46070 Print "PRESS'C'TO CHANGE NAME"
46202 Set animatory state and y-coordinate of character to be walked on screen (3)
46312 Move character forward one step along catwalk
46568 Walk a character on or off screen
46824 Print "PRESS'C'TO CHANGE NAME" and wait for keypress
47080 Collect a keypress while new character name is being entered
47208 Change a character's name (1)
47336 Change a character's name (2)
58604 Play the 'hit a shield' sound effect
60128 Make a hitting sound effect
60139 Make a jumping sound effect
60896 Prepare for a new game
61152 Prepare to change names of characters
61408 Change names of characters
62208 Make teacher wipe board and conduct class with ERIC and EINSTEIN
62464 Make teacher conduct question and answer session
62495 Control ERIC when firing catapult
62574 'F' pressed - fire catapult
62610 'H' pressed - hit
62617 'J' pressed - jump
62628 Control ERIC while hitting
62674 Get attribute file address of pellet's potential target or the safe
62705 Set new score and print it
62714 Open lip of speech bubble
62750 Check whether ERIC has jumped up to the safe or a shield (1)
62771 Deal with ERIC while jumping
62905 Check whether ERIC is standing on a boy who's been knocked out
62938 Collect or simulate keypresses
63056 'W' pressed - write on board
63146 Deal with ERIC when he's writing on a blackboard
63191 Make CREAK reveal safe combination letter if appropriate
63231 Get address of appropriate 'Go home' message
63242 Unflash the safe and all shields
63270 Check whether ERIC has jumped up to the safe or a shield (2)
63352 Deal with ERIC when he's being spoken to by a little boy
63374 Make character find ERIC
63456 Make character give ERIC 2000 lines
63488 Make character give ERIC a message
63573 Generate new safe combination code
63668 Adjust status of shields and safe
63734 Check whether CREAK should reveal safe combination letter
63749 Collect identifier for next lesson
63768 Scroll skool into view and enter main loop
63779 Make MR CREAK ask birth year question if appropriate
63829 Make stricken teacher give lines or reveal safe combination letter
63909 Print lesson box
63931 Check whether ERIC has 10000 lines
63964 Make character tell ERIC to go home, and end game (1)
63973 Compare character's coordinates with ERIC's
63990 Make character tell ERIC to go home, and end game (2)
64004 Adjust lesson length and prepare character for the search for ERIC
64016 Check whether CREAK is near a blackboard last written on by ERIC
64035 Restart command list 220
64042 Check whether ANGELFACE is touching ERIC
64073 Ask whether character names should be changed
65088 Make a walking sound effect (yellow border)
65106 Make a walking sound effect (blue border)
65111 Make a knocked-out sound effect
65141 Make catapult sound effect