Page Byte Address Length Description
96 0 24576 591
The game has just loaded
98 79 25167 232
Read the keyboard and update Horace's sprite accordingly
99 55 25399 163
Move Horace and the guards
99 218 25562 324
Move a guard
101 30 25886 61
Redraw the tiles behind Horace and the guards if they've moved
101 91 25947 70
Redraw the tiles behind a guard after he's moved
101 161 26017 129
Add to the score if Horace has eaten something
102 34 26146 27
Draw the guards
102 61 26173 103
Draw a guard
102 164 26276 150
Check whether Horace has run into a guard
103 58 26426 231
Lose a life
104 33 26657 73
Draw Horace
104 106 26730 157
Draw the bell and check whether Horace has sounded the alarm
105 7 26887 27
Check whether a guard should drop his lunch
105 34 26914 74
Make a guard drop his lunch if necessary
105 108 26988 34
Decrement the guard countdown timers
105 142 27022 22
Toggle the sound on/off if 'T' is pressed
105 164 27044 115
Ring the bell if necessary
106 23 27159 7
Unused
106 30 27166 4
Enter the next maze
106 34 27170 29
Initialise the guard countdown timers
106 63 27199 43
Copy a guard buffer into the temporary location
106 106 27242 13
Copy the temporary guard buffer back into place
106 119 27255 39
Make the title screen or game over sound effect
106 158 27294 9
Get the tunnel offset and bell, initial guard and entrance locations for the current maze
106 167 27303 64
Copyright © 1982 Beam Software...
106 231 27367 33
DEMO MODE  PRESS ANY KEY TO PLAY
107 8 27400 2
Title screen countdown timer
107 10 27402 1
Active guard counter
107 11 27403 1
Game mode indicator
107 12 27404 6
Wait for 26*BC+5 T states
107 18 27410 15
Collect a pseudo-random number (from the ROM)
107 33 27425 39
Print the score or high score
107 72 27464 45
Compute and print a digit
107 117 27509 97
Draw the current maze
107 214 27606 36
Draw a sprite
107 250 27642 21
Print a tile or font character
108 15 27663 17
Convert a sprite location or display file address into an attribute file address
108 32 27680 38
Check the attribute bytes at a sprite's location
108 70 27718 34
Check the attribute byte at a sprite tile location
108 104 27752 45
Copy maze background tiles into a guard's buffer
108 149 27797 45
Copy a maze background tile into a guard's buffer
108 194 27842 56
Check the tiles next to Horace or a guard
108 250 27898 29
Identify a tile in front of a sprite
109 23 27927 55
Get the location of the tile in front of a sprite
109 78 27982 88
Print 'HUNGRY' or 'HORACE' on the title screen
109 166 28070 8
Guard countdown timers
109 174 28078 2
Guard panic timer
109 176 28080 2
Temporary store for a guard's screen x- and y-coordinates
109 178 28082 4
Temporary store for direction probability parameters
109 182 28086 2
Buffer address of the guard currently being handled
109 184 28088 43
Temporary guard buffer
109 227 28131 172
Guard buffers
110 143 28303 160
Data for the word 'HUNGRY' on the title screen
111 47 28463 160
Data for the word 'HORACE' on the title screen
111 207 28623 8
Tunnel offset and bell, initial guard and entrance locations for the current maze
111 215 28631 8
Tunnel offset and bell, initial guard and entrance locations for maze 1
111 223 28639 8
Tunnel offset and bell, initial guard and entrance locations for maze 2
111 231 28647 8
Tunnel offset and bell, initial guard and entrance locations for maze 3
111 239 28655 8
Tunnel offset and bell, initial guard and entrance locations for maze 4
111 247 28663 768
Maze 2 layout
114 247 29431 768
Maze 1 layout
117 247 30199 768
Maze 3 layout
120 247 30967 768
Maze 4 layout
123 247 31735 80
Maze tiles
124 71 31815 26
PASSES   SCORE       BEST
124 97 31841 1
Sprite movement timer
124 98 31842 1
Game speed parameter (1-8)
124 99 31843 1
Current maze number
124 100 31844 1
Redundant temporary variable
124 101 31845 2
Lunch-drop countdown timer
124 103 31847 2
Address of the next pseudo-random number
124 105 31849 1
Sound on/off indicator
124 106 31850 1
'T' pressed indicator
124 107 31851 2
Horace's current location
124 109 31853 2
Horace's new location
124 111 31855 1
Temporary store for direction keypress
124 112 31856 1
Horace's animation frame (0-3)
124 113 31857 1
Horace's attribute byte
124 114 31858 1
Horace's walking animation timer
124 115 31859 2
Score
124 117 31861 2
High score
124 119 31863 1
Extra life indicator
124 120 31864 1
Number of lives remaining
124 121 31865 1
Tunnel timer
124 122 31866 2
Temporary store for Horace's screen x- and y-coordinates
124 124 31868 72
Cherry and strawberry graphics
124 196 31940 2
Bell location
124 198 31942 1
Bell animation frame counter
124 199 31943 256
Horace graphics
125 199 32199 320
Guard graphics
127 7 32519 128
Bell graphics
127 135 32647 32
Blank sprite