Hi Enoch.

Here it is. I have no idea if it works with current amforth.
Some hints which amforth words have changed in versions >3.6 are  
given in the srouce, there may be more since.

I factored ,EE to copy eeprom to flash and POPEE to out it back to  
eeprom - not that elegant notation.

; : ,ee ( -- )
;   here , heap , edp ,  edp 8 do i e@ ,  2 +loop ;
; : popee ( adr n -- )
;    0 do dup i + i@  i 2* 2 + e! loop drop ;
; : marker ( -- )
;   edp >r here >r
;   ,ee create r> , r> ,
;   does> >r r@ i@ r> 1+ i@ popee ;


Regards, Michael


-------------- next part --------------





Am 05.05.2013 um 09:23 schrieb Enoch:

> Hello Michael Kalus,
>
> IIRC Matthias mentioned that you have once written a MARKER version  
> that
> backs up the entire EEPROM to the Flash memory.
> IMHO that's the correct
> approach. Can you post this code again. On GMANE I found a broken
> dropbox link from 2010.
>
> If I have to write from scratch all MARKER words would be on a  
> wordlist of
> their own. The first MARKER should be produced during compile of the
> kernel. The following MARKERs would be successive deltas...
>
> Thanks, Enoch.
>
>
> ---------------------------------------------------------------------- 
> --------
> Get 100% visibility into Java/.NET code with AppDynamics Lite
> It's a free troubleshooting tool designed for production
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap2
> _______________________________________________
> Amforth-devel mailing list for http://amforth.sf.net/
> Amforth-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amforth-devel

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
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