Re: [Flashforth-devel] Elements of FlashForth tutorial
Brought to you by:
oh2aun
From: Peter J. <p.j...@uq...> - 2013-06-12 14:56:45
|
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 |