about summary refs log tree commit diff stats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rwxr-xr-xapps/assortbin44275 -> 44283 bytes
-rwxr-xr-xapps/bracesbin46146 -> 46154 bytes
-rwxr-xr-xapps/callsbin50807 -> 50815 bytes
-rwxr-xr-xapps/crenshaw2-1bin43626 -> 43634 bytes
-rwxr-xr-xapps/crenshaw2-1bbin44173 -> 44181 bytes
-rwxr-xr-xapps/dquotesbin47897 -> 47905 bytes
-rwxr-xr-xapps/ex1bin197 -> 205 bytes
-rwxr-xr-xapps/ex10bin264 -> 272 bytes
-rwxr-xr-xapps/ex11bin1178 -> 1186 bytes
-rwxr-xr-xapps/ex12bin234 -> 242 bytes
-rwxr-xr-xapps/ex13bin211 -> 219 bytes
-rwxr-xr-xapps/ex2bin198 -> 206 bytes
-rwxr-xr-xapps/ex3bin215 -> 223 bytes
-rwxr-xr-xapps/ex4bin236 -> 244 bytes
-rwxr-xr-xapps/ex5bin238 -> 246 bytes
-rwxr-xr-xapps/ex6bin232 -> 240 bytes
-rwxr-xr-xapps/ex7bin366 -> 374 bytes
-rwxr-xr-xapps/ex8bin234 -> 242 bytes
-rwxr-xr-xapps/ex9bin228 -> 236 bytes
-rwxr-xr-xapps/factorialbin42719 -> 42727 bytes
-rwxr-xr-xapps/hexbin46465 -> 46473 bytes
-rwxr-xr-xapps/mubin254274 -> 255698 bytes
-rwxr-xr-xapps/packbin56610 -> 56618 bytes
-rw-r--r--apps/screen.mu20
-rwxr-xr-xapps/sigilsbin58531 -> 58539 bytes
-rwxr-xr-xapps/surveybin54221 -> 54229 bytes
-rwxr-xr-xapps/testsbin43047 -> 43055 bytes
27 files changed, 20 insertions, 0 deletions
diff --git a/apps/assort b/apps/assort
index bc4b2eb9..7cbf2e7a 100755
--- a/apps/assort
+++ b/apps/assort
Binary files differdiff --git a/apps/braces b/apps/braces
index e7618b4e..864662ef 100755
--- a/apps/braces
+++ b/apps/braces
Binary files differdiff --git a/apps/calls b/apps/calls
index 16a1c90b..e4c185ed 100755
--- a/apps/calls
+++ b/apps/calls
Binary files differdiff --git a/apps/crenshaw2-1 b/apps/crenshaw2-1
index 34a50dcb..0791f0c4 100755
--- a/apps/crenshaw2-1
+++ b/apps/crenshaw2-1
Binary files differdiff --git a/apps/crenshaw2-1b b/apps/crenshaw2-1b
index cc00dc48..3b5d0bef 100755
--- a/apps/crenshaw2-1b
+++ b/apps/crenshaw2-1b
Binary files differdiff --git a/apps/dquotes b/apps/dquotes
index a49d897d..a9ba6ab5 100755
--- a/apps/dquotes
+++ b/apps/dquotes
Binary files differdiff --git a/apps/ex1 b/apps/ex1
index 5f17bc66..16371a7b 100755
--- a/apps/ex1
+++ b/apps/ex1
Binary files differdiff --git a/apps/ex10 b/apps/ex10
index cb8973fe..9529b921 100755
--- a/apps/ex10
+++ b/apps/ex10
Binary files differdiff --git a/apps/ex11 b/apps/ex11
index 1cb1aa5c..ffc1b034 100755
--- a/apps/ex11
+++ b/apps/ex11
Binary files differdiff --git a/apps/ex12 b/apps/ex12
index 80e5deeb..40ba51f5 100755
--- a/apps/ex12
+++ b/apps/ex12
Binary files differdiff --git a/apps/ex13 b/apps/ex13
index 6a4c16b8..46652134 100755
--- a/apps/ex13
+++ b/apps/ex13
Binary files differdiff --git a/apps/ex2 b/apps/ex2
index 5e0c1be1..2e1e0de8 100755
--- a/apps/ex2
+++ b/apps/ex2
Binary files differdiff --git a/apps/ex3 b/apps/ex3
index af787c11..e554f535 100755
--- a/apps/ex3
+++ b/apps/ex3
Binary files differdiff --git a/apps/ex4 b/apps/ex4
index 35ade1ee..b8f93eb9 100755
--- a/apps/ex4
+++ b/apps/ex4
Binary files differdiff --git a/apps/ex5 b/apps/ex5
index 805cadc3..a3c4f494 100755
--- a/apps/ex5
+++ b/apps/ex5
Binary files differdiff --git a/apps/ex6 b/apps/ex6
index 06fdfd7b..2fcd0897 100755
--- a/apps/ex6
+++ b/apps/ex6
Binary files differdiff --git a/apps/ex7 b/apps/ex7
index 0a535d45..731f4c21 100755
--- a/apps/ex7
+++ b/apps/ex7
Binary files differdiff --git a/apps/ex8 b/apps/ex8
index 78f1773d..6cb660fb 100755
--- a/apps/ex8
+++ b/apps/ex8
Binary files differdiff --git a/apps/ex9 b/apps/ex9
index 5140cf68..e067b833 100755
--- a/apps/ex9
+++ b/apps/ex9
Binary files differdiff --git a/apps/factorial b/apps/factorial
index 92e0523a..8d73facb 100755
--- a/apps/factorial
+++ b/apps/factorial
Binary files differdiff --git a/apps/hex b/apps/hex
index cd183977..806481f0 100755
--- a/apps/hex
+++ b/apps/hex
Binary files differdiff --git a/apps/mu b/apps/mu
index 700919ca..1e372839 100755
--- a/apps/mu
+++ b/apps/mu
Binary files differdiff --git a/apps/pack b/apps/pack
index 22a66caf..997c34dd 100755
--- a/apps/pack
+++ b/apps/pack
Binary files differdiff --git a/apps/screen.mu b/apps/screen.mu
new file mode 100644
index 00000000..4f36809e
--- /dev/null
+++ b/apps/screen.mu
@@ -0,0 +1,20 @@
+# test some primitives for text-mode 
+
+fn main -> exit-status/ebx: int {
+  var nrows/eax: int <- copy 0
+  var ncols/ecx: int <- copy 0
+  nrows, ncols <- screen-size
+  enable-screen-grid-mode
+  move-cursor 5, 35
+  start-color 1, 0x7a
+  start-blinking
+  print-string "Hello world!"
+  reset-formatting
+  move-cursor 6, 35
+  print-string "tty dimensions: "
+  print-int32-to-screen nrows
+  print-string " rows, "
+  print-int32-to-screen ncols
+  print-string " rows\n"
+  exit-status <- copy 0
+}
diff --git a/apps/sigils b/apps/sigils
index 76becaf3..ef6518ec 100755
--- a/apps/sigils
+++ b/apps/sigils
Binary files differdiff --git a/apps/survey b/apps/survey
index 018e9fa7..c1c8e9c5 100755
--- a/apps/survey
+++ b/apps/survey
Binary files differdiff --git a/apps/tests b/apps/tests
index 4b1eea42..408ead69 100755
--- a/apps/tests
+++ b/apps/tests
Binary files differ