Prev: 33000 Up: Map Next: 33313
33300: Fetch Sine Cosine
Writes *Sine_Table+A and *Sine_Table+A+64 to *Sine.
Input
A Angle
Fetch_Sine_Cosine 33300 LD H,236 Point HL at Sine_Table+A.
33302 LD L,A
33303 LD C,(HL) Fetch the sine.
33304 ADD A,64 Add 64 to the angle.
33306 LD L,A Point HL at the cosine.
33307 LD B,(HL) Fetch the cosine.
33308 LD (60930),BC Write the sine/cosine pair to *Sine.
33312 RET Return.
Prev: 33000 Up: Map Next: 33313