The Hobbit (v1.0)
Routines
Prev:
7B15
Up:
Map
Next:
7B74
7B6B: Short delay
Counts BC down from 1000. This takes about 26,000 T-states, a little over 7 ms, and slows the keyboard scan in
7B86
down enough to debounce the keys. It also sets the pace of the idle timer in
7240
. BC is 0 on return.
7B6B
LD BC,$03E8
BC = 1000
7B6E
DEC BC
Count down...
7B6F
LD A,B
7B70
OR C
7B71
JR NZ,$7B6E
...to zero, taking a little over 7ms
7B73
RET
Prev:
7B15
Up:
Map
Next:
7B74