From b0d84c64a696b2525ba6aac846989eae661b1d67 Mon Sep 17 00:00:00 2001 From: Rangi Date: Sat, 3 Feb 2018 13:26:34 -0500 Subject: Use fixed-point DIV function for a generalized sine_wave table macro --- macros/code.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'macros/code.asm') diff --git a/macros/code.asm b/macros/code.asm index 799c27d45..0b36f6c11 100644 --- a/macros/code.asm +++ b/macros/code.asm @@ -41,8 +41,8 @@ maskbits: MACRO ; example usage in rejection sampling: ; .loop ; call Random -; maskbits 30 -; cp 30 +; maskbits 26 +; cp 26 ; jr nc, .loop x = 1 rept 8 -- cgit v1.2.3