Dynamite Dan | Routines |
Prev: F410 | Up: Map | Next: F485 |
|
||||||||
F470 | LD B,(HL) | Get the number of times to repeat. | ||||||
F471 | PUSH BC | Remember BC. | ||||||
F472 | INC HL | Get the attribute. | ||||||
F473 | LD A,(HL) | |||||||
F474 | INC HL | Get the number of columns. | ||||||
F475 | LD B,(HL) | |||||||
F476 | INC HL | Get the number of rows. | ||||||
F477 | LD C,(HL) | |||||||
F478 | INC HL | Get the X co-ordinate. | ||||||
F479 | LD E,(HL) | |||||||
F47A | INC HL | Get the Y co-ordinate. | ||||||
F47B | LD D,(HL) | |||||||
F47C | PUSH HL | Remember HL. | ||||||
F47D | CALL $E8BA | Fill the lines with the attribute. | ||||||
F480 | POP HL | Restore HL. | ||||||
F481 | POP BC | Restore BC. | ||||||
F482 | DJNZ $F471 | Loop round until the fill is complete. | ||||||
F484 | RET |
Prev: F410 | Up: Map | Next: F485 |