| Gyruss | Routines |
| Prev: 8212 | Up: Map | Next: 832A |
|
Used by the routines at lose_life and init_stage_8.
|
||||
| display_player | 830E | LD A,(status_flags) | Status flags | |
| 8311 | BIT 7,A | Check bit for 2 players | ||
| 8313 | RET Z | Return if not set | ||
| 8314 | LD HL,player_msg | PLAYER 1 message | ||
| 8317 | LD DE,$192C | VDP address | ||
| 831A | LD BC,$0008 | 8 characters | ||
| 831D | RST $38 | WRITE_VRAM | ||
| 831E | LD A,(current_player) | Current player | ||
| 8321 | OR A | Is it player 1? | ||
| 8322 | RET Z | The return | ||
| 8323 | LD A,$32 | ASCII 2 | ||
| 8325 | LD DE,$1933 | VDP address | ||
| 8328 | RST $10 | Write VDP byte | ||
| 8329 | RET | |||
| Prev: 8212 | Up: Map | Next: 832A |