home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Party 1994: Try This At Home
/
disk_image.bin
/
source
/
fakesrc
/
part9
/
sincos.inc
< prev
next >
Wrap
Text File
|
1993-11-03
|
2KB
|
28 lines
;-----------------------------------------------------------------------------
; Sinus/Cosinus tables in the range -127..+127 for angles 0..255.
;-----------------------------------------------------------------------------
label SinTable byte
db 0, 3, 6, 9, 12, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46
db 49, 51, 54, 57, 60, 63, 65, 68, 71, 73, 76, 78, 81, 83, 85, 88
db 90, 92, 94, 96, 98,100,102,104,106,107,109,111,112,113,115,116
db 117,118,120,121,122,122,123,124,125,125,126,126,126,127,127,127
label CosTable byte
db 127,127,127,127,126,126,126,125,125,124,123,122,122,121,120,118
db 117,116,115,113,112,111,109,107,106,104,102,100, 98, 96, 94, 92
db 90, 88, 85, 83, 81, 78, 76, 73, 71, 68, 65, 63, 60, 57, 54, 51
db 49, 46, 43, 40, 37, 34, 31, 28, 25, 22, 19, 16, 12, 9, 6, 3
db 0,253,250,247,244,240,237,234,231,228,225,222,219,216,213,210
db 207,205,202,199,196,193,191,188,185,183,180,178,175,173,171,168
db 166,164,162,160,158,156,154,152,150,149,147,145,144,143,141,140
db 139,138,136,135,134,134,133,132,131,131,130,130,130,129,129,129
db 129,129,129,129,130,130,130,131,131,132,133,134,134,135,136,138
db 139,140,141,143,144,145,147,149,150,152,154,156,158,160,162,164
db 166,168,171,173,175,178,180,183,185,188,191,193,196,199,202,205
db 207,210,213,216,219,222,225,228,231,234,237,240,244,247,250,253
db 0, 3, 6, 9, 12, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46
db 49, 51, 54, 57, 60, 63, 65, 68, 71, 73, 76, 78, 81, 83, 85, 88
db 90, 92, 94, 96, 98,100,102,104,106,107,109,111,112,113,115,116
db 117,118,120,121,122,122,123,124,125,125,126,126,126,127,127,127