summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhpa <hpa>2002-11-19 01:00:07 +0000
committerhpa <hpa>2002-11-19 01:00:07 +0000
commitc66f5d626731683c046d113bb02063dbb81512d7 (patch)
treee16344190ec65f9108e95482074bd11f2ac5aad9
parentb918509b86a1d65427fe9270886c41b5d0491344 (diff)
downloadsyslinux-c66f5d626731683c046d113bb02063dbb81512d7.tar.gz
Fix the write string ABI call.
-rw-r--r--NEWS1
-rw-r--r--isolinux.asm5
-rw-r--r--pxelinux.asm4
3 files changed, 10 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index b18f1c57..df3093f0 100644
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,7 @@ Changes in 2.01:
versions, and be able to generate disk images with DOSEMU
headers (controlled by the -d option).
* Fix the COM32 sample program.
+ * PXELINUX, ISOLINUX: Fix come COMBOOT API calls.
Changes in 2.00:
* ALL: Add support for "COM32" (32-bit COMBOOT) images.
diff --git a/isolinux.asm b/isolinux.asm
index 71f1c58d..0cb7effa 100644
--- a/isolinux.asm
+++ b/isolinux.asm
@@ -1307,6 +1307,10 @@ strcpy: push ax
; since some PXE BIOSes seem to interfere regular console I/O.
;
writechr_full:
+ push ds
+ push cs
+ pop ds
+ mov ax,cs
call write_serial ; write to serial port if needed
pushfd
pushad
@@ -1340,6 +1344,7 @@ writechr_full:
int 10h
.ret: popad
popfd
+ pop ds
ret
.scroll: dec dh
mov bh,[TextPage]
diff --git a/pxelinux.asm b/pxelinux.asm
index fd00340e..c51b7641 100644
--- a/pxelinux.asm
+++ b/pxelinux.asm
@@ -1316,6 +1316,9 @@ strcpy: push ax
; since some PXE BIOSes seem to interfere regular console I/O.
;
writechr:
+ push ds
+ push cs
+ pop ds
call write_serial ; write to serial port if needed
pushfd
pushad
@@ -1349,6 +1352,7 @@ writechr:
int 10h
.ret: popad
popfd
+ pop ds
ret
.scroll: dec dh
mov bh,[TextPage]