| Gyruss | Routines |
| Prev: A6C8 | Up: Map | Next: A6EC |
|
Used by the routines at init_stage_8 and add_score.
|
||||
| display_lives | A6D2 | LD HL,$1AE2 | VDP address of 'lives' | |
| A6D5 | LD DE,$0009 | Count | ||
| A6D8 | XOR A | Value | ||
| A6D9 | CALL $1F82 | FILL_VRAM | ||
| A6DC | LD A,(lives) | Get lives | ||
| A6DF | DEC A | Display one less live | ||
| A6E0 | RET Z | Return if none to display | ||
| A6E1 | LD B,A | Count | ||
| A6E2 | LD DE,$1AE2 | VDP address | ||
| A6E5 | LD A,$21 | Ship character | ||
| display_lives_0 | A6E7 | RST $10 | Write VDP byte | |
| A6E8 | INC DE | Next VDP address | ||
| A6E9 | DJNZ display_lives_0 | Loop | ||
| A6EB | RET | |||
| Prev: A6C8 | Up: Map | Next: A6EC |