Game status buffer |
Address | Length | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5CB1 | 335 |
|
|||||||||||||||
5E00 | 3 |
3-byte representation of the score.
|
|||||||||||||||
5E03 | 1 |
Holds the number of players and the chosen control method.
|
|||||||||||||||
5E04 | 1 |
Either 00 or 01.
|
|||||||||||||||
5E05 | 3 |
3-byte representation of the score.
|
|||||||||||||||
5E08 | 3 |
3-byte representation of the score.
|
|||||||||||||||
5E0B | 11 |
|
|||||||||||||||
5E16 | 1 |
Values are 00 (no bug update?) up to the max number of bugs: 01 to 06. Used by all bug update routines and in a few other places.
|
|||||||||||||||
5E17 | 2 |
16-bit counter starting at 0x0000 and counting +1 (each time a sprite is moved or redrawn), although sometimes it will increment + 02. This continues until the whole game is over - for both 1 and 2 player games. Counter loops around after reaching FFFF.
|
|||||||||||||||
5E19 | 5 |
Value is calculated using the 16-bit game timer LSB value, which is used to fetch a byte from the ROM (between addresses 00 and FF), then by adding the current R.
|
|||||||||||||||
5E1E | 1 |
Either 00 for 1UP or FF for 2UP.
|
|||||||||||||||
5E1F | 1 |
Holds a copy of the last FRAMES counter.
|
|||||||||||||||
5E20 | 1 |
Has the frame been updated? 00=No 01=Yes.
|
|||||||||||||||
5E21 | 1 |
Current menu item colour attribute.
|
|||||||||||||||
5E22 | 1 |
|
|||||||||||||||
5E23 | 20 |
|
|||||||||||||||
5E37 | 1 |
Note that level 1 is 00.
|
|||||||||||||||
5E38 | 1 |
The currently active players remaining lives.
|
|||||||||||||||
5E39 | 1 |
Note that level 1 is 00.
|
|||||||||||||||
5E3A | 1 |
The inactive players remaining lives.
|
|||||||||||||||
5E3B | 1 |
|
|||||||||||||||
5E3C | 8 |
|
|||||||||||||||
5E44 | 40 |
|
|||||||||||||||
5E6C | 8 |
|
|||||||||||||||
5E74 | 3 |
|
|||||||||||||||
5E77 | 21 |
|
|||||||||||||||
5E8C | 8 |
|
|||||||||||||||
5E94 | 32 |
|
|||||||||||||||
5EB4 | 65 |
|
|||||||||||||||
5F1E | 8 |
|
|||||||||||||||
5F26 | 8 |
|
|||||||||||||||
5F2E | 10 |
|
|||||||||||||||
5F38 | 8 |
|