diff options
| author | Michael Brown | 2006-12-21 01:07:48 +0100 |
|---|---|---|
| committer | Michael Brown | 2006-12-21 01:07:48 +0100 |
| commit | 9c3b4e5b0b93b4d24dcd4a09c7bd30cd36ad83d4 (patch) | |
| tree | 5e90ed958b30493e6640d5b93776eca5a683f5f4 /src/arch/i386 | |
| parent | Added missing header (diff) | |
| download | ipxe-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/arch/i386')
| -rw-r--r-- | src/arch/i386/firmware/pcbios/bios_console.c | 2 |
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 33dd2ad59..f6867edb8 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 */ |
