summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Brown2006-12-21 01:07:48 +0100
committerMichael Brown2006-12-21 01:07:48 +0100
commit9c3b4e5b0b93b4d24dcd4a09c7bd30cd36ad83d4 (patch)
tree5e90ed958b30493e6640d5b93776eca5a683f5f4 /src
parentAdded missing header (diff)
downloadipxe-9c3b4e5b0b93b4d24dcd4a09c7bd30cd36ad83d4.tar.gz
ipxe-9c3b4e5b0b93b4d24dcd4a09c7bd30cd36ad83d4.tar.xz
ipxe-9c3b4e5b0b93b4d24dcd4a09c7bd30cd36ad83d4.zip
Some BIOSes return 0xe0 for extended characters. Just assume that
anything over 0x80 is an extended character.
Diffstat (limited to 'src')
-rw-r--r--src/arch/i386/firmware/pcbios/bios_console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/i386/firmware/pcbios/bios_console.c b/src/arch/i386/firmware/pcbios/bios_console.c
index 33dd2ad5..f6867edb 100644
--- a/src/arch/i386/firmware/pcbios/bios_console.c
+++ b/src/arch/i386/firmware/pcbios/bios_console.c
@@ -249,7 +249,7 @@ static int bios_getchar ( void ) {
character = ( keypress & 0xff );
/* If it's a normal character, just return it */
- if ( character )
+ if ( character < 0x80 )
return character;
/* Otherwise, check for a special key that we know about */