![]() |
Routines |
| Prev: 80E8 | Up: Map | Next: 8221 |
|
Used by the routines at Initialise_Object_Slots, Draw_Object_Slots, Find_Empty_Slot and Draw_Slot_Table.
|
||||||||
| Fetch_Sine_Cosine | 8214 | LD H,$EC | Point HL at Sine_Table+A. | |||||
| 8216 | LD L,A | |||||||
| 8217 | LD C,(HL) | Fetch the sine. | ||||||
| 8218 | ADD A,$40 | Add 40 to the angle. | ||||||
| 821A | LD L,A | Point HL at the cosine. | ||||||
| 821B | LD B,(HL) | Fetch the cosine. | ||||||
| 821C | LD ($EE02),BC | Write the sine/cosine pair to *Sine. | ||||||
| 8220 | RET | Return. | ||||||
| Prev: 80E8 | Up: Map | Next: 8221 |