about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-04 13:09:38 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-04 13:09:38 -0700
commit82c04e61516756a65587eaceb1a6df41082573a9 (patch)
tree82df5ab19f1b5501c9aad75567597907b98dc366
parent8a7ad05a804aa4f39d5919a581aba552b7c4f011 (diff)
downloadmu-82c04e61516756a65587eaceb1a6df41082573a9.tar.gz
1254
-rw-r--r--cpp/999spaces.cc5
-rw-r--r--cpp/makefile4
2 files changed, 6 insertions, 3 deletions
diff --git a/cpp/999spaces.cc b/cpp/999spaces.cc
index 5da0d63b..6f348073 100644
--- a/cpp/999spaces.cc
+++ b/cpp/999spaces.cc
@@ -9,8 +9,11 @@
 //: Location 0 - unused (since it can help uncover bugs)
 //: Locations 1-899 - reserved for tests
 //: Locations 900-999 - reserved for predefined globals in mu scenarios, like keyboard, screen, etc.
+:(before "End Setup")
+assert(Max_variables_in_scenarios == 900);
 //: Locations 1000 ('Reserved_for_tests') onward - available to the allocator in chunks of size Initial_memory_per_routine.
-//:
+assert(Reserved_for_tests == 1000);
+
 //:: Recipes
 //:
 //: 0 - unused (IDLE; do nothing)
diff --git a/cpp/makefile b/cpp/makefile
index ade746fd..9ef7c92c 100644
--- a/cpp/makefile
+++ b/cpp/makefile
@@ -5,8 +5,8 @@ mu: makefile enumerate/enumerate tangle/tangle mu.cc termbox/libtermbox.a
 # To see what the program looks like after all layers have been applied, read
 # mu.cc
 mu.cc: 0*
-	./tangle/tangle $$(./enumerate/enumerate --until 999 |grep -v '.mu$$') > mu.cc
-	cat $$(./enumerate/enumerate --until 999 |grep '.mu$$') > core.mu
+	./tangle/tangle $$(./enumerate/enumerate --until 9999 |grep -v '.mu$$') > mu.cc
+	cat $$(./enumerate/enumerate --until 9999 |grep '.mu$$') > core.mu
 
 enumerate/enumerate:
 	cd enumerate && make && ./enumerate test