diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-05-29 16:44:40 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-05-29 16:44:40 -0700 |
commit | 242a50f2295fc30391027fc5ab59950063e5dd8b (patch) | |
tree | 625fd8989459b8c6ce28ff12c54b7ba5f9c4e1ec | |
parent | eb40c70e267b83c3d70a85493ad0be306857f846 (diff) | |
download | mu-242a50f2295fc30391027fc5ab59950063e5dd8b.tar.gz |
6441
Just always flush Stdout when printing numbers.
-rw-r--r-- | 103screen.subx | 14 | ||||
-rwxr-xr-x | apps/mu | bin | 256201 -> 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 |