summaryrefslogtreecommitdiff
path: root/macros/data.asm
diff options
context:
space:
mode:
Diffstat (limited to 'macros/data.asm')
-rwxr-xr-xmacros/data.asm8
1 files changed, 3 insertions, 5 deletions
diff --git a/macros/data.asm b/macros/data.asm
index 938a6cb3..5b9614fe 100755
--- a/macros/data.asm
+++ b/macros/data.asm
@@ -125,11 +125,9 @@ ENDM
sine_table: MACRO
; \1: amplitude
-
x = 0
- rept $20
- ; Round up.
- dw (sin(x) + (sin(x) & $ff)) >> 8
+rept 32
+ dw (sin(x) + (sin(x) & $ff)) >> 8 ; round up
x = x + (\1) * $40000
- endr
+endr
ENDM