Routines |
Prev: 63388 | Up: Map | Next: 63443 |
The operand of the instruction at 63399 represents the index of the window being drawn. This is modified by the instructions at 47204 and 63437.
|
||||
63399 | LD A,0 | Load index of window being drawn into A | ||
63401 | PUSH AF | Store AF (A = index of Current Window) | ||
63402 | LD HL,(63018) | Load HL with address of bitmap virtual text cursor... | ||
63405 | PUSH HL | ...and store | ||
63406 | CALL 63443 | Store x- and y-coordinates of current window temporarily at 23418 | ||
63409 | HALT | Wait for interrupt | ||
63410 | LD A,1 | Draw window 1 (command summary window at top of screen)... | ||
63412 | CALL 47193 | ... | ||
63415 | LD HL,50802 | Point HL to ("COMMAND") text... | ||
63418 | CALL 46902 | ...and print to screen | ||
63421 | LD HL,(63018) | Load HL with address of bitmap virtual text cursor | ||
63424 | PUSH HL | Store HL (address of bitmap virtual text cursor) | ||
63425 | CALL 38829 | Print "STORMBRINGER" text at top of command summary window | ||
63428 | POP HL | Restore HL (address of bitmap virtual text cursor) | ||
63429 | LD (23704),HL | Store this location as the location to print text to in the command summary window | ||
63432 | CALL 63443 | Restore x- and y-coordinates of current window from 23418 | ||
63435 | POP HL | Restore HL (address of bitmap virtual text cursor) | ||
63436 | POP AF | Restore AF (A = index of Current Window) | ||
63437 | LD (63400),A | Restore index of Current Window to 63400 (was updated to 1 by call at 63412) | ||
63440 | JP 63259 | Store the updated address of bitmap virtual text cursor and return |
Prev: 63388 | Up: Map | Next: 63443 |