Re: [Amforth] Useful?

2013-02-20 Thread Matthias Trute
Hi, > Your SBI/CBI macros are an excellent and inspiring solution for a > particular problem. I think it really deserves to be published. > As a recipe in the cookbook. A rough first shot is online: http://amforth.sourceforge.net/TG/recipes/Efficient-Bitmanipulation.html It will get links and m

Re: [Amforth] Useful?

2013-02-20 Thread Enoch
Hello Matthias, Matthias Trute writes: > Hi Enoch, > >> Well, let's try the following indirect argument: >> >> Atmel thought these instructions to be important enough to "spend" 2^10 >> opcodes out of their precious 2^16 RISC range. Don't we need to respect >> that engineering decision by suita

Re: [Amforth] Development request

2013-02-20 Thread Matthias Trute
Hi, > MARKER is great for development, and I use it as well, but it is not > good enough in production situation: > > Let's say we are consultants and ship an Amforth based "blackbox" to a > client whose firmware we loaded before shipping via JTAG. When this > firmware needs a bug fix or an upgr

Re: [Amforth] Useful?

2013-02-20 Thread Matthias Trute
Hi Enoch, > Well, let's try the following indirect argument: > > Atmel thought these instructions to be important enough to "spend" 2^10 > opcodes out of their precious 2^16 RISC range. Don't we need to respect > that engineering decision by suitable Amforth words? No, we don't. Sounds too harsh

Re: [Amforth] Development request

2013-02-20 Thread Michael Kalus
Hi. Am 20.02.2013 um 10:16 schrieb Enoch: >> So, do I see this right? >> WIPE restores a known state. This state needs to be calculated at >> assembly time. Yes. >> It includes the initial state of eeprom, wordlist and >> other pointers, user area, disabling tasks ... where do you stop? >> Do

Re: [Amforth] Development request

2013-02-20 Thread Michael Kalus
Hi Enoch. Am 20.02.2013 um 04:35 schrieb Enoch: .. > Honored to meet you, the "4e4th" guy :-) To tell the truth, most of 4e4th is Camelforth, so Brad deserves the honor. Dirk Brühl is the guy with most of the ideas that brought it onto MSP430 LaunchPad. And Ulrich Hoffmann contributed as wel

Re: [Amforth] Development request

2013-02-20 Thread Enoch
Erich Waelde writes: > Hi Enoch, > > On 02/19/2013 10:36 PM, Enoch wrote: >> G'day to you to you all, >> >> I found something that seems to me useful on http://www.4e4th.eu/ >> >> WIPE ( -- ) Back to original status. Stacks unchanged. uarea back to >> original. >> >> Having an asm based word

Re: [Amforth] Useful?

2013-02-20 Thread Enoch
Erich Waelde writes: > Hi Enoch, > > since you asked for comments ... I certainly do! > On 02/13/2013 05:38 AM, Enoch wrote: >> Hello Matthias and all, >> >> I'd like to see this forum also offering code snippets, so here's my >> first humble attempt of harnessing the atomic bit manipulation >

Re: [Amforth] Development request

2013-02-20 Thread Erich Waelde
Hi Enoch, On 02/19/2013 10:36 PM, Enoch wrote: > G'day to you to you all, > > I found something that seems to me useful on http://www.4e4th.eu/ > > WIPE ( -- ) Back to original status. Stacks unchanged. uarea back to > original. > > Having an asm based word which restores the system into its o

Re: [Amforth] Useful?

2013-02-20 Thread Erich Waelde
Hi Enoch, since you asked for comments ... On 02/13/2013 05:38 AM, Enoch wrote: > Hello Matthias and all, > > I'd like to see this forum also offering code snippets, so here's my > first humble attempt of harnessing the atomic bit manipulation > instructions. > > : port:hi ( portadr bitno -- )