mirror of https://github.com/nmlgc/ReC98.git
60 lines
2.0 KiB
NASM
60 lines
2.0 KiB
NASM
|
; public domain!
|
||
|
; sine/cosine table
|
||
|
; Sin8(t)= sin( 2*pi*t/256 ) * 256
|
||
|
; 0 <= t < 256(+64)
|
||
|
; Cos8(t)= sin( 2*pi*t/256 ) * 256
|
||
|
; 0 <= t < 256
|
||
|
;
|
||
|
; written by A.Koizuka
|
||
|
;
|
||
|
; Revision History:
|
||
|
; 92/7/5
|
||
|
; 93/ 5/29 [M0.18] .CONST->.DATA
|
||
|
|
||
|
public _SinTable8, _CosTable8
|
||
|
|
||
|
_SinTable8 dw 0, 6, 13, 19, 25, 31, 38, 44
|
||
|
dw 50, 56, 62, 68, 74, 80, 86, 92
|
||
|
dw 98, 104, 109, 115, 121, 126, 132, 137
|
||
|
dw 142, 147, 152, 157, 162, 167, 172, 177
|
||
|
dw 181, 185, 190, 194, 198, 202, 206, 209
|
||
|
dw 213, 216, 220, 223, 226, 229, 231, 234
|
||
|
dw 237, 239, 241, 243, 245, 247, 248, 250
|
||
|
dw 251, 252, 253, 254, 255, 255, 256, 256
|
||
|
|
||
|
_CosTable8 dw 256, 256, 256, 255, 255, 254, 253, 252
|
||
|
dw 251, 250, 248, 247, 245, 243, 241, 239
|
||
|
dw 237, 234, 231, 229, 226, 223, 220, 216
|
||
|
dw 213, 209, 206, 202, 198, 194, 190, 185
|
||
|
dw 181, 177, 172, 167, 162, 157, 152, 147
|
||
|
dw 142, 137, 132, 126, 121, 115, 109, 104
|
||
|
dw 98, 92, 86, 80, 74, 68, 62, 56
|
||
|
dw 50, 44, 38, 31, 25, 19, 13, 6
|
||
|
|
||
|
dw 0, -6, -13, -19, -25, -31, -38, -44
|
||
|
dw -50, -56, -62, -68, -74, -80, -86, -92
|
||
|
dw -98,-104,-109,-115,-121,-126,-132,-137
|
||
|
dw -142,-147,-152,-157,-162,-167,-172,-177
|
||
|
dw -181,-185,-190,-194,-198,-202,-206,-209
|
||
|
dw -213,-216,-220,-223,-226,-229,-231,-234
|
||
|
dw -237,-239,-241,-243,-245,-247,-248,-250
|
||
|
dw -251,-252,-253,-254,-255,-255,-256,-256
|
||
|
|
||
|
dw -256,-256,-256,-255,-255,-254,-253,-252
|
||
|
dw -251,-250,-248,-247,-245,-243,-241,-239
|
||
|
dw -237,-234,-231,-229,-226,-223,-220,-216
|
||
|
dw -213,-209,-206,-202,-198,-194,-190,-185
|
||
|
dw -181,-177,-172,-167,-162,-157,-152,-147
|
||
|
dw -142,-137,-132,-126,-121,-115,-109,-104
|
||
|
dw -98, -92, -86, -80, -74, -68, -62, -56
|
||
|
dw -50, -44, -38, -31, -25, -19, -13, -6
|
||
|
|
||
|
dw 0, 6, 13, 19, 25, 31, 38, 44
|
||
|
dw 50, 56, 62, 68, 74, 80, 86, 92
|
||
|
dw 98, 104, 109, 115, 121, 126, 132, 137
|
||
|
dw 142, 147, 152, 157, 162, 167, 172, 177
|
||
|
dw 181, 185, 190, 194, 198, 202, 206, 209
|
||
|
dw 213, 216, 220, 223, 226, 229, 231, 234
|
||
|
dw 237, 239, 241, 243, 245, 247, 248, 250
|
||
|
dw 251, 252, 253, 254, 255, 255, 256, 256
|