From 792451d1be576dfd35c2473cb4ede75ccca63782 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Tue, 30 Jun 2020 14:59:45 -0700 Subject: 6603 --- apps/arith.mu | 2 +- apps/tui.mu | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'apps') 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 } -- cgit 1.4.1-2-gfad0