summaryrefslogtreecommitdiff
path: root/writestr.inc
diff options
context:
space:
mode:
Diffstat (limited to 'writestr.inc')
-rw-r--r--writestr.inc9
1 files changed, 7 insertions, 2 deletions
diff --git a/writestr.inc b/writestr.inc
index 4bfbe24b..46d2aa14 100644
--- a/writestr.inc
+++ b/writestr.inc
@@ -21,8 +21,13 @@
;
; crlf: Print a newline
;
-crlf: mov si,crlf_msg
- ; Fall through
+crlf: push ax
+ mov al,CR
+ call writechr
+ mov al,LF
+ call writechr
+ pop ax
+ ret
;
; cwritestr: write a null-terminated string to the console, saving