From 69cbb38fb540b1c458ad9a9299f14ff57b7f70c6 Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Thu, 27 Oct 2011 18:18:11 +0200 Subject: 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 --- board-js2x/slof/citrine.fs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'board-js2x') 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! -- cgit v1.1