aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhpa <hpa>2001-01-24 03:33:22 +0000
committerhpa <hpa>2001-01-24 03:33:22 +0000
commitb3647823057c453c891c060fcd9868cf0d505c9f (patch)
treed820cb1238bc5261c29b19c73bcc20471c023eb1
parent95b4b1aa94cd3adc78981abbfed8950c0e8a92cb (diff)
downloadsyslinux.git-b3647823057c453c891c060fcd9868cf0d505c9f.tar.gz
syslinux.git-b3647823057c453c891c060fcd9868cf0d505c9f.tar.xz
syslinux.git-b3647823057c453c891c060fcd9868cf0d505c9f.zip
Don't do wraparound on the serial port - that's the terminal's job
-rw-r--r--ldlinux.asm3
-rw-r--r--pxelinux.asm3
2 files changed, 4 insertions, 2 deletions
diff --git a/ldlinux.asm b/ldlinux.asm
index de00571e..cddcea2f 100644
--- a/ldlinux.asm
+++ b/ldlinux.asm
@@ -3020,7 +3020,7 @@ msg_normal: call write_serial ; Write to serial port
mov al,[CursorCol]
inc ax
cmp al,[VidCols]
- ja msg_newline
+ ja msg_line_wrap ; Screen wraparound
mov [CursorCol],al
msg_gotoxy: mov bh,[TextPage]
@@ -3036,6 +3036,7 @@ msg_newline: ; Newline char or end of line
mov si,crlf_msg
call write_serial_str
pop si
+msg_line_wrap: ; Screen wraparound
mov byte [CursorCol],0
mov al,[CursorRow]
inc ax
diff --git a/pxelinux.asm b/pxelinux.asm
index 6233c06b..e6765ac7 100644
--- a/pxelinux.asm
+++ b/pxelinux.asm
@@ -2968,7 +2968,7 @@ msg_normal: call write_serial ; Write to serial port
mov al,[CursorCol]
inc ax
cmp al,[VidCols]
- ja msg_newline
+ ja msg_line_wrap ; Screen wraparound
mov [CursorCol],al
msg_gotoxy: mov bh,[TextPage]
@@ -2984,6 +2984,7 @@ msg_newline: ; Newline char or end of line
mov si,crlf_msg
call write_serial_str
pop si
+msg_line_wrap: ; Screen wraparound
mov byte [CursorCol],0
mov al,[CursorRow]
inc ax