![]() |
Routines |
| Prev: 7249 | Up: Map | Next: 7291 |
|
Used by the routine at Input_WaitForAKey.
Compares two 16-bit totals. Carry is set when the first is below the second. The input delay uses it to cap the next wait at 0BB8.
|
||||
| Input_CompareTwoTotals | 728B | LD A,H | Return at once when the high bytes differ. Carry is set when the first total is below. | |
| 728C | SUB D | |||
| 728D | RET NZ | |||
| 728E | LD A,L | Compare the low bytes. | ||
| 728F | SUB E | |||
| 7290 | RET | Return. | ||
| Prev: 7249 | Up: Map | Next: 7291 |