[OpenBIOS] r624 - cpu/x86/pc/olpc

svn at openbios.org svn at openbios.org
Wed Sep 19 05:00:03 CEST 2007


Author: wmb
Date: 2007-09-19 05:00:03 +0200 (Wed, 19 Sep 2007)
New Revision: 624

Modified:
   cpu/x86/pc/olpc/fw.bth
Log:
OLPC - Enable pretty boot and startup sound by default.









Modified: cpu/x86/pc/olpc/fw.bth
===================================================================
--- cpu/x86/pc/olpc/fw.bth	2007-09-19 02:59:37 UTC (rev 623)
+++ cpu/x86/pc/olpc/fw.bth	2007-09-19 03:00:03 UTC (rev 624)
@@ -478,7 +478,7 @@
 ;
 
 : start-sound  ( -- )
-   playback-volume >r  d# -21 to playback-volume
+   playback-volume >r  d# -9 to playback-volume
    ['] load-started behavior  >r
    ['] noop to load-started
    " rom:splash" ['] $play-wav catch  if  2drop  then
@@ -493,21 +493,20 @@
 : unfreeze  ( -- )  ['] usb-quiet      to go-hook  ;
 
 : ?start-sound  ( -- )
-   game-key-mask h# 40 and  if  start-sound  then
+   game-key-mask h# 40 and  0=  if  start-sound  then
 ;
+: ?freeze  ( -- )
+   game-key-mask h# 10 and  0=  if  freeze  then
+;
 : ?games  ( -- )
    game-key-mask h# 20 and  if
       time&date 5drop 1 and  if  pong  else  d# 1200 life  then
    then
 ;
-: ?freeze  ( -- )
-   game-key-mask h# 10 and  if  freeze  then
-;
 : open-keyboard  ( -- )
    " keyboard" open-dev  ?dup  if  set-stdin  then
 ;
 
-
 : startup  ( -- )
    standalone?  0=  if  exit  then
 




More information about the OpenBIOS mailing list