about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-05-29 16:44:40 -0700
committerKartik Agaram <vc@akkartik.com>2020-05-29 16:44:40 -0700
commit242a50f2295fc30391027fc5ab59950063e5dd8b (patch)
tree625fd8989459b8c6ce28ff12c54b7ba5f9c4e1ec
parenteb40c70e267b83c3d70a85493ad0be306857f846 (diff)
downloadmu-242a50f2295fc30391027fc5ab59950063e5dd8b.tar.gz
6441
Just always flush Stdout when printing numbers.
-rw-r--r--103screen.subx14
-rwxr-xr-xapps/mubin256201 -> 256194 bytes
2 files changed, 1 insertions, 13 deletions
diff --git a/103screen.subx b/103screen.subx
index 28437259..e4645836 100644
--- a/103screen.subx
+++ b/103screen.subx
@@ -160,20 +160,8 @@ print-int32-to-screen:  # n: int
     89/<- %ebp 4/r32/esp
     #
     (print-int32-buffered Stdout *(ebp+8))
-$print-int32-to-screen:end:
-    # . epilogue
-    89/<- %esp 5/r32/ebp
-    5d/pop-to-ebp
-    c3/return
-
-# just because Mu has no support for global variables yet
-flush-stdout:
-    # . prologue
-    55/push-ebp
-    89/<- %ebp 4/r32/esp
-    #
     (flush Stdout)
-$flush-stdout:end:
+$print-int32-to-screen:end:
     # . epilogue
     89/<- %esp 5/r32/ebp
     5d/pop-to-ebp
diff --git a/apps/mu b/apps/mu
index c3ae1294..15567cc1 100755
--- a/apps/mu
+++ b/apps/mu
Binary files differ