Routines |
Prev: 9562 | Up: Map | Next: 9604 |
95C6 | LD E,A | E=A. | ||
95C7 | LD D,$00 | D=00. | ||
95C9 | ADD IX,DE | IX+=DE. | ||
95CB | LD B,(IX+$02) | B=*IX+02. | ||
95CE | LD C,(IX+$03) | C=*IX+03. | ||
95D1 | LD A,$00 | A=00. | ||
95D3 | ADD A,C | A+=C. | ||
95D4 | DJNZ $95D3 | Decrease counter by one and loop back to 95D3 until counter is zero. | ||
95D6 | LD B,A | B=A. | ||
95D7 | LD A,($99AA) | C=*99AA. | ||
95DA | LD C,A | |||
95DB | LD L,(IX+$00) | L=*IX+00. | ||
95DE | LD H,(IX+$01) | H=*IX+01. | ||
95E1 | LD E,(IX+$04) | E=*IX+04. | ||
95E4 | LD D,(IX+$05) | D=*IX+05. | ||
95E7 | LD IX,($99B8) | IX=99B8. | ||
95EB | PUSH BC | Stash BC on the stack. | ||
95EC | LD A,(DE) | A=*DE. | ||
95ED | LD (IX+$01),A | Write A to *IX+01. | ||
95F0 | LD (IX+$02),L | Write L to *IX+02. | ||
95F3 | LD (IX+$03),H | Write H to *IX+03. | ||
95F6 | LD (IX+$04),C | Write C to *IX+04. | ||
95F9 | LD BC,$0008 | IX+=0008. | ||
95FC | ADD IX,BC | |||
95FE | ADD HL,BC | HL+=0008. | ||
95FF | INC DE | Increment DE by one. | ||
9600 | POP BC | Restore BC from the stack. | ||
9601 | DJNZ $95EB | Decrease counter by one and loop back to 95EB until counter is zero. | ||
9603 | RET | Return. |
Prev: 9562 | Up: Map | Next: 9604 |