Re: Ayn (PD?) work for FORTH on PIC 24... processors?




COMPILE, would be somewhat complicated.

Maybe you were thinking about the flash erase block ?

COMPILE, or actually i! has to take into account
the flash erase block size.

When writing to flash you must copy the flash block
to ram (ibuffer) and write first to ibuffer.
When a write address points outside the current
ibuffer flash block, the ibuffer is written to
flash and ibuffer is then filled again with a new block.

FlashForth has a word, iflush, which writes a dirty
buffer to flash. It is used in quit, when state is 0.

i@ reads from ibuffer, or directly from flash, if the
address is not in ibuffer.

Mikael
--
http://www.kolumbus.fi/oh2aun
.



Relevant Pages

  • Re: About Filesystem and partition
    ... strata flash driver, then make sure that you have the latest QFEs (to ... crashed,OS can auto format the bad data partition by set "AutoFormat" ... somewhere in the mid of the flash block write or block ... automaticly if the partion table was corrupted? ...
    (microsoft.public.windowsce.platbuilder)
  • Re: About Filesystem and partition
    ... crashed,OS can auto format the bad data partition by set "AutoFormat" ... somewhere in the mid of the flash block write or block ... automaticly if the partion table was corrupted? ...
    (microsoft.public.windowsce.platbuilder)
  • Re: About Filesystem and partition
    ... crashed,OS can auto format the bad data partition by set "AutoFormat" ... somewhere in the mid of the flash block write or block ... automaticly if the partion table was corrupted? ...
    (microsoft.public.windowsce.platbuilder)