ref: fc16533207669886369b57628beebc4e63ea94ff
parent: 8d2b9f3fcbe7c0b2d52f0394650dd5c3dcb18b02
author: yenatch <[email protected]>
date: Tue Jun 3 21:34:07 EDT 2014
Clean up the growth_rate macro.
--- a/main.asm
+++ b/main.asm
@@ -61360,13 +61360,13 @@
GrowthRates: ; 50efa
growth_rate: MACRO
-; [1]/[2]*n^3 + [3]*n^2 + [4]*n - [5]
+; [1]/[2]*n**3 + [3]*n**2 + [4]*n - [5]
dn \1, \2
- IF \3 & $80 ; signed
- db ((\3 ^ $ff) + 1) | $80
- ELSE
+ if \3 & $80 ; signed
+ db -\3 | $80
+ else
db \3
- ENDC
+ endc
db \4, \5
ENDM