mirror of
https://github.com/ipxe/ipxe
synced 2025-12-15 00:12:19 +03:00
Some BIOSes return 0xe0 for extended characters. Just assume that
anything over 0x80 is an extended character.
This commit is contained in:
@@ -249,7 +249,7 @@ static int bios_getchar ( void ) {
|
|||||||
character = ( keypress & 0xff );
|
character = ( keypress & 0xff );
|
||||||
|
|
||||||
/* If it's a normal character, just return it */
|
/* If it's a normal character, just return it */
|
||||||
if ( character )
|
if ( character < 0x80 )
|
||||||
return character;
|
return character;
|
||||||
|
|
||||||
/* Otherwise, check for a special key that we know about */
|
/* Otherwise, check for a special key that we know about */
|
||||||
|
|||||||
Reference in New Issue
Block a user