summaryrefslogtreecommitdiff
path: root/warriors
diff options
context:
space:
mode:
authorBenji Dial <benji@benjidial.net>2023-06-20 03:48:50 -0400
committerBenji Dial <benji@benjidial.net>2023-06-20 03:48:50 -0400
commit1940ef130528e58cdfe0dd1589091947f6d8b8c7 (patch)
tree156378cbfa060dcae4973a538c0f3237b9dfc1ca /warriors
parentd24a732c772b40f804403ab5758f33f74b2eb6ed (diff)
downloadlib94-1940ef130528e58cdfe0dd1589091947f6d8b8c7.tar.gz
rewrite compiler again, bringing more in line with standard, and add readme
Diffstat (limited to 'warriors')
-rw-r--r--warriors/epson.red6
1 files changed, 3 insertions, 3 deletions
diff --git a/warriors/epson.red b/warriors/epson.red
index 688ad8d..2bc05ad 100644
--- a/warriors/epson.red
+++ b/warriors/epson.red
@@ -4,10 +4,10 @@
intrascan_period equ 10
interscan_period equ 2
-;interscan period must divide intrascan period
-;intrascan period must divide 8000
+;assert intrascan_period % interscan_period == 0
+;assert CORESIZE % intrascan_period == 0
-scan_init equ the_end - scan - (the_end - scan) % intrascan_period + intrascan_period
+scan_init equ (the_end - scan - (the_end - scan) % intrascan_period + intrascan_period)
scan
seq.i -intrascan_period, scan_init