Re: Ayn (PD?) work for FORTH on PIC 24... processors?
- From: Mikael Nordman <poista.oh2aun@xxxxxxxxxxxxxxxxx>
- Date: Wed, 18 Apr 2007 07:58:58 +0300
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
.
- References:
- Re: Ayn (PD?) work for FORTH on PIC 24... processors?
- From: Elizabeth D Rather
- Re: Ayn (PD?) work for FORTH on PIC 24... processors?
- From: Albert van der Horst
- Re: Ayn (PD?) work for FORTH on PIC 24... processors?
- Prev by Date: Re: Forth Frustrations
- Next by Date: Re: Forth Frustrations
- Previous by thread: Re: Ayn (PD?) work for FORTH on PIC 24... processors?
- Next by thread: Re: so forth is useless except for limited mem environments?
- Index(es):
Relevant Pages
|