Routines |
Prev: 9551 | Up: Map | Next: 95A3 |
Used by the routines at GameEntry and BestScoresPrint.
|
|||||
955A | LD HL,$5800 | Writes 00 to all 0300 attribute buffer address locations. | |||
955D | LD DE,$5801 | ||||
9560 | LD BC,$02FF | ||||
9563 | LD (HL),$00 | ||||
9565 | LDIR | ||||
|
|||||
9567 | LD HL,$9B78 | Copies 07FF bytes of data from InstructionsData to the screen buffer. | |||
956A | LD BC,$07FF | ||||
956D | LD DE,$4000 | ||||
9570 | LDIR | ||||
9572 | LD HL,$40A0 | HL=40A0. | |||
9575 | LD B,$18 | B=18. | |||
9577 | PUSH BC | Stash BC and HL on the stack. | |||
9578 | PUSH HL | ||||
9579 | PUSH HL | DE=HL. | |||
957A | POP DE | ||||
957B | INC DE | ||||
957C | LD BC,$001F | BC=1F. | |||
957F | LD (HL),$00 | Writes 00 to HL. | |||
9581 | LDIR | ||||
9583 | POP HL | Restore HL from the stack. | |||
9584 | CALL $9532 | Call 9532. | |||
9587 | POP BC | Restore BC from the stack. | |||
9588 | DJNZ $9577 | ||||
958A | LD HL,$B378 | Copies A0 bytes of data from InstructionsAttributeData to the attribute buffer. | |||
958D | LD DE,$5800 | ||||
9590 | LD BC,$00A0 | ||||
9593 | LDIR | ||||
9595 | LD HL,$58A0 | Writes 07. | |||
9598 | LD DE,$58A1 | ||||
959B | LD (HL),$07 | ||||
959D | LD BC,$025F | ||||
95A0 | LDIR | ||||
95A2 | RET | Return. |
Prev: 9551 | Up: Map | Next: 95A3 |