diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-06-30 14:59:45 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-06-30 14:59:45 -0700 |
commit | 792451d1be576dfd35c2473cb4ede75ccca63782 (patch) | |
tree | fce683cf69266a2782c35ddb258ddb08cdeb709f /apps | |
parent | 2655a4a91d1d2e98cc9ab9c54e70d4eb49c735d6 (diff) | |
download | mu-792451d1be576dfd35c2473cb4ede75ccca63782.tar.gz |
6603
Diffstat (limited to 'apps')
-rw-r--r-- | apps/arith.mu | 2 | ||||
-rw-r--r-- | apps/tui.mu | 6 |
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 } |