Re: [Amforth] Wish to FORGET

2013-03-03 Thread Matthias Trute
Hi Enoch, > How can I reclaim the Flash memory of the crc8_msb_table word itself? > > (1) Our Tools Ext don't include FORGET. > > (2) I could use Core Ext MARKER if we had a deferred facility of > sort. I.e., create a deferred table and fill it using a transient > crc8_msb_table (which MARKER w

Re: [Amforth] .S “dot-s”

2013-03-03 Thread Erich Waelde
Michael, On 03/03/2013 01:00 AM, Michael Kalus wrote: > Here is the old form for your collection. It is "Stack UnderFlow" > save, telling "SUF" if you do one. > Maybe you have it already. Michael > > > -- next part -- If you, too, want me to look at your code, you better

Re: [Amforth] Wish to FORGET

2013-03-03 Thread Erich Waelde
Enoch, On 03/03/2013 05:22 AM, Enoch wrote: > I wrote a table driven CRC-8 routine for short messages using any > generating polynomial, seehttp://pastebin.com/1YtVdMeg > (I didn't like the slow approach of lib/hardware/1wire-crc8.frt). If you want me to look at your code, you better include it i

Re: [Amforth] .S “dot-s”

2013-03-03 Thread Matthias Trute
Enoch, > I hope that I'm not nagging -- got more challenges for you if you don't > object ;-) You're welcome :) Matthias -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download Ap

Re: [Amforth] .S “dot-s”

2013-03-03 Thread Michael Kalus
Oh, sorry. Forgot that the list strips attachments. Michael ; Enochs .S VE_DOTS: .dw $FF02 .db ".s" .dw VE_HEAD .set VE_HEAD = VE_DOTS XT_DOTS: .dw DO_COLON PFA_DOTS: ; ( -- ) ; stack picture listing order .dw XT_DEPTH PFA_DOTS0: .dw XT_DUP .dw XT_DOCONDBRA

[Amforth] Variations on .S (was: .S “dot-s”)

2013-03-03 Thread Erich Waelde
Hi, On 03/02/2013 06:22 AM, Enoch wrote: > Hello Matthias& all, > > Regarding .S > > Indeed, says Forth 2012 RC1, "the format of the display is > implementation-dependent". > > However, doesn't GFORTH display order make a better sense: > > 1 2 3 .s<3> 1 2 3 ok > > While ours: > >> 1 2 3 .

Re: [Amforth] Variations on .S

2013-03-03 Thread Enoch
Hello Erich & all, The focus of my .s comment was on Matthias non standard stack listing order, not on the implementation. This decision, in my opinion, slows down a Forth trained programmer who is accustomed to maintaining the standard "stack picture" in his mind. If you wonder what is "System 1

Re: [Amforth] Wish to FORGET

2013-03-03 Thread Enoch
Hi Erich, While my CRC-8 code may be of interest I did not want it to become the focus of conversation and this is why I posted the code as a "pastebin". My focus was on Forth ability to modify the program structure during program execution and indeed Matthias has addressed this very topic. I int

Re: [Amforth] Wish to FORGET

2013-03-03 Thread Enoch
Hello Matthias, Matthias Trute writes: > Hi Enoch, > > >> How can I reclaim the Flash memory of the crc8_msb_table word itself? >> >> (1) Our Tools Ext don't include FORGET. >> >> (2) I could use Core Ext MARKER if we had a deferred facility of >> sort. I.e., create a deferred table and fill i