Routines |
Prev: B517 | Up: Map | Next: B5A6 |
|
||||
B548 | LD DE,$040A | DE=040A. | ||
B54B | CALL CalculateScreenBuffer | Call CalculateScreenBuffer. | ||
B54E | LD B,$80 | B=80. | ||
B550 | PUSH BC | Stash BC and HL on the stack. | ||
B551 | PUSH HL | |||
B552 | LD BC,$0012 | BC=0012. | ||
B555 | PUSH HL | Stash HL on the stack. | ||
B556 | POP DE | Restore DE from the stack. | ||
B557 | LD (HL),$00 | Write 00 to *HL. | ||
B559 | INC DE | Increment DE by one. | ||
B55A | LDIR | LDIR. | ||
B55C | POP HL | Restore HL from the stack. | ||
B55D | CALL NextScreenBufferLine | Call NextScreenBufferLine. | ||
B560 | POP BC | Restore BC from the stack. | ||
B561 | DJNZ $B550 | Decrease counter by one and loop back to B550 until counter is zero. | ||
B563 | LD HL,$040A | HL=040A. | ||
B566 | LD BC,$1013 | BC=1013. | ||
B569 | LD A,$60 | A=60. | ||
B56B | CALL FillAttributeBlock | Call FillAttributeBlock. | ||
B56E | LD HL,$0A10 | HL=0A10. | ||
B571 | LD BC,$0706 | BC=0706. | ||
B574 | LD A,$47 | A=47. | ||
B576 | CALL FillAttributeBlock | Call FillAttributeBlock. | ||
B579 | LD HL,$051D | HL=051D. | ||
B57C | LD BC,$1001 | BC=1001. | ||
B57F | LD A,$30 | A=30. | ||
B581 | CALL FillAttributeBlock | Call FillAttributeBlock. | ||
B584 | LD HL,$140B | HL=140B. | ||
B587 | LD BC,$0113 | BC=0113. | ||
B58A | LD A,$30 | A=30. | ||
B58C | CALL FillAttributeBlock | Call FillAttributeBlock. | ||
B58F | LD HL,$1111 | HL=1111. | ||
B592 | LD BC,$0106 | BC=0106. | ||
B595 | LD A,$20 | A=20. | ||
B597 | CALL FillAttributeBlock | Call FillAttributeBlock. | ||
B59A | LD HL,$0B16 | HL=0B16. | ||
B59D | LD BC,$0701 | BC=0701. | ||
B5A0 | LD A,$20 | A=20. | ||
B5A2 | CALL FillAttributeBlock | Call FillAttributeBlock. | ||
B5A5 | RET | Return. |
Prev: B517 | Up: Map | Next: B5A6 |