[OpenBIOS] r449 - cpu/x86/pc/olpc
svn at openbios.org
svn at openbios.org
Fri Jun 15 21:20:31 CEST 2007
Author: wmb
Date: 2007-06-15 21:20:30 +0200 (Fri, 15 Jun 2007)
New Revision: 449
Modified:
cpu/x86/pc/olpc/fw.bth
Log:
OLPC - Ignore game keys on B1 and lower systems; they don't work reliably there.
Modified: cpu/x86/pc/olpc/fw.bth
===================================================================
--- cpu/x86/pc/olpc/fw.bth 2007-06-15 19:19:29 UTC (rev 448)
+++ cpu/x86/pc/olpc/fw.bth 2007-06-15 19:20:30 UTC (rev 449)
@@ -439,9 +439,13 @@
0 value game-key-mask
-: read-game-keys ( -- f)
+: read-game-keys ( -- )
[ifdef] lx-devel false exit [then]
- atest? if true exit then
+ board-revision h# b20 < if
+ h# 100 to game-key-mask
+ exit
+ then
+
game-key@ dup to game-key-mask if
." Release the game key to continue" cr
begin d# 100 ms game-key@ 0= until
More information about the OpenBIOS
mailing list