|
From: pito <pi...@vo...> - 2010-07-04 16:30:47
|
What about this approach: 1. you compile and add a new word e.g. sinus4 2. you check whether the same name does exist already (e.g. sinus3) 3. you replace the header of the older word (sinus3) with a simple jump to the new one (sinus4). It will be built into compiler. So every call to an older definition of the sinus from whathever word previously defined will actually call the new one. Thus upload of new sinus will affect all previously defined words. Of course you must not use marker, otherwise you may loose the track. However you may redefine marker so it reconstruct jumps to the older versions of the sinus4. Pito ----- PŮVODNÍ ZPRÁVA ----- Od: "Matthias Trute" <mt...@we...> Komu: "pito" <pi...@vo...> Předmět: Re: [Amforth-devel] Words redefiniton and references Datum: 4.7.2010 - 17:51:49 > Hi Pito, > > > imagine the real situation - I am flying a satellite. > > > I do so all day ;=) > > > based o the new sinus. I want to have a possibility > > to change ANY word > > > in the BC in such a way. I do not have problem with > > growing the flash > > > volume, so I am not going to use marker. I do not > > want to use RAM as > > > RAM is prone to change the content when irradiated > > by Higgs bosone. > > > It is doable? > > Sure it is. You can make precaution to minimize the > utilization > of your communication window as well. > > What you need is a search-replace word that changes > the > flash content within a specified address range. fairly > easy > to implement, but i doubt a general benefit. > > Matthias |