summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/i386/boot0/boot0.S6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/boot/i386/boot0/boot0.S b/sys/boot/i386/boot0/boot0.S
index 5284188..3349009 100644
--- a/sys/boot/i386/boot0/boot0.S
+++ b/sys/boot/i386/boot0/boot0.S
@@ -96,9 +96,8 @@ main:
/*
* Initialize the serial port. bioscom preserves the driver number in DX.
*/
- movb COMSPEED,%al # defined by Makefile
- movb $0x00,%ah # BIOS: Set COM Port
- call bioscom
+ movw COMSPEED,%ax # defined by Makefile
+ callw bioscom
#endif /* SIO */
/*
* Check what flags were loaded with us, specifically, Use a predefined Drive.
@@ -372,7 +371,6 @@ putchr:
#else /* SIO */
putchr:
movb $0x01,%ah # BIOS: Send
- xorw %cx,%cx # No timeout
bioscom:
pushw %dx # Save
xorw %dx,%dx # Use COM1
OpenPOWER on IntegriCloud