about summary refs log tree commit diff stats
path: root/archive/2.vm/display.mu
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-01-01 17:04:37 -0800
committerKartik Agaram <vc@akkartik.com>2020-01-01 17:04:37 -0800
commit2a4088119cf41175457414dfa59bd4064b8f0562 (patch)
tree64fe184e399f9870ebd481a90eec34d51e5dff68 /archive/2.vm/display.mu
parent23fd294d85959c6b476bcdc35ed6ad508cc99b8f (diff)
downloadmu-2a4088119cf41175457414dfa59bd4064b8f0562.tar.gz
5852
Diffstat (limited to 'archive/2.vm/display.mu')
-rw-r--r--archive/2.vm/display.mu25
1 files changed, 0 insertions, 25 deletions
diff --git a/archive/2.vm/display.mu b/archive/2.vm/display.mu
deleted file mode 100644
index c3844c4b..00000000
--- a/archive/2.vm/display.mu
+++ /dev/null
@@ -1,25 +0,0 @@
-# example program: managing the display
-
-def main [
-  open-console
-  clear-display
-  print-character-to-display 97, 1/red, 2/green
-  1:num/raw, 2:num/raw <- cursor-position-on-display
-  wait-for-some-interaction
-  clear-line-on-display
-  move-cursor-on-display 0, 4
-  print-character-to-display 98
-  wait-for-some-interaction
-  move-cursor-on-display 0, 0
-  clear-line-on-display
-  wait-for-some-interaction
-  move-cursor-down-on-display
-  wait-for-some-interaction
-  move-cursor-right-on-display
-  wait-for-some-interaction
-  move-cursor-left-on-display
-  wait-for-some-interaction
-  move-cursor-up-on-display
-  wait-for-some-interaction
-  close-console
-]