can't achieve this with rgbds 0.3.5

This commit is contained in:
Rangi 2018-02-03 01:55:22 -05:00
parent e32e5212af
commit d11cac9e83

View File

@ -115,7 +115,7 @@ sine_wave: MACRO
x = 0.0
rept \1
dw (sin(x) + (sin(x) & $ff)) >> 8 ; round up
x = x + (32768.0 / \1) ; a circle has 65536.0 "degrees"
x = x + 1024.0 ; a circle has 65536.0 "degrees"
endr
ENDM