final version by jonah
[wormy.git] / trigtab.asm
index b9f011f7a17cb4b946197de2aadf7dcbcb49023e..f3807f10bc190c7450062c22a0fec74f172786f3 100644 (file)
@@ -1,28 +1,3 @@
-BuildTrigTables:
-        ld hl,TrigPrecalc
-        ld de,SinCosTable
-        push de
-        ld bc,65
-        ldir
-        dec hl
-        ld b,63
-MirrorSineWave:
-        dec hl
-        ld a,(hl)
-        ld (de),a
-        inc de
-        djnz MirrorSineWave
-        pop hl
-        ld b,128+64
-NegativeSineWave:
-        xor a
-        sub (hl)
-        ld (de),a
-        inc hl
-        inc de
-        djnz NegativeSineWave
-        ret
-
 TrigPrecalc:
 .db     0,    3,    6,    9,   12,   15,   18,   21
 .db    24,   27,   30,   33,   36,   39,   42,   45