Routines |
Prev: 62410 | Up: Map | Next: 62490 |
Used by the routine at RunHandlers.
|
||||
62447 | LD HL,53804 | HL=53804. | ||
62450 | LD B,3 | B=3. | ||
62452 | PUSH BC | Stash BC on the stack. | ||
62453 | LD A,(HL) | Jump to 62475 if *HL is equal to 255. | ||
62454 | CP 255 | |||
62456 | JR Z,62475 | |||
62458 | LD B,A | B=A. | ||
62459 | INC HL | Increment HL by one. | ||
62460 | LD C,(HL) | C=*HL. | ||
62461 | PUSH HL | Stash HL on the stack. | ||
62462 | CALL 62323 | Call 62323. | ||
62465 | POP HL | Restore HL from the stack. | ||
62466 | INC HL | Increment HL by five. | ||
62467 | INC HL | |||
62468 | INC HL | |||
62469 | INC HL | |||
62470 | INC HL | |||
62471 | POP BC | Restore BC from the stack. | ||
62472 | DJNZ 62452 | Decrease counter by one and loop back to 62452 until counter is zero. | ||
62474 | RET | Return. | ||
62475 | LD DE,(53798) | DE=*53798. | ||
62479 | XOR A | Write 0 to *DE. | ||
62480 | LD (DE),A | |||
62481 | INC DE | Increment DE by one. | ||
62482 | LD (53798),DE | Write DE to *53798. | ||
62486 | INC HL | Increment HL by one. | ||
62487 | JP 62466 | Jump to 62466. |
Prev: 62410 | Up: Map | Next: 62490 |