User Tools

Site Tools


en:projects:a-start-with-forth:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:projects:a-start-with-forth:start [2016-10-08 17:42] – [A Start With Forth] mkaen:projects:a-start-with-forth:start [2017-09-19 22:15] (current) – [Links] mka
Line 1: Line 1:
-====== A Start With Forth ======+====== 35 Forth Words as First Entry Application ====== 
 + 
 +( part of the eBook **A Start With Forth** published by Juergen ) 
 +  
 +**NEW**: for a quick test just download the [[https://www.dropbox.com/sh/6e61q1k3zog9tso/AAAPD2XfKtpa4t5s7YwXveZLa?dl=0|vfxtestapp.exe]] from our dropbox((Unfortunately the exe cannot be stored here in this wiki.)) and click on it. \\ 
 +See the [[en:projects:a-start-with-forth:start#vfx_manuals|manual for the full VFX Version]] further down. 
 + 
 +Try it out – no installation needed, showing the final result of what is described here.  
 + 
 +---
  
 Write a simple Application using just 35 Forth Words.((ExMark - Juergen Pintaske Sept2016)) Set IO Bits and start a ''COUNTER''. There is a Word for ''SOS'' as well; dependent on the hardware you can hear the ''SOS'' as some sounds (or not) just try ''VFXTESTAPP'' running on the PC.  Change the ''NAME'' word to display your NAME. Write a simple Application using just 35 Forth Words.((ExMark - Juergen Pintaske Sept2016)) Set IO Bits and start a ''COUNTER''. There is a Word for ''SOS'' as well; dependent on the hardware you can hear the ''SOS'' as some sounds (or not) just try ''VFXTESTAPP'' running on the PC.  Change the ''NAME'' word to display your NAME.
Line 5: Line 14:
 Runs under [[http://www.mpeforth.com/arena.htm#msp430lite|VFX]], tested on FORTH INC Swiftforth, WIN32 and GFORTH, should run on Tablet and Mobile as well using the right GFORTH APP. Runs under [[http://www.mpeforth.com/arena.htm#msp430lite|VFX]], tested on FORTH INC Swiftforth, WIN32 and GFORTH, should run on Tablet and Mobile as well using the right GFORTH APP.
  
-First install VFX430LITE from the [[http://www.mpeforth.com/arena.htm#msp430lite|mpeforth.com website]]. Next set up a folder C:\VFXTESTAPP. Store {{ :en:projects:a-start-with-forth:vfxtestapp_2016_10_02v3a_short.doc|this file}} as VFXTESTAPP.doc into this folder. Start VFX430LITE. VFX will complain "cannot open comms" , just type <ok>, this is for later. Now open under //Utilities -> Forth Console//. Forth is ready and running in the VFX Debug Console. Next open this file VFXTESTAPP.doc  in a suitable editor and save it as VFXTESTAPP.txt into the same folder. VFX only accepts pure ASCII files. Then copy ''INCLUDE C:\VFXTESTAPP\VFXTESTAPP.txt'' into the VFX window and hit <cr>((The CR keystroke)) to run this demo. It might work as well, just to select all of the text in the open editor .doc window, copy and paste it into VFX Debug Window. See how VFX compiles to learn new words. When finished, type <cr> and then type ''COUNTER'' A few lines of "GUI" will be shown. Type in ''PWL'' <cr>, changes PW from 1 to 0, or modify other bits. Enter ''SOS'' <cr>,  ''COUNTER'' <cr> again, or ''400 SCOUNTER'', or ''????'' <cr> for the little debugger.  You get: +First install VFX430LITE from the [[http://www.mpeforth.com/arena.htm#msp430lite|mpeforth.com website]]. Next set up a folder C:\VFXTESTAPP. Store file {{ :en:projects:a-start-with-forth:vfxtestapp.fs|vfxtestapp.fs}} into this folder. Start VFX430LITE. VFX will complain "cannot open comms" , just type <ok>, this is for later. Now open under //Utilities -> Forth Console//. Forth is ready and running in the VFX Debug Console. Then copy ''INCLUDE C:\VFXTESTAPP\VFXTESTAPP.fs'' into the VFX window and hit <cr>((The CR keystroke)) to run this demo. It might work as well, just to select all of the text in the open editor .fs window, copy and paste it into VFX Debug Window. See how VFX compiles to learn new words. When finished, type <cr> and then type ''COUNTER'' A few lines of "GUI" will be shown. Type in ''PWL'' <cr>, changes PW from 1 to 0, or modify other bits. Enter ''SOS'' <cr>,  ''COUNTER'' <cr> again, or ''400 SCOUNTER'', or ''????'' <cr> for the little debugger.  You get: 
  
 {{:en:projects:a-start-with-forth:vfxtestappv5.jpg|screenhot of registers, counter in O3HL ... O0HL}} {{:en:projects:a-start-with-forth:vfxtestappv5.jpg|screenhot of registers, counter in O3HL ... O0HL}}
Line 210: Line 219:
  
  
-====== VFX AIDE Manual ======+====== VFX Manuals ====== 
 + 
 +{{:en:projects:a-start-with-forth:vfxman.pdf|VFX Forth for Windows, User manual, Revision 4.62, 12 May 2014 
 +}}\\ 
 +{{:en:projects:a-start-with-forth:aide_sept_2016_a4.pdf|VFX AIDE Manual, Sept 2016, PDF 27 pages A4 }}\\ 
 +{{:en:projects:a-start-with-forth:aide_sept_2016_a5_.pdf|VFX AIDE Manual, Sept 2016, PDF 28 pages A5 }}
  
-{{ :en:projects:a-start-with-forth:aide_sept_2016_a4.pdf |VFX AIDE Manual, Sept 2016, PDF 27 pages A4 }}\\ 
-{{ :en:projects:a-start-with-forth:aide_sept_2016_a5_.pdf |VFX AIDE Manual, Sept 2016, PDF 28 pages A5 }}\\ 
  
  
Line 219: Line 231:
 ====== Links ====== ====== Links ======
  
-The pure text file you have to put into the folder c:\vfxtestapp is vfxtestapp.txt\\ +The pure text file you have to put into the folder C:\VFXTESTAPP is \\ 
-Download DOC format and save as vfxtestapp.txt+{{ :en:projects:a-start-with-forth:vfxtestapp.fs |vfxtestapp.fs}}\\
  
 Further information:\\ Further information:\\
Line 239: Line 251:
  
 Some eBooks for further reading at:\\ Some eBooks for further reading at:\\
-[[https://www.amazon.co.uk/Juergen-Pintaske/e/B00N8HVEZM]]\\+[[https://www.amazon.com/Juergen-Pintaske/e/B00N8HVEZM]]\\
  
 And Starting Forth by Leo Brodie for download and print at:\\ And Starting Forth by Leo Brodie for download and print at:\\
 [[http://www.exemark.com/FORTH.htm]] [[http://www.exemark.com/FORTH.htm]]
 +
 +**And all of the Forth Words used [[various:mugforth|fit around a Mug.]]**  
 +
  
 ====== Binary - Hexadecimal - Decimal Conversion Table ====== ====== Binary - Hexadecimal - Decimal Conversion Table ======
en/projects/a-start-with-forth/start.1475941364.txt.gz · Last modified: 2016-10-08 17:42 by mka