diff options
author | hpa <hpa> | 2004-12-17 17:45:46 +0000 |
---|---|---|
committer | hpa <hpa> | 2004-12-17 17:45:46 +0000 |
commit | d0fe5d534f73c5be015e9a97bcea6261d2e86ce8 (patch) | |
tree | 78929c46ccae5eac878614f267681c2f0e306b70 /dos | |
parent | ced09d94f6fc70c3006b59a4ced1af19f7f23b73 (diff) | |
download | syslinux-elf-d0fe5d534f73c5be015e9a97bcea6261d2e86ce8.tar.gz syslinux-elf-d0fe5d534f73c5be015e9a97bcea6261d2e86ce8.tar.xz syslinux-elf-d0fe5d534f73c5be015e9a97bcea6261d2e86ce8.zip |
Character to print goes in DL, not in BL
Diffstat (limited to 'dos')
-rw-r--r-- | dos/conio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dos/conio.c b/dos/conio.c index 460858fa..3d562afd 100644 --- a/dos/conio.c +++ b/dos/conio.c @@ -1,7 +1,7 @@ #ident "$Id$" /* ----------------------------------------------------------------------- * * - * Copyright 2001-2003 H. Peter Anvin - All Rights Reserved + * Copyright 2001-2004 H. Peter Anvin - All Rights Reserved * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,7 +22,7 @@ int putchar(int ch) { - asm("movb $0x02,%%ah ; int $0x21" : : "b" (ch)); + asm("movb $0x02,%%ah ; int $0x21" : : "d" (ch)); return ch; } |