Page Byte Address Description
64 0 16384
Loading screen
91 0 23296
General Buffer
91 128 23424
Draw Text (alias)
91 131 23427
Displays The "Life" Images (alias)
91 134 23430
Lives Memory Address
91 136 23432
Jump Controls
91 140 23436
Scoring Preparation (alias)
91 143 23439
Character Address (alias)
91 146 23442
Draw Character (alias)
91 149 23445
Merge Shot (alias)
91 152 23448
Display The "Score" Images (alias)
91 155 23451
Unused
91 192 23488
Dueller Number 1
91 209 23505
Dueller Number 2
91 226 23522
Dueller Number 3
91 243 23539
Data block at 5BF3
92 176 23728
Control method
92 177 23729
Current Level
92 178 23730
Unused
92 240 23792
Unused
93 0 23808
Startup code (Dinamic)
93 69 23877
Unused/ Stack
96 0 24576
High Score Table
99 128 25472
Level Selection
100 146 25746
Level Selection Text
100 200 25800
Unused
100 203 25803
Unused
101 0 25856
Sounds
101 128 25984
Unused
101 170 26026
Unused
101 174 26030
Unused
102 0 26112
Scroll Screen Right
103 0 26368
Scroll Screen Left
104 0 26624
Jack Vicious (bandit)
110 48 28208
Green Jordan (customer)
120 128 30848
Bandit 2
124 160 31904
Daisy (customer)
134 240 34544
Bandit 3
141 32 36128
Bandit 4
147 80 37712
Bandit 5
153 128 39296
Bandit 6
159 176 40880
Bowie (special)
178 64 45632
Julius (special)
186 128 47744
Door Frame 1
188 232 48360
Door Frame 2
190 160 48800
Door Frame 3
191 168 49064
Door Frame 4
192 0 49152
BANG!
192 160 49312
Character Set
194 224 49888
Unused
195 0 49920
Draw Playfield
195 187 50107
Unused
195 192 50112
Start the duel
195 234 50154
Duel Bonus Round Data
196 33 50209
The speed to run the duel, from 1 (slowest) to 32 (fastest). It is always set to 1 and never changes.
196 34 50210
Duel Bonus Round
197 131 50563
Play a gunshot sound
197 139 50571
Run the state machine on a dueller
197 235 50667
Take action on a dueller if the player shot them
197 246 50678
Player shot a dueller after they drew, so award a bonus.
198 34 50722
"Extra" text
198 40 50728
Displays "Extra" and Bonus Score text
198 77 50765
Playfield Text
198 97 50785
Draw Duel Bandit
198 127 50815
Set the time delay for a dueller
198 135 50823
Lose A Life
198 144 50832
Is The Duel Finished?
198 167 50855
Write "Lives" text
198 177 50865
Duel: Gain Extra Life
198 211 50899
Write "Countdown" text
198 224 50912
Duel Countdown Timer
198 226 50914
Duel Shot Flag
198 227 50915
Duel Lost Life Flag
198 228 50916
Duel Extra Life Flag
198 229 50917
Process Dueller Shot when it's too early
198 240 50928
Flash Life Image
199 30 50974
Unused
199 32 50976
Sheriff's Star Page
199 101 51045
Sheriff's Star Page Text
199 189 51133
Unused
199 192 51136
New Game
199 229 51173
Run the game
201 65 51521
Make the game run faster
201 89 51545
Door Attributes
201 183 51639
Prepare To Display The Current Phase
202 128 51840
Set to 1 if this phase is complete
202 129 51841
Run a phase and bonus level until completed or game over
202 231 51943
Main game loop
203 207 52175
Unused
203 208 52176
Current text attributes
203 210 52178
Draw Text in two colours
203 252 52220
Draw a Character
204 43 52267
Get the attribute address from a screen address
204 56 52280
Buffer for holding Copy_Routine address
204 58 52282
Main Playfield Initialisation
204 89 52313
Number of lives remaining
204 90 52314
Display The "Life" Images
204 141 52365
Deposit Flags
204 153 52377
Probably represents each block of six deposit flags
204 155 52379
Draws Deposit Cashboxes
205 27 52507
Flash Lives/ Lose Life
205 71 52551
Dramatic effect / Lose a life
205 100 52580
Configurable "pause"
205 104 52584
Initialise Door Flags
205 126 52606
Debugger
205 134 52614
Score ($06 bytes)
205 140 52620
Game status buffer entry at CD8C
205 141 52621
Game status buffer entry at CD8D
205 144 52624
Draw Score To The Screen
205 174 52654
Draw Numbering from Character Set Index
205 195 52675
Apply Scoring
206 18 52754
Control Method Routine Alias
206 20 52756
Door Routine Buffer
206 26 52762
Door Frame Reference
206 27 52763
Basic door speed multiplier for opening doors - always 3.
206 28 52764
Game speed. Starts at 1280 for phase one, then gradually gets faster.
206 30 52766
Current door speed multiplier (larger = slower). Cycles between the value in 52763 and 1, allowing doors to open at different times.
206 31 52767
Defines the entry point for the choosing routines. Note, this isn't for one choice - they chain into each other this simply points to where the chain starts.
206 33 52769
Choose Door Character
206 184 52920
Character Initialisations
208 118 53366
Character Defaults
209 47 53551
Door data values
209 101 53605
Door 1 Flags
209 115 53619
Door 2 Flags
209 129 53633
Door 3 Flags
209 143 53647
Set to 1 if state times should not be copied back after being run
209 144 53648
Set to 1 if money should be collected from this door
209 145 53649
Set to 1 if the reward screen should appear at the end of a run of 9 days (for day 2 and above).
209 146 53650
Copy Source Character Data To Character State Data
210 207 53967
Run the appropriate keyboard or joystick routine
210 215 53975
Take action on player input
210 254 54014
Player mistakes
210 255 54015
Most recent user input for gun
211 0 54016
Player Shot
211 1 54017
Player Left/ Right
211 3 54019
Player Shooting
211 7 54023
Action Controls
211 146 54162
Reads In-Game Joystick Controls
211 155 54171
Reads In-Game Keyboard Controls (1-2-3)
211 180 54196
Draw Gun Shot Mask
211 203 54219
Draw Gun Shot
211 226 54242
Reads In-Game Controls (Left + Right)
211 234 54250
Scan the doors to see if they are closed, and take action if so
212 7 54279
Return with the carry flag set if the phase is complete
212 17 54289
See if all doors are closed, then check for movement
212 45 54317
Move right
212 73 54345
Move left
212 92 54364
Cash Deposit Box Reference
212 94 54366
Highlight Active Doors
212 143 54415
Customer Logic
213 163 54691
Hit Detection
213 176 54704
Character Index
213 202 54730
Draw Character In Doorway
213 230 54758
Copy Routine
213 250 54778
Merge Gun Shot Onto Background
214 16 54800
Adjust a screen address across a boundary
214 30 54814
Write Character And Door To Buffer
214 100 54884
Draw Doors
215 30 55070
Generic Bandit in Door Frame Logic
215 197 55237
Bowie logic
216 161 55457
Remove a character from a door
216 172 55468
Hash values for random number generator
216 176 55472
Generate a random number
216 229 55525
Julius logic
218 12 55820
Drawing Bandit Logic
218 239 56047
Generate a random number added to the system clock.
218 254 56062
Unused
223 160 57248
Slot Numbering
224 96 57440
Centrepiece
224 192 57536
Top Door Frames
225 192 57792
Left Side Wall
226 112 57968
Middle Wall Section
227 208 58320
Door Frame Right Side
228 40 58408
Bottom Door Frames
229 40 58664
Tellers
233 40 59688
Score Image (text)
233 136 59784
Lives Image (text)
234 144 60048
Door Buffer
237 0 60672
Attribute Data
240 0 61440
BANG Frames
246 0 62976
Sheriffs Badge
248 128 63616
Display the "blown up" effect after shooting the bomb
249 0 63744
Dollar Sign
249 80 63824
Dollar Sign (scrolling)
250 0 64000
High Score Entry
251 120 64376
High Score Table Name Entry
251 213 64469
Print a high score entry
252 103 64615
Unused
253 0 64768
Unused
253 128 64896
Abort the game after pressing break (CAPS + SPACE)
253 206 64974
Unused
253 209 64977
Unused
254 0 65024
Title Screen
254 234 65258
Title Screen/ Game Options
255 88 65368
Gun Shot Mask
255 104 65384
Gun Shot
255 120 65400
Cash Box
255 184 65464
Lives Graphic
255 232 65512
Data block at FFE8