From 1940ef130528e58cdfe0dd1589091947f6d8b8c7 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Tue, 20 Jun 2023 03:48:50 -0400 Subject: rewrite compiler again, bringing more in line with standard, and add readme --- warriors/epson.red | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'warriors/epson.red') 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 -- cgit v1.2.3