summaryrefslogtreecommitdiff
path: root/writestr.inc
diff options
context:
space:
mode:
authorhpa <hpa>2005-01-18 13:13:50 +0000
committerhpa <hpa>2005-01-18 13:13:50 +0000
commit15088eec8155b23f6768a6412229300b56f8bffb (patch)
tree80987103489d9dab3e7ee808fb92d7945cc7ec0e /writestr.inc
parented930458b2e84f3976f41739bfa3cbf1b9d1e448 (diff)
downloadsyslinux-15088eec8155b23f6768a6412229300b56f8bffb.tar.gz
Fix calculation of I/O block size in SYSLINUXsyslinux-3.08-pre2
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