summaryrefslogtreecommitdiff
path: root/boot/arch/amd64/mbr
diff options
context:
space:
mode:
Diffstat (limited to 'boot/arch/amd64/mbr')
-rw-r--r--boot/arch/amd64/mbr/mbr.S7
1 files changed, 3 insertions, 4 deletions
diff --git a/boot/arch/amd64/mbr/mbr.S b/boot/arch/amd64/mbr/mbr.S
index 18740d6..ee58525 100644
--- a/boot/arch/amd64/mbr/mbr.S
+++ b/boot/arch/amd64/mbr/mbr.S
@@ -88,10 +88,9 @@ putstr:
* %al: Character to write
*/
putchr:
- push %dx
- mov $0x3F8, %dx
- out %al, %dx
- pop %dx
+ mov $0x0E, %ah
+ xor %bh, %bh
+ int $0x10
ret
dap: