about summary refs log tree commit diff stats
path: root/cpp/999spaces.cc
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 /cpp/999spaces.cc
parent8a7ad05a804aa4f39d5919a581aba552b7c4f011 (diff)
downloadmu-82c04e61516756a65587eaceb1a6df41082573a9.tar.gz
1254
Diffstat (limited to 'cpp/999spaces.cc')
-rw-r--r--cpp/999spaces.cc5
1 files changed, 4 insertions, 1 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)