Don't do wraparound on the serial port - that's the terminal's job
authorhpa <hpa>
Wed, 24 Jan 2001 03:33:22 +0000 (03:33 +0000)
committerhpa <hpa>
Wed, 24 Jan 2001 03:33:22 +0000 (03:33 +0000)
ldlinux.asm
pxelinux.asm

index de00571..cddcea2 100644 (file)
@@ -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
index 6233c06..e6765ac 100644 (file)
@@ -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