david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Some BIOSes return 0xe0 for extended characters. Just assume that

anything over 0x80 is an extended character.
This commit is contained in:
Michael Brown 2006-12-21 00:07:48 +00:00
parent 839d425c6e
commit 9c3b4e5b0b
1 changed files with 1 additions and 1 deletions

View File

@ -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 */