Re: [Flashforth-devel] Elements of FlashForth tutorial
Brought to you by:
oh2aun
From: Mikael N. <mik...@pp...> - 2013-06-12 17:28:30
|
Some minor comments. Chapter 8 The word ( a left parenthesis followed by a space says disregard all following text until the next right parenthesis OR END OF LINE in the input stream" Table2 leave sets the loop counter to zero, not r@ Chapter12 The compiler word create makes a new dictionary entry using the next name in the input stream and compiles the pointer value of the first free data space location of the current data space context. When executed, the new dictionary entry returns the pointer value. Is that clear or can it be said simpler ? /Mike Chapter 12.3 The word 'of' is missing. Thanks Peter for a really good basic tutorial. I wonder if it could be converted to html and make it readable directly on the web. BR Mike On 06/12/2013 05:56 PM, Peter Jacobs wrote: > Pete, Mike, > I've put up a (slightly) more polished version. Fixed up some typographical errors and improved (hopefully) the discussion of defining words. I'm happy with it at this point. > > http://dropbox.eait.uq.edu.au/e4pjacob/flash-forth/eoff-2013-jun-12.pdf > > Cheers, > Peter J. > > ________________________________________ > From: Peter Jacobs [p.j...@uq...] > Sent: Tuesday, June 11, 2013 9:16 PM > To: Pete Zawasky; FF mailing list > Subject: Re: [Flashforth-devel] Elements of FlashForth tutorial > > A fresh version is up, using some of your suggestions. > > http://dropbox.eait.uq.edu.au/e4pjacob/flash-forth/eoff-2013-jun-11.pdf > > I have to admit to not getting around to fixing the typos, yet. > PJ > > ________________________________________ > From: Pete Zawasky [pza...@pz...] > Sent: Sunday, June 09, 2013 2:11 AM > To: FF mailing list > Subject: [Flashforth-devel] Elements of FlashForth tutorial > > Hi Peter, > > Not sure I am able to see your new version yet. > Only found a few spelling typos in the original. > > Here are 2 words I find very helpful exploring the usefulness of > FlashForth and PIC18 microcontrollers: > > : .mem ( -- ) \ print current memory locations > base @ hex > cr ." flash " flash here #4 u.r > cr ." eeprom " eeprom here #4 u.r > cr ." ram " ram here #4 u.r > base ! ; > > : c?% ( addr -- ) \ print byte contents at addr in binary > 2 spaces base @ swap > c@ 8 bin u.r > base ! ; > > c?% is useful to look at SFRs. > > .mem is useful to examine further what Mikael was saying about FORGET vs > EMPTY . > > Side note: I still prefer the original FORTH word COLD to > Mikael's EMPTY. > > Don't leave out DUMP, especially when learning to create arrays and jump > tables. > > Pete > > Pete Zawasky > PZEF Co. > 361 Mills RD > Oriental, NC 28571 > www.pzef.net > pza...@pz... > 1-252-249-3393 (voice and fax) > 1-252-670-6940 (cell) > > ------------------------------------------------------------------------------ > How ServiceNow helps IT people transform IT departments: > 1. A cloud service to automate IT design, transition and operations > 2. Dashboards that offer high-level views of enterprise services > 3. A single system of record for all IT processes > http://p.sf.net/sfu/servicenow-d2d-j > _______________________________________________ > Flashforth-devel mailing list > Fla...@li... > https://lists.sourceforge.net/lists/listinfo/flashforth-devel > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Flashforth-devel mailing list > Fla...@li... > https://lists.sourceforge.net/lists/listinfo/flashforth-devel > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Flashforth-devel mailing list > Fla...@li... > https://lists.sourceforge.net/lists/listinfo/flashforth-devel > |