flashforth-devel Mailing List for FlashForth: for PIC and Atmega (Page 30)
Brought to you by:
oh2aun
You can subscribe to this list here.
2011 |
Jan
|
Feb
(22) |
Mar
(3) |
Apr
(4) |
May
(6) |
Jun
(8) |
Jul
|
Aug
(6) |
Sep
|
Oct
(20) |
Nov
(9) |
Dec
(4) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2012 |
Jan
(4) |
Feb
|
Mar
(5) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(5) |
Oct
(14) |
Nov
(1) |
Dec
|
2013 |
Jan
(4) |
Feb
(5) |
Mar
(4) |
Apr
(2) |
May
|
Jun
(29) |
Jul
(7) |
Aug
|
Sep
(20) |
Oct
(9) |
Nov
(2) |
Dec
(7) |
2014 |
Jan
|
Feb
(23) |
Mar
(113) |
Apr
(25) |
May
(31) |
Jun
(9) |
Jul
(47) |
Aug
(15) |
Sep
(1) |
Oct
(4) |
Nov
(8) |
Dec
(3) |
2015 |
Jan
(21) |
Feb
(1) |
Mar
(18) |
Apr
(16) |
May
(100) |
Jun
(33) |
Jul
|
Aug
(10) |
Sep
(8) |
Oct
(7) |
Nov
(5) |
Dec
|
2016 |
Jan
(12) |
Feb
(9) |
Mar
|
Apr
(7) |
May
(5) |
Jun
(9) |
Jul
(1) |
Aug
(2) |
Sep
(17) |
Oct
(3) |
Nov
|
Dec
|
2017 |
Jan
(6) |
Feb
(12) |
Mar
(9) |
Apr
(3) |
May
(7) |
Jun
|
Jul
(12) |
Aug
|
Sep
(13) |
Oct
|
Nov
|
Dec
(10) |
2018 |
Jan
(1) |
Feb
|
Mar
(7) |
Apr
(4) |
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
(21) |
Oct
(3) |
Nov
|
Dec
|
2019 |
Jan
(5) |
Feb
(4) |
Mar
|
Apr
|
May
(3) |
Jun
(11) |
Jul
(4) |
Aug
(6) |
Sep
(3) |
Oct
|
Nov
(9) |
Dec
(7) |
2020 |
Jan
(2) |
Feb
(3) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(3) |
Sep
|
Oct
|
Nov
(4) |
Dec
|
2021 |
Jan
|
Feb
|
Mar
(8) |
Apr
(40) |
May
(12) |
Jun
|
Jul
|
Aug
(3) |
Sep
(3) |
Oct
(4) |
Nov
(10) |
Dec
(4) |
2022 |
Jan
(29) |
Feb
(7) |
Mar
(10) |
Apr
|
May
(3) |
Jun
(3) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
(1) |
Dec
(6) |
2023 |
Jan
(8) |
Feb
|
Mar
(5) |
Apr
(9) |
May
(6) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
(9) |
Aug
(7) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
From: Thomas B. <bus...@gm...> - 2014-06-04 06:03:39
|
Hallo Mikael, can you send me your (secure) configuration of the pic18f2620 board - because I think about to allow this function also over my website. Thank You Thomas 2014-06-03 20:56 GMT+02:00 Mikael Nordman <mik...@pp...>: > Two of the boards are now operational. > > pic18f2620 and pic24hj128 > > There may be occasional droputs of the connectivity because the terminal > server is behind a WLAN and the WLAN drops out once in a while. > > Mike > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/NeoTech > _______________________________________________ > Flashforth-devel mailing list > Fla...@li... > https://lists.sourceforge.net/lists/listinfo/flashforth-devel > -- www.aloedb.org - database for aloes |
From: Mikael N. <mik...@pp...> - 2014-06-03 18:57:00
|
Two of the boards are now operational. pic18f2620 and pic24hj128 There may be occasional droputs of the connectivity because the terminal server is behind a WLAN and the WLAN drops out once in a while. Mike |
From: Mikael N. <mik...@pp...> - 2014-06-02 10:05:27
|
Hello, Due to that I am cleaning the server room (=garage) the connections are down for a while ! BR Mike On 06/02/2014 11:37 AM, Simon Bradley wrote: > Hello, > > I have just tried the links given in sourceforge: > > telnet -l arduinomega flashforth.dlinkddns.com > > etc > > None of these are working though. > > Thanks, > Simon. > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/NeoTech > _______________________________________________ > Flashforth-devel mailing list > Fla...@li... > https://lists.sourceforge.net/lists/listinfo/flashforth-devel > |
From: Simon B. <sim...@ho...> - 2014-06-02 08:42:48
|
Hello, I have just tried the links given in sourceforge: telnet -l arduinomega flashforth.dlinkddns.com etc None of these are working though. Thanks, Simon. |
From: Herman A. <exp...@vn...> - 2014-05-22 19:54:25
|
Thanks, it's cool! BR Attila |
From: Mikael N. <mik...@pp...> - 2014-05-22 13:39:36
|
The ... stuff is not recognized as a number in the latest git. BR Mike |
From: Mikael N. <mik...@pp...> - 2014-05-22 11:45:34
|
I use the double dot as well to clear the stack an noticed the side effect immediately. I will fix it as soon as I have some time. Period is simple as punctuation since it is already used as double flag. I just want a simple scheme as possible. I have no intention to sugarcote the interpreter with mathematical or bussiness symbols. FlashForth is used mostly for HW control and bit-banging. I have no plans to introduce floating point in FlashForth, so that confusion will not arise anytime soon :-) Mike " Professional - An amateur that can afford to fail " -- Mike -- |
From: craig b. <dab...@ya...> - 2014-05-22 11:01:03
|
That side effect would be mildly annoying to this old bear since I routinely use a double-dot to purge the parameter stack when experimenting... Might be tolerable if the "sp!" was made available and I could actually get a stack-purge word to not restart the interpreter (grin). Save periods for floating point, they're confusing enough as "double flags" to the novices I try to introduce to the system. I still believe there's a reason we call them "Decimal Points". craig bair -- binary behaviorist ... "There are quite enough amateur loonies in this universe, no need to call in the professionals..." -- Phil Foglio -- |
From: Herman A. <exp...@vn...> - 2014-05-20 21:37:13
|
Hello Mikael, Thanks for the realization of punctuation. I have tested it, and works well. I see only one side-effect. Two or more dot without any real number digit generates doube zero: .. -> 0 0 ... -> 0 0 I think, it would be better to see them as words, if it is not too difficult to realize. BR Attila |
From: Mikael N. <mik...@pp...> - 2014-05-20 18:50:47
|
There is now a PIC18 FF that accepts '.' as number punctuation. It is only in git sofar. Attila, comments ? decimal 1234 -> 1234 12.34 -> 1234 .12.34 -> 1234 1234. -> 1234 0000 12.34. -> 1234 0000 -.12.34. -> 64302 65535 BR |
From: Peter J. <pe...@me...> - 2014-05-16 22:52:19
|
Sorry, I think that you've told me that before. I've removed it this time. http://dropbox.eait.uq.edu.au/e4pjacob/flash-forth/flash-forth-5-sheet-2014-05-17.pdf PJ On 17/05/14 02:39, Mikael Nordman wrote: > Looks great. > > COLD can be removed. It was not there even in 3.8 or 4.8. > > : cold empty warm ; > > BR Mike > > |
From: Mikael N. <mik...@pp...> - 2014-05-16 16:39:54
|
Looks great. COLD can be removed. It was not there even in 3.8 or 4.8. : cold empty warm ; BR Mike |
From: Peter J. <pe...@me...> - 2014-05-15 23:58:01
|
Fellows, Here is a revised reference sheet for FF5. http://dropbox.eait.uq.edu.au/e4pjacob/flash-forth/flash-forth-5-sheet-2014-05-16.pdf Let me know if I should fix anything, but I'm hoping that it's pretty close to being done for now. Cheers, Peter J. |
From: Mikael N. <mik...@pp...> - 2014-05-15 14:01:00
|
Hi, I have been quite busy lately with other things. Summer is coming, so I don't have that much time to sit inside at the computer. If you look at the code below, both if statements are equally fast in FlashForth since the 0= will be optimized away by the compiler. 4 5 bit?: testbit testbit if blabla then testbit 0= if blabla then BR Mike On 05/13/2014 09:44 PM, Herman Attila wrote: > Hi Mikael > > - Previously we talk on the punctuation of numbers, but I can't found > it in FF5.0. > The latest version of idea that you wrote (27. march): > > ------------------------------------------------ > I plan now to do it like this > Just one punctuation char for grouping digits. > > Single precision number > #-10.345 > %1011.1101.1111.0000 > $fad.e > > Double precision numbers > %1011.1101.1111.0000. > #-10.345. > $fade.babe. > ------------------------------------------------- > > Other: > > - I know, it is a bit late, but I have some thought on the bit > manipulating words. The incidence of testing for bit=0 and bit=1 are > similar. Using a bit0?: word would be faster then inverting result of > bit? . Maybe the notation is bit0?: and bit1?: for the symmetry. > I think, a bit toggle word (perhaps bit-tgl: ) would be a good > addition to bit0: and bit1: > > BR > Attila > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform available > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > Flashforth-devel mailing list > Fla...@li... > https://lists.sourceforge.net/lists/listinfo/flashforth-devel > |
From: Herman A. <exp...@vn...> - 2014-05-13 19:01:35
|
Hi Mikael - Previously we talk on the punctuation of numbers, but I can't found it in FF5.0. The latest version of idea that you wrote (27. march): ------------------------------------------------ I plan now to do it like this Just one punctuation char for grouping digits. Single precision number #-10.345 %1011.1101.1111.0000 $fad.e Double precision numbers %1011.1101.1111.0000. #-10.345. $fade.babe. ------------------------------------------------- Other: - I know, it is a bit late, but I have some thought on the bit manipulating words. The incidence of testing for bit=0 and bit=1 are similar. Using a bit0?: word would be faster then inverting result of bit? . Maybe the notation is bit0?: and bit1?: for the symmetry. I think, a bit toggle word (perhaps bit-tgl: ) would be a good addition to bit0: and bit1: BR Attila |
From: Peter J. <pe...@me...> - 2014-05-13 12:26:28
|
Thanks Pete. Your rewrite is better. Today's exercise was to put in an interrupt example (to count button presses). http://dropbox.eait.uq.edu.au/e4pjacob/flash-forth/ff5-tutorial-guide-2014-05-13.pdf Peter J. On 13/05/14 00:34, Pete Zawasky wrote: > Hi Peter, > Ver. May 12, 2014 > Page 18 Section 5.1 > *********************************************** > Consider: > *********************************************** > Is: > > Notes on this program: > > Line 1 records the state of the dictionary so that we can reset it to > it's state before the code was compiled, simply by executing the word > -flash-led. > > If the file is loaded multiple times, line 2 resets the dictionary > state, else the inter- > preter signals that it can't find the word and continues interpreting > the file. > > Should be: > > Notes on this program: > > If the word -flash-led has been previously defined with the word > marker, line 1 resets the dictionary stateand continues interpreting > the file, else the interpreter signals that it can't find the word > and continues interpreting the file. > > Line 2 records the state of the dictionary and defines the word > -flash-led so that we can reset the dictionary to it's state before > the code was compiled, simply by executing the word -flash-led. > > ***************************************** > > Pete > > > On 5/12/2014 9:18 AM, Peter Jacobs wrote: >> Another revision with small edits: >> http://dropbox.eait.uq.edu.au/e4pjacob/flash-forth/ff5-tutorial-guide-2014-05-12.pdf >> Added note about resetting the watchdog timer in the push-button example. >> >> First draft of the cheat sheet ported to FF5. >> http://dropbox.eait.uq.edu.au/e4pjacob/flash-forth/flash-forth-5-sheet-2014-05-12.pdf >> Just finished the AVR assembler notes and it's late at night here, so >> there could be >> quite a few corrections to be made... tomorrow. >> >> Regards, >> Peter J. >> >> > |
From: Pete Z. <pza...@pz...> - 2014-05-12 19:43:06
|
Hi Mikael, It looks like cf! and cf@ (the fetch and store of 24 bits for the 16bit PIC chips) didn't make it into the wordsAll.txt file. Pete |
From: Pete Z. <pza...@pz...> - 2014-05-12 14:33:18
|
Hi Peter, Ver. May 12, 2014 Page 18 Section 5.1 *********************************************** Consider: *********************************************** Is: Notes on this program: Line 1 records the state of the dictionary so that we can reset it to it's state before the code was compiled, simply by executing the word -flash-led. If the file is loaded multiple times, line 2 resets the dictionary state, else the inter- preter signals that it can't find the word and continues interpreting the file. Should be: Notes on this program: If the word -flash-led has been previously defined with the word marker, line 1 resets the dictionary stateand continues interpreting the file, else the interpreter signals that it can't find the word and continues interpreting the file. Line 2 records the state of the dictionary and defines the word -flash-led so that we can reset the dictionary to it's state before the code was compiled, simply by executing the word -flash-led. ***************************************** Pete On 5/12/2014 9:18 AM, Peter Jacobs wrote: > Another revision with small edits: > http://dropbox.eait.uq.edu.au/e4pjacob/flash-forth/ff5-tutorial-guide-2014-05-12.pdf > Added note about resetting the watchdog timer in the push-button example. > > First draft of the cheat sheet ported to FF5. > http://dropbox.eait.uq.edu.au/e4pjacob/flash-forth/flash-forth-5-sheet-2014-05-12.pdf > Just finished the AVR assembler notes and it's late at night here, so > there could be > quite a few corrections to be made... tomorrow. > > Regards, > Peter J. > > |
From: Peter J. <pe...@me...> - 2014-05-12 13:23:13
|
Thomas, There's an example of using the bit set and bit clear assembler words in section 12.1 of the tutorial guide.Here's the most recent version. http://dropbox.eait.uq.edu.au/e4pjacob/flash-forth/ff5-tutorial-guide-2014-05-12.pdf PJ On 12/05/14 22:01, Thomas Buschhardt wrote: > Hallo, > > Im sorry but can you please give me some information about the words ?: > > bcf, Bit clear f. ( f b a -- ) > bsf, Bit set f. ( f b a -- ) > > especially what the parameters be (an example is nice). I found that > in the i2c-base but I dont understand the exact function. > > Thank You > Thomas |
From: Peter J. <pe...@me...> - 2014-05-12 13:19:04
|
Another revision with small edits: http://dropbox.eait.uq.edu.au/e4pjacob/flash-forth/ff5-tutorial-guide-2014-05-12.pdf Added note about resetting the watchdog timer in the push-button example. First draft of the cheat sheet ported to FF5. http://dropbox.eait.uq.edu.au/e4pjacob/flash-forth/flash-forth-5-sheet-2014-05-12.pdf Just finished the AVR assembler notes and it's late at night here, so there could be quite a few corrections to be made... tomorrow. Regards, Peter J. On 10/05/14 15:02, Peter Jacobs wrote: > http://dropbox.eait.uq.edu.au/e4pjacob/flash-forth/ff5-tutorial-guide-2014-05-10.pdf > > Edits in this version mainly refine the description of building FF for > the PIC18Fx6K22. Small edits otherwise on the early sections. > Cheers, > Peter J. > > |
From: Thomas B. <bus...@gm...> - 2014-05-12 12:01:47
|
Hallo, Im sorry but can you please give me some information about the words ?: bcf, Bit clear f. ( f b a -- ) bsf, Bit set f. ( f b a -- ) especially what the parameters be (an example is nice). I found that in the i2c-base but I dont understand the exact function. Thank You Thomas |
From: Mikael N. <mik...@pp...> - 2014-05-11 19:50:47
|
Yepp, that needs to be fixed. I am not updating older FF versions, only 5.0 and later will be updated. BR Mike On 05/10/2014 05:01 PM, Simon Bradley wrote: > Hello, > > I think I've noticed an error in this file where > --------------- > number? ( c-addr -- n/d/c-addr flag ) > Convert string to number > # is decimal prefix > $ is hexadecimal prefix > % is binary prefix > Flag: 0=error, 1=double, 2=single > --------------- > > I've been testing this with single and double and the flag > I think should be 1=single, 2=double. > > Is this right? > > Thanks, > Simon. > > > ------------------------------------------------------------------------------ > Is your legacy SCM system holding you back? Join Perforce May 7 to find out: > • 3 signs your SCM is hindering your productivity > • Requirements for releasing software faster > • Expert tips and advice for migrating your SCM now > http://p.sf.net/sfu/perforce > _______________________________________________ > Flashforth-devel mailing list > Fla...@li... > https://lists.sourceforge.net/lists/listinfo/flashforth-devel > |
From: Peter J. <pe...@me...> - 2014-05-11 05:17:44
|
Simon, The documentation comments in the assembler source agree with you. ; NUMBER? c-addr -- n 1 ; -- dl dh 2 ; -- c-addr 0 if convert error dw L_TONUMBER L_NUMBERQ: db NFA|7,"number?" The fix also needs to be made to the most recent wordsAll.txt (line 695), I believe. PJ On 11/05/14 00:01, Simon Bradley wrote: > Hello, > > I think I've noticed an error in this file where > --------------- > number? ( c-addr -- n/d/c-addr flag ) > Convert string to number > # is decimal prefix > $ is hexadecimal prefix > % is binary prefix > Flag: 0=error, 1=double, 2=single > --------------- > > I've been testing this with single and double and the flag > I think should be 1=single, 2=double. > > Is this right? > > Thanks, > Simon. > > > ------------------------------------------------------------------------------ > Is your legacy SCM system holding you back? Join Perforce May 7 to find out: > • 3 signs your SCM is hindering your productivity > • Requirements for releasing software faster > • Expert tips and advice for migrating your SCM now > http://p.sf.net/sfu/perforce > _______________________________________________ > Flashforth-devel mailing list > Fla...@li... > https://lists.sourceforge.net/lists/listinfo/flashforth-devel |
From: Simon B. <sim...@ho...> - 2014-05-10 14:07:04
|
Hello, I think I've noticed an error in this file where --------------- number? ( c-addr -- n/d/c-addr flag ) Convert string to number # is decimal prefix $ is hexadecimal prefix % is binary prefix Flag: 0=error, 1=double, 2=single --------------- I've been testing this with single and double and the flag I think should be 1=single, 2=double. Is this right? Thanks, Simon. |
From: Peter J. <pe...@me...> - 2014-05-10 05:03:00
|
http://dropbox.eait.uq.edu.au/e4pjacob/flash-forth/ff5-tutorial-guide-2014-05-10.pdf Edits in this version mainly refine the description of building FF for the PIC18Fx6K22. Small edits otherwise on the early sections. Cheers, Peter J. |