[OpenBIOS] r717 - cpu/x86/pc/olpc
svn at openbios.org
svn at openbios.org
Wed Nov 7 08:52:08 CET 2007
Author: wmb
Date: 2007-11-07 08:52:07 +0100 (Wed, 07 Nov 2007)
New Revision: 717
Modified:
cpu/x86/pc/olpc/fw.bth
Log:
OLPC trac 4702 - added game key cheat code - rocker left - to invoke diagnostics.
Modified: cpu/x86/pc/olpc/fw.bth
===================================================================
--- cpu/x86/pc/olpc/fw.bth 2007-11-07 07:37:39 UTC (rev 716)
+++ cpu/x86/pc/olpc/fw.bth 2007-11-07 07:52:07 UTC (rev 717)
@@ -495,6 +495,11 @@
time&date 5drop 1 and if pong else life-demo then
then
;
+: ?diags ( -- )
+ rocker-left game-key? if
+ text-on " test-all" eval d# 10000 ms power-off
+ then
+;
: ?fs-update ( -- )
button-check button-x or button-o or button-square or ( mask )
game-key-mask over and = if
@@ -537,10 +542,11 @@
['] false to interrupt-auto-boot?
probe-usb
interpreter-init
+ ?diags
?fs-update
secure-startup
['] (interrupt-auto-boot?) to interrupt-auto-boot?
- screen-ih stdout !
+ text-on
banner
?usb-keyboard
auto-boot
More information about the OpenBIOS
mailing list