![]() |
Game status buffer |
Prev: B46C | Up: Map | Next: B4B3 |
Used by the routine at DisplaySpeedometer.
|
||||
These attribute bytes are copied to the attribute buffer using CopyTwelveBytes. The idea is that, 0C bytes are copied to represent the speed gauge, but where they start from is determined by a calculation on the speed.
The absolute minimum speed is 80 for right movement and 7F for left movement, so aftter the calculation will use a starting address of B4A7 to copy the 0C bytes.
The maximum speeds are 96 for right movement and 69 for left movement, these both use a starting address of B49C to copy the 0C bytes.
|
||||
Table_SpeedometerAttributes | B49C | DEFB $12 | Attribute: "RED". | |
B49D | DEFB $12 | Attribute: "RED". | ||
B49E | DEFB $12 | Attribute: "RED". | ||
B49F | DEFB $12 | Attribute: "RED". | ||
B4A0 | DEFB $12 | Attribute: "RED". | ||
B4A1 | DEFB $12 | Attribute: "RED". | ||
B4A2 | DEFB $12 | Attribute: "RED". | ||
B4A3 | DEFB $12 | Attribute: "RED". | ||
B4A4 | DEFB $12 | Attribute: "RED". | ||
B4A5 | DEFB $12 | Attribute: "RED". | ||
B4A6 | DEFB $12 | Attribute: "RED". | ||
B4A7 | DEFB $12 | Attribute: "RED". | ||
B4A8 | DEFB $12 | Attribute: "RED". | ||
B4A9 | DEFB $00 | Attribute: "BLACK". | ||
B4AA | DEFB $00 | Attribute: "BLACK". | ||
B4AB | DEFB $00 | Attribute: "BLACK". | ||
B4AC | DEFB $00 | Attribute: "BLACK". | ||
B4AD | DEFB $00 | Attribute: "BLACK". | ||
B4AE | DEFB $00 | Attribute: "BLACK". | ||
B4AF | DEFB $00 | Attribute: "BLACK". | ||
B4B0 | DEFB $00 | Attribute: "BLACK". | ||
B4B1 | DEFB $00 | Attribute: "BLACK". | ||
B4B2 | DEFB $00 | Attribute: "BLACK". |
Prev: B46C | Up: Map | Next: B4B3 |