![]() |
Routines |
| Prev: 42810 | Up: Map | Next: 42917 |
|
Used by the routine at 40258.
|
||||
| 42868 | PUSH BC | Stash BC, HL and DE on the stack. | ||
| 42869 | PUSH HL | |||
| 42870 | PUSH DE | |||
| 42871 | LD A,D | A=D. | ||
| 42872 | CP 0 | Compare A with 0. | ||
| 42874 | JR C,42883 | Jump to 42883 if A is less than 0. | ||
| 42876 | CP 24 | Compare A with 24. | ||
| 42878 | JR NC,42883 | Jump to 42883 if A is greater than or equal to 24. | ||
| 42880 | CALL 42894 | Call 42894. | ||
| 42883 | POP DE | Restore DE and HL from the stack. | ||
| 42884 | POP HL | |||
| 42885 | LD BC,24 | BC=0024. | ||
| 42888 | ADD HL,BC | HL+=BC. | ||
| 42889 | INC D | Increment D by one. | ||
| 42890 | POP BC | Restore BC from the stack. | ||
| 42891 | DJNZ 42868 | Decrease counter by one and loop back to 42868 until counter is zero. | ||
| 42893 | RET | Return. | ||
| 42894 | PUSH HL | Stash HL on the stack. | ||
| 42895 | CALL CalculateDartBoardAddress | Call CalculateDartBoardAddress. | ||
| 42898 | EX DE,HL | Exchange the DE and HL registers. | ||
| 42899 | POP HL | Restore HL from the stack. | ||
| 42900 | DEC E | Decrease E by one. | ||
| 42901 | LD B,8 | B=8. | ||
| 42903 | PUSH BC | Stash BC and DE on the stack. | ||
| 42904 | PUSH DE | |||
| 42905 | LDI | LDI. | ||
| 42907 | LDI | LDI. | ||
| 42909 | LDI | LDI. | ||
| 42911 | POP DE | Restore DE from the stack. | ||
| 42912 | INC D | Increment D by one. | ||
| 42913 | POP BC | Restore BC from the stack. | ||
| 42914 | DJNZ 42903 | Decrease counter by one and loop back to 42903 until counter is zero. | ||
| 42916 | RET | Return. | ||
| Prev: 42810 | Up: Map | Next: 42917 |