![]() |
Routines |
| Prev: BDD5 | Up: Map | Next: BDF8 |
|
Used by the routines at DISPLAY_PANEL and PRINT_BORDER.
Used to build the border and the panel out of repeated pieces. As Knight Lore's multiple_print_sprite.
|
||||||||||||||
| MULTIPLE_PRINT_SPRITE | BDDE | PUSH BC | draw it, keeping the registers | |||||||||||
| BDDF | PUSH DE | |||||||||||||
| BDE0 | PUSH HL | |||||||||||||
| BDE1 | CALL DRAW_SPRITE | |||||||||||||
| BDE4 | POP HL | |||||||||||||
| BDE5 | POP DE | |||||||||||||
| BDE6 | POP BC | |||||||||||||
| BDE7 | LD A,(IX+$1A) | move the record's x by E and y by D | ||||||||||||
| BDEA | ADD A,E | |||||||||||||
| BDEB | LD (IX+$1A),A | |||||||||||||
| BDEE | LD A,(IX+$1B) | |||||||||||||
| BDF1 | ADD A,D | |||||||||||||
| BDF2 | LD (IX+$1B),A | |||||||||||||
| BDF5 | DJNZ MULTIPLE_PRINT_SPRITE | and again | ||||||||||||
| BDF7 | RET | |||||||||||||
| Prev: BDD5 | Up: Map | Next: BDF8 |