| The Hobbit (v1.0) | Routines |
| Prev: 95E4 | Up: Map | Next: 9606 |
|
Waits until a key is pressed, then resets the border to white (the picture may have changed it).
|
||||
| 95F8 | XOR A | Is a key already being held down (so we should wait for it to be released first)? | ||
| 95F9 | IN A,($FE) | |||
| 95FB | AND $1F | |||
| 95FD | CP $1F | Yes: keep waiting | ||
| 95FF | JR Z,$95F8 | |||
| 9601 | LD A,$07 | A key has been pressed: reset the border to white (a picture may have changed its colour) | ||
| 9603 | OUT ($FE),A | |||
| 9605 | RET | |||
| Prev: 95E4 | Up: Map | Next: 9606 |