Author: wmb
Date: 2008-01-04 01:31:23 +0100 (Fri, 04 Jan 2008)
New Revision: 764
Modified:
cpu/x86/pc/olpc/fw.bth
Log:
OLPC trac 5692 - Elaborated the "EC problem - remove all power" message.
Modified: cpu/x86/pc/olpc/fw.bth
===================================================================
--- cpu/x86/pc/olpc/fw.bth 2008-01-02 23:30:27 UTC (rev 763)
+++ cpu/x86/pc/olpc/fw.bth 2008-01-04 00:31:23 UTC (rev 764)
@@ -555,7 +555,8 @@
?resume-botch
board-revision 0= if
- ." EC problem - remove all power and restart" cr
+ ." EC problem - disconnect the battery and AC adapter," cr
+ ." reconnect them, and restart." cr
begin again
then
Author: wmb
Date: 2008-01-03 00:29:23 +0100 (Thu, 03 Jan 2008)
New Revision: 762
Modified:
cpu/x86/pc/olpc/gamekeys.fth
Log:
OLPC game key display - changed "o" to "." for non-pressed keys, thus making
it clearer which keys are down.
Modified: cpu/x86/pc/olpc/gamekeys.fth
===================================================================
--- cpu/x86/pc/olpc/gamekeys.fth 2008-01-02 23:28:13 UTC (rev 761)
+++ cpu/x86/pc/olpc/gamekeys.fth 2008-01-02 23:29:23 UTC (rev 762)
@@ -13,7 +13,7 @@
0 value game-key-mask
: show-key ( mask x y -- )
- at-xy game-key-mask and if ." *" else ." o" then
+ at-xy game-key-mask and if ." *" else ." ." then
;
: update-game-keys ( mask -- )
dup game-key-mask or to game-key-mask
Author: wmb
Date: 2008-01-02 22:41:48 +0100 (Wed, 02 Jan 2008)
New Revision: 760
Added:
cpu/ppc/build/Makefile.cross
Modified:
cpu/ppc/build/builder.dic
cpu/ppc/kernel.bth
cpu/ppc/savemeta.fth
Log:
PowerPC build - some minor improvements to the PowerPC build scripts,
which still need work.
Added: cpu/ppc/build/Makefile.cross
===================================================================
--- cpu/ppc/build/Makefile.cross (rev 0)
+++ cpu/ppc/build/Makefile.cross 2008-01-02 21:41:48 UTC (rev 760)
@@ -0,0 +1,8 @@
+# This setting of HOSTDIR is for cross-building on an x86 Linux system
+# For it to work, you first need to build the simulator version of ppcforth
+# in cpu/ppc/Linux and then copy the ppcforth file to cpu/x86/Linux
+HOSTDIR:=$(shell pwd)/../../../cpu/x86/Linux/
+
+builder.dic:
+ HOSTDIR=${HOSTDIR} build $@
+
Modified: cpu/ppc/kernel.bth
===================================================================
--- cpu/ppc/kernel.bth 2008-01-02 19:08:27 UTC (rev 759)
+++ cpu/ppc/kernel.bth 2008-01-02 21:41:48 UTC (rev 760)
@@ -79,7 +79,7 @@
fload ${BP}/cpu/ppc/savemeta.fth
-.( --- Saving kernel.dic ---) "" kernel.dic save-meta
+.( --- Saving kernel.dic ---) " kernel.dic" $save-meta
cr
\ LICENSE_BEGIN
Modified: cpu/ppc/savemeta.fth
===================================================================
--- cpu/ppc/savemeta.fth 2008-01-02 19:08:27 UTC (rev 759)
+++ cpu/ppc/savemeta.fth 2008-01-02 21:41:48 UTC (rev 760)
@@ -28,14 +28,14 @@
: swap-size ( -- n ) here-t >swap-map-size-t ;
: user-base ( -- adr ) userarea-t ;
: user-size ( -- n ) user-size-t doubleword-align ;
-: save-meta ( str -- )
+: $save-meta ( str -- )
\ Doubleword alignment is required so that the user area image will
\ not be in the same doubleword as the end of the dictionary, thus
\ causing the copy loop to get the wrong value the first time.
begin here-t 7 and while 0 c,-t repeat
- new-file
+ $new-file
\ Set the text and data sizes in the program header
h# 4800.0020 header h# 0 + l-t! \ Branch past the header