about summary refs log tree commit diff stats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/arith.mu2
-rw-r--r--apps/tui.mu6
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/arith.mu b/apps/arith.mu
index 23b078fe..5f7ec492 100644
--- a/apps/arith.mu
+++ b/apps/arith.mu
@@ -46,7 +46,7 @@ fn main -> exit-status/ebx: int {
     compare look, 0
     break-if-=
     # print
-    print-int32-to-screen n
+    print-int32-hex-to-screen n
     print-string-to-screen "\n"
     #
     loop
diff --git a/apps/tui.mu b/apps/tui.mu
index ac92d1fc..20693112 100644
--- a/apps/tui.mu
+++ b/apps/tui.mu
@@ -16,9 +16,9 @@ fn main -> exit-status/ebx: int {
   reset-formatting-on-screen
   move-cursor-on-screen 6, 35
   print-string-to-screen "tty dimensions: "
-  print-int32-to-screen nrows
+  print-int32-hex-to-screen nrows
   print-string-to-screen " rows, "
-  print-int32-to-screen ncols
+  print-int32-hex-to-screen ncols
   print-string-to-screen " rows\n"
 
   print-string-to-screen "press a key to see its code: "
@@ -27,7 +27,7 @@ fn main -> exit-status/ebx: int {
   enable-keyboard-type-mode
   enable-screen-type-mode
   print-string-to-screen "You pressed "
-  print-int32-to-screen x
+  print-int32-hex-to-screen x
   print-string-to-screen "\n"
   exit-status <- copy 0
 }