Routines |
Prev: A97A | Up: Map | Next: A9E5 |
Used by the routines at StartMenu and AroundTheClock.
|
||||
A9C2 | LD DE,$0101 | DE=0101. | ||
A9C5 | LD B,$16 | B=16. | ||
A9C7 | PUSH DE | Stash DE and BC on the stack. | ||
A9C8 | PUSH BC | |||
A9C9 | CALL CalculateScreenBuffer | Call CalculateScreenBuffer. | ||
A9CC | LD B,$08 | B=08. | ||
A9CE | PUSH BC | Stash BC and HL on the stack. | ||
A9CF | PUSH HL | |||
A9D0 | LD BC,$0005 | BC=0005. | ||
A9D3 | PUSH HL | Stash HL on the stack. | ||
A9D4 | POP DE | Restore DE from the stack. | ||
A9D5 | INC DE | Increment DE by one. | ||
A9D6 | LD (HL),$00 | Write 00 to *HL. | ||
A9D8 | LDIR | LDIR. | ||
A9DA | POP HL | Restore HL from the stack. | ||
A9DB | INC H | Increment H by one. | ||
A9DC | POP BC | Restore BC from the stack. | ||
A9DD | DJNZ $A9CE | Decrease counter by one and loop back to A9CE until counter is zero. | ||
A9DF | POP BC | Restore BC and DE from the stack. | ||
A9E0 | POP DE | |||
A9E1 | INC D | Increment D by one. | ||
A9E2 | DJNZ $A9C7 | Decrease counter by one and loop back to A9C7 until counter is zero. | ||
A9E4 | RET | Return. |
Prev: A97A | Up: Map | Next: A9E5 |