about summary refs log tree commit diff stats
path: root/082scenario_screen.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-08-25 11:02:50 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-08-25 11:02:50 -0700
commit4b0db8a764746d9d1cdd3dda92d5ef5728fe3750 (patch)
tree6659ba90bef5860d37ac6724b5b5be63d0c21bc6 /082scenario_screen.cc
parent77d9d7852bcae6bb7a4f0b5cc14309e48699e817 (diff)
downloadmu-4b0db8a764746d9d1cdd3dda92d5ef5728fe3750.tar.gz
3250
Diffstat (limited to '082scenario_screen.cc')
-rw-r--r--082scenario_screen.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/082scenario_screen.cc b/082scenario_screen.cc
index 5443a369..d17a9a8d 100644
--- a/082scenario_screen.cc
+++ b/082scenario_screen.cc
@@ -126,10 +126,13 @@ def main [
 $error: 0
 :(scenarios run_mu_scenario)
 
+//: It's easier to implement assume-screen and other similar scenario-only
+//: primitives if they always write to a fixed location. So we'll assign a
+//: single fixed location for the per-scenario screen, keyboard, file system,
+//: etc. Carve space for these fixed locations out of the reserved-for-test
+//: locations.
+
 :(before "End Globals")
-// Scenarios may not define default-space, so they should fit within the
-// initial area of memory reserved for tests. We'll put the predefined
-// variables available to them at the end of that region.
 const int Max_variables_in_scenarios = Reserved_for_tests-100;
 int Next_predefined_global_for_scenarios = Max_variables_in_scenarios;
 :(before "End Setup")