summaryrefslogtreecommitdiff
path: root/isolinux.asm
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 /isolinux.asm
parentb918509b86a1d65427fe9270886c41b5d0491344 (diff)
downloadsyslinux-c66f5d626731683c046d113bb02063dbb81512d7.tar.gz
Fix the write string ABI call.
Diffstat (limited to 'isolinux.asm')
-rw-r--r--isolinux.asm5
1 files changed, 5 insertions, 0 deletions
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]