aboutsummaryrefslogtreecommitdiff
path: root/board-js2x
diff options
context:
space:
mode:
authorThomas Huth <thuth@linux.vnet.ibm.com>2011-10-27 18:18:11 +0200
committerThomas Huth <thuth@linux.vnet.ibm.com>2011-11-17 12:10:37 +0100
commit69cbb38fb540b1c458ad9a9299f14ff57b7f70c6 (patch)
treeededdb78ed0085f0e86fc9c8f90f385f3bf1040b /board-js2x
parent2cef4bbbc3146857c114e6cb388082a48ab64000 (diff)
downloadSLOF-69cbb38fb540b1c458ad9a9299f14ff57b7f70c6.zip
SLOF-69cbb38fb540b1c458ad9a9299f14ff57b7f70c6.tar.gz
SLOF-69cbb38fb540b1c458ad9a9299f14ff57b7f70c6.tar.bz2
JS2x: Fixed bug in Citrine code
While setting up the setsupbuff, the code wrote accidentially to memory at address 3 instead of setsupbuff+3. Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Diffstat (limited to 'board-js2x')
-rw-r--r--board-js2x/slof/citrine.fs5
1 files changed, 4 insertions, 1 deletions
diff --git a/board-js2x/slof/citrine.fs b/board-js2x/slof/citrine.fs
index ee26c9a..ad67776 100644
--- a/board-js2x/slof/citrine.fs
+++ b/board-js2x/slof/citrine.fs
@@ -50,7 +50,10 @@ ioasa ioarcb 34 + l! 200 ioarcb 38 + w!
\ ioa config data (max. 16 devices)
CREATE ioacfg 404 allot ioacfg 404 erase
-CREATE setsupbuff 2c allot setsupbuff 2c erase 2c setsupbuff w! 1 setsupbuff + 3 c!
+CREATE setsupbuff 2c allot
+ setsupbuff 2c erase
+ 2c setsupbuff w!
+ 1 setsupbuff 3 + c!
: wait-ready ( -- )
82800000 214 ioa!