diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-06-21 23:53:17 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-06-21 23:53:17 -0700 |
commit | 290fe117c444399495a83266d602e2f4fc3fc099 (patch) | |
tree | 2fed3d6cd61048d2a3043be94cff7f9985719f3b /070display.cc | |
parent | 6a0f71b9f89df0940a342cd2c91d246cecc18bdf (diff) | |
download | mu-290fe117c444399495a83266d602e2f4fc3fc099.tar.gz |
1618
Diffstat (limited to '070display.cc')
-rw-r--r-- | 070display.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/070display.cc b/070display.cc index 8cedf9e3..76950156 100644 --- a/070display.cc +++ b/070display.cc @@ -1,4 +1,4 @@ -//: Take charge of the text-mode display and keyboard. +//: Take charge of the text-mode display and console. :(before "End Globals") // uncomment to debug console programs @@ -10,23 +10,23 @@ long long int Display_row = 0, Display_column = 0; :(before "End Primitive Recipe Declarations") -SWITCH_TO_DISPLAY, +OPEN_CONSOLE, :(before "End Primitive Recipe Numbers") -Recipe_number["switch-to-display"] = SWITCH_TO_DISPLAY; -//? cerr << "switch-to-display: " << SWITCH_TO_DISPLAY << '\n'; //? 1 +Recipe_number["open-console"] = OPEN_CONSOLE; +//? cerr << "open-console: " << OPEN_CONSOLE << '\n'; //? 1 :(before "End Primitive Recipe Implementations") -case SWITCH_TO_DISPLAY: { +case OPEN_CONSOLE: { tb_init(); Display_row = Display_column = 0; break; } :(before "End Primitive Recipe Declarations") -RETURN_TO_CONSOLE, +CLOSE_CONSOLE, :(before "End Primitive Recipe Numbers") -Recipe_number["return-to-console"] = RETURN_TO_CONSOLE; +Recipe_number["close-console"] = CLOSE_CONSOLE; :(before "End Primitive Recipe Implementations") -case RETURN_TO_CONSOLE: { +case CLOSE_CONSOLE: { tb_shutdown(); //? Trace_stream->dump_layer = "all"; //? 1 break; |