![]() |
Game status buffer |
Address | Length | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5B60 | 450 |
Initialized at routine 9470
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
5D22 | 300 |
Initialized at routine 9470.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
5E4E | 24 |
Initialized at routine A793. Three bytes for every drone. 8 drones max. Byte $00 - x-position of drone Byte $01 - y-position of drone Byte $02 - index into the offset position table for the drone
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
5E66 | 384 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
5FE6 | 426 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A0AD | 75 |
Three bytes for every atom. $00 y-delta $01 x-offset $02 y-position
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1AB | 1 |
Variable used to prevent multiple shots while FIRE key is hold down. FIRE key hold down is only available when rapid shots bonus is active
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1AC | 1 |
0-Basic Laser, 1-Double fire, 2-Laser, 3-Multiple, 4-Spray. Used to compute BOSS health
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1AD | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1AE | 2 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1B0 | 1 |
$00 or $01 select distints graphic data
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1B1 | 1 |
Values from 0 to 120
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1B2 | 2 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1B4 | 2 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1B6 | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1B7 | 2 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1B9 | 2 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1BB | 6 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1C1 | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1C2 | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1C3 | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1C4 | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1C5 | 1 |
$00 No / $FF Yes
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1C6 | 1 |
$00 No / $FF Yes
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1C7 | 1 |
$00 No / $FF Yes
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1C8 | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1C9 | 1 |
$00 Not destroy all - $01 Destroy all. Value $00 on init
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1CA | 2 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1CC | 1 |
Used in routine B258
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1CD | 2 |
Used in routine B258
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1D1 | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1D2 | 2 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1D4 | 1 |
From 9 to 0
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1D5 | 2 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1D7 | 2 |
Real score = score * 100
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1D9 | 1 |
$00 inactive - $01 active
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1DA | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1DB | 1 |
$FF inactive. Otherwise the value is the index into the table for flash commands at 99D1
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1DC | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1DD | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1DE | 1 |
$00 train not generating $01 Generating train. Always $00 in Rex (Side B)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1DF | 2 |
Really not used because there are no trains in Rex (Side B)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1E1 | 1 |
Really not used because there are no trains in Rex (Side B)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1E2 | 1 |
$00 not active $01 active
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1E5 | 1 |
Variable used to prevent activate and inactivate of shield if DOWN key is hold down
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1E6 | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1E7 | 1 |
Shield decrement when counter reaches zero
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1E8 | 1 |
$00: Not available / $01: Available. Available on init
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1E9 | 1 |
$00: Not available / $01: Available. Not available on init
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1EA | 1 |
$00: Not available / $01: Available. Not available on init
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1EB | 1 |
$00: Not available / $01: Available. Not available on init
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1EC | 1 |
$00: Not available / $01: Available. Not available on init
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1ED | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1EE | 1 |
$00 Rex alive $01 Rex dead
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1EF | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1F0 | 2 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1F2 | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1F3 | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1F4 | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1F5 | 1 |
$00 room not configured $01 room configured
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1F6 | 1 |
$00 invisible $01 visible
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1F7 | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1F8 | 1 |
$00 not atom flushing $01 atoms flushing
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1F9 | 1 |
$00 not teleporting $01 teleporting
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1FA | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1FB | 1 |
$00 teleporting on game begin $01 teleporting after dead
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1FC | 1 |
$04 on init
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1FD | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1FE | 1 |
Initialized with value $05 for time bar: number of zig-zag to remove a timer slot
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A1FF | 1 |
$00 right $01 left
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A200 | 1 |
Timer bar: 12 slots of time
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A201 | 1 |
Used as well for index into laser template graphic table at B9BE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A202 | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A203 | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A204 | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A205 | 1 |
3 smartbombs on init
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A207 | 1 |
Every time that energy quantity in A018
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A208 | 1 |
(0-speed up 1-shield loss 2-1000 bonus 3-energy loss 4-100 rapid shots)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A20A | 1 |
$00 inmortal $01 mortal
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A20B | 1 |
$00 normal speed - $01 fast speed
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A20C | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A20F | 2 |
Every 100 points increment a lives. Reset on every live awarded
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A213 | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A214 | 1 |
$01 enemy fired weapon / $00 Rex fired weapon
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A215 | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A216 | 2 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A221 | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A222 | 2 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A224 | 2 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A226 | 1 |
Value copied from Room connections and enemy configuration pointer at B1A7
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A227 | 1 |
Value copied from Room connections and enemy configuration pointer at B1A7
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A228 | 1 |
Value copied from Room connections and enemy configuration pointer at B1A7
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A229 | 1 |
Value copied from Room connections and enemy configuration pointer at B1A7
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A22A | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A22B | 1 |
Value copied from the corresponding Enemy room configuration at AFC2
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A22C | 2 |
Used as: length of the current processing line for windows setup, color attribute for windows border, color attribute for text content of the windows, ...
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A22E | 2 |
Used as: max length of the lines processed for windows setup, number of columns of the windows, horizontal position of the windows, ...
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A230 | 2 |
Vertical position of the windows. As tile color attribute and laser direction
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A232 | 1 |
Used as increment for laser y-position
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A236 | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A238 | 2 |
As Color attribute for windows body (MSB) As Pointer to the address for the current input digit for the password
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A23A | 2 |
Value $0313 on init. Used at routine A51D.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A23C | 1 |
Value $11 on init
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A23D | 7 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A244 | 2 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A246 | 1 |
Is used to configure the routines at A46A to check for key presses of the defined keys
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A247 | 1 |
$FF Kempston | $00 Cursor, Sinclair or Defined keys. $00 on init. Not used in game
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A248 | 1 |
As x-pixel-position of entity. As x-byte-position of debris
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A249 | 1 |
As y-pixel-position of entity . As y-pixel-position of debris
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A24A | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A24B | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A24C | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A24F | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A250 | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A251 | 1 |
Value $00 on init
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A252 | 2 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A254 | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A255 | 1 |
$00 not falling / otherwise falling speed ($02 or $04)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A256 | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A259 | 2 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A25B | 1 |
The list of rooms are stored into table at A986. Value $00 on init
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A25C | 1 |
Value $C8 on init. Equals to 200 loops to run.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A25D | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A25E | 2 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A260 | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A261 | 2 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A263 | 2 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A265 | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A266 | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A267 | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A268 | 1 |
$00 FINAL BOSS alive $01 FINAL BOSS dead
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A269 | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A26A | 2 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A399 | 6 |
Used in routine A383
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A3DB | 6 |
Used in routine A3BA
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
D5CA | 24 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
D5ED | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
D5EF | 1 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
D962 | 350 |
Contains two words for every tile drawn on screen. First word: address of the tile location into the room graphics buffer Second word: address of the tile graphics $FF is an end marker Tiles $00, $01, $10, $81, $95, $96, $C6 and $D6 are special tiles, not drawn. The routine C7AE fill this table and the data overwrites the main loop routine for the title screen (DAC0) and subsequent routines
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
DE13 | 5 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
E0CC | 211 |
Initialized in routine C7AE but never used. Tile count buffer spans from $DE9F to $E19E
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
E1FF | 672 |
Initialized at routine C7AE.
|