Hi!

I have 360 cell problem. Or actually it's only 225 if I remove common part of 
the data.

I'd like to put them to eeprom but how it is done?

To memory it could be done with variable or buffer: 

To use eeprom, I would have to use value.

I haven't tested this but something like

: eearray ( n "<spaces>name" -- )
   value cells edp + to edp 
;
would make array I believe.

Then I believe it is possible to somehow to use !e[] to write it there. or 
plain !e

However I'm using ATMega128 which has 128kB flash, 4k EEPROM and 4k RAM this 
kind of constant data should be put to flash. Now I'm wondering how I do that.

(ATmega128)> hex dp .
16B6  ok
If I'm correct I have plenty of room before 0xf000 where NRWW -flash starts.

I would propably need something like case, which would be way too heavy,

: neededtrick jump forward in definition ;

: my_data@ ( index -- data )
neededtrick 
\ Or something like cells latest + 2 0 do dup @ swap loop exit
$1234
$5678
exit
$9012
$3456
exit
...
;

Does anyone has any good ideas about this or good warnings?

Best regards,
Hannu Vuolasaho
                                          
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to