Routines |
Prev: 9253 | Up: Map | Next: 9305 |
Used by the routine at 9253.
|
||||
92E2 | PUSH DE | Stash DE on the stack. | ||
92E3 | CALL CalculateDartBoardAddress | Call CalculateDartBoardAddress. | ||
92E6 | LD D,H | D=H. | ||
92E7 | LD E,L | E=L. | ||
92E8 | LD A,H | A=H. | ||
92E9 | SUB $20 | A-=20. | ||
92EB | LD H,A | H=A. | ||
92EC | LD B,$08 | B=08. | ||
92EE | LD A,(DE) | A=*DE. | ||
92EF | LD (HL),A | Write A to *HL. | ||
92F0 | INC H | Increment H by one. | ||
92F1 | INC D | Increment D by one. | ||
92F2 | DJNZ $92EE | Decrease counter by one and loop back to 92EE until counter is zero. | ||
92F4 | POP HL | Restore HL from the stack. | ||
92F5 | LD A,L | Compare L with 08. | ||
92F6 | CP $08 | |||
92F8 | LD A,$70 | A=INK: BLACK, PAPER: YELLOW (BRIGHT) . | ||
92FA | JR NC,$92FE | Jump to 92FE if L was greater than or equal to 08. | ||
92FC | LD A,$47 | A=INK: WHITE, PAPER: BLACK (BRIGHT) . | ||
92FE | EX AF,AF' | Exchange the AF register with the shadow AF register. | ||
92FF | CALL CalculateAttributeBuffer | Call CalculateAttributeBuffer. | ||
9302 | EX AF,AF' | Exchange the shadow AF register with the AF register. | ||
9303 | LD (HL),A | Write A to *HL. | ||
9304 | RET | Return. |
Prev: 9253 | Up: Map | Next: 9305 |