Page Byte Address Length Description
96 0 6000 591
The game has just loaded
98 79 624F 232
Read the keyboard and update Horace's sprite accordingly
99 55 6337 163
Move Horace and the guards
99 218 63DA 324
Move a guard
101 30 651E 61
Redraw the tiles behind Horace and the guards if they've moved
101 91 655B 70
Redraw the tiles behind a guard after he's moved
101 161 65A1 129
Add to the score if Horace has eaten something
102 34 6622 27
Draw the guards
102 61 663D 103
Draw a guard
102 164 66A4 150
Check whether Horace has run into a guard
103 58 673A 231
Lose a life
104 33 6821 73
Draw Horace
104 106 686A 157
Draw the bell and check whether Horace has sounded the alarm
105 7 6907 27
Check whether a guard should drop his lunch
105 34 6922 74
Make a guard drop his lunch if necessary
105 108 696C 34
Decrement the guard countdown timers
105 142 698E 22
Toggle the sound on/off if 'T' is pressed
105 164 69A4 115
Ring the bell if necessary
106 30 6A1E 4
Enter the next maze
106 34 6A22 29
Initialise the guard countdown timers
106 63 6A3F 43
Copy a guard buffer into the temporary location
106 106 6A6A 13
Copy the temporary guard buffer back into place
106 119 6A77 39
Make the title screen or game over sound effect
106 158 6A9E 9
Get the tunnel offset and bell, initial guard and entrance locations for the current maze
107 12 6B0C 6
Wait for 26*BC+5 T states
107 18 6B12 15
Collect a pseudo-random number (from the ROM)
107 33 6B21 39
Print the score or high score
107 72 6B48 45
Compute and print a digit
107 117 6B75 97
Draw the current maze
107 214 6BD6 36
Draw a sprite
107 250 6BFA 21
Print a tile or font character
108 15 6C0F 17
Convert a sprite location or display file address into an attribute file address
108 32 6C20 38
Check the attribute bytes at a sprite's location
108 70 6C46 34
Check the attribute byte at a sprite tile location
108 104 6C68 45
Copy maze background tiles into a guard's buffer
108 149 6C95 45
Copy a maze background tile into a guard's buffer
108 194 6CC2 56
Check the tiles next to Horace or a guard
108 250 6CFA 29
Identify a tile in front of a sprite
109 23 6D17 55
Get the location of the tile in front of a sprite
109 78 6D4E 88
Print 'HUNGRY' or 'HORACE' on the title screen