Routines |
Prev: 42129 | Up: Map | Next: 42196 |
Used by the routine at 40258.
|
||||
42155 | LD B,3 | B=3. | ||
42157 | PUSH BC | Stash BC, HL and DE on the stack. | ||
42158 | PUSH HL | |||
42159 | PUSH DE | |||
42160 | CALL 42174 | Call 42174. | ||
42163 | POP DE | Restore DE and HL from the stack. | ||
42164 | POP HL | |||
42165 | LD BC,24 | BC=0024. | ||
42168 | ADD HL,BC | HL+=BC. | ||
42169 | INC D | Increment D by one. | ||
42170 | POP BC | Restore BC from the stack. | ||
42171 | DJNZ 42157 | Decrease counter by one and loop back to 42157 until counter is zero. | ||
42173 | RET | Return. | ||
42174 | PUSH HL | Stash HL on the stack. | ||
42175 | CALL CalculateDartBoardAddress | Call CalculateDartBoardAddress. | ||
42178 | EX DE,HL | Exchange the DE and HL registers. | ||
42179 | POP HL | Restore HL from the stack. | ||
42180 | EX DE,HL | Exchange the DE and HL registers. | ||
42181 | LD B,8 | B=8. | ||
42183 | PUSH BC | Stash BC and HL on the stack. | ||
42184 | PUSH HL | |||
42185 | LD BC,3 | BC=0003. | ||
42188 | LDIR | LDIR. | ||
42190 | POP HL | Restore HL from the stack. | ||
42191 | INC H | Increment H by one. | ||
42192 | POP BC | Restore BC from the stack. | ||
42193 | DJNZ 42183 | Decrease counter by one and loop back to 42183 until counter is zero. | ||
42195 | RET | Return. |
Prev: 42129 | Up: Map | Next: 42196 |