From 967d11f1026e45740009ad9d5ecd6f41ff9232fe Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Thu, 28 May 2020 22:48:40 -0700 Subject: 6424 --- 103screen.subx | 3 ++- apps/mu | Bin 256204 -> 256188 bytes apps/print-file | Bin 0 -> 48630 bytes 3 files changed, 2 insertions(+), 1 deletion(-) create mode 100755 apps/print-file diff --git a/103screen.subx b/103screen.subx index 944fd4aa..7011eb0f 100644 --- a/103screen.subx +++ b/103screen.subx @@ -134,6 +134,7 @@ $print-string:end: 5d/pop-to-ebp c3/return +# just because Mu has no support for global variables yet print-byte: # c: byte # . prologue 55/push-ebp @@ -159,13 +160,13 @@ $flush-stdout:end: 5d/pop-to-ebp c3/return +# just because Mu has no support for global variables yet print-int32-to-screen: # n: int # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp # (print-int32-buffered Stdout *(ebp+8)) - (flush Stdout) $print-int32-to-screen:end: # . epilogue 89/<- %esp 5/r32/ebp diff --git a/apps/mu b/apps/mu index 06f3a21b..ff284682 100755 Binary files a/apps/mu and b/apps/mu differ diff --git a/apps/print-file b/apps/print-file new file mode 100755 index 00000000..48a12cf3 Binary files /dev/null and b/apps/print-file differ -- cgit 1.4.1-2-gfad0