| The Hobbit (v1.0) | Routines |
| Prev: 81E6 | Up: Map | Next: 8209 |
|
Turns the border green, waits for a key to be pressed and released (8271), and turns the border white again. The game is frozen in the meantime: no timers run and no characters act.
|
||||
| 81F2 | LD A,$04 | Green border | ||
| 81F4 | OUT ($FE),A | |||
| 81F6 | CALL $8271 | Wait for a key to be pressed, then released | ||
| 81F9 | XOR A | Wait here until a key really is pressed | ||
| 81FA | IN A,($FE) | |||
| 81FC | AND $1F | |||
| 81FE | CP $1F | |||
| 8200 | JR NZ,$81F9 | |||
| 8202 | LD A,$07 | White border again | ||
| 8204 | OUT ($FE),A | |||
| 8206 | JP $806B | Carry on parsing | ||
| Prev: 81E6 | Up: Map | Next: 8209 |