[OpenBIOS] r767 - cpu/x86/pc/olpc
svn at openbios.org
svn at openbios.org
Sat Jan 5 02:06:40 CET 2008
Author: wmb
Date: 2008-01-05 02:06:40 +0100 (Sat, 05 Jan 2008)
New Revision: 767
Modified:
cpu/x86/pc/olpc/fw.bth
Log:
OLPC - Disable EC indexed I/O before some game-key functions just in case.
Modified: cpu/x86/pc/olpc/fw.bth
===================================================================
--- cpu/x86/pc/olpc/fw.bth 2008-01-05 00:43:59 UTC (rev 766)
+++ cpu/x86/pc/olpc/fw.bth 2008-01-05 01:06:40 UTC (rev 767)
@@ -511,24 +511,24 @@
: ?games ( -- )
rocker-right game-key? if
+ ec-indexed-io-off
time&date 5drop 1 and if pong else life-demo then
then
;
: ?diags ( -- )
rocker-left game-key? if
+ ec-indexed-io-off
text-on " test-all" eval
." Tests complete - powering off" cr d# 5000 ms power-off
then
;
: ?scan-nand ( -- )
- rocker-up game-key? if text-on scan-nand then
+ rocker-up game-key? if ec-indexed-io-off text-on scan-nand then
;
: ?fs-update ( -- )
button-check button-x or button-o or button-square or ( mask )
- game-key-mask = if
- try-fs-update
- then
+ game-key-mask = if ec-indexed-io-off try-fs-update then
;
: open-keyboard ( -- )
" keyboard" open-dev ?dup if set-stdin then
More information about the OpenBIOS
mailing list