![]() |
Routines |
| Prev: D61C | Up: Map | Next: D649 |
|
Used by the routine at wipe_height.
|
||||
| wipe_rect | D62C | CALL calc_vram_addr | DE = its display address, BC = its buffer address | |
| D62F | CALL calc_vidbuf_addr | |||
| D632 | LD A,L | rearrange: HL = buffer address, B = width, C = height | ||
| D633 | LD L,C | |||
| D634 | LD C,A | |||
| D635 | LD A,H | |||
| D636 | LD H,B | |||
| D637 | LD B,A | |||
| D638 | LD A,($5BA8) | one more rectangle to copy | ||
| D63B | INC A | |||
| D63C | LD ($5BA8),A | |||
| D63F | PUSH BC | on the stack until the objects have been drawn | ||
| D640 | PUSH DE | |||
| D641 | PUSH HL | |||
| D642 | XOR A | cleared in the buffer: fill_window fills B bytes by C rows with A | ||
| D643 | CALL fill_window | |||
| D646 | JP wipe_next_object | the next object | ||
| Prev: D61C | Up: Map | Next: D649 |