You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
(5) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
|
Feb
(6) |
Mar
(41) |
Apr
(23) |
May
(11) |
Jun
(2) |
Jul
|
Aug
|
Sep
(9) |
Oct
(2) |
Nov
(1) |
Dec
(1) |
2008 |
Jan
(6) |
Feb
(1) |
Mar
(23) |
Apr
(18) |
May
(21) |
Jun
(13) |
Jul
(34) |
Aug
(5) |
Sep
(1) |
Oct
(4) |
Nov
|
Dec
(4) |
2009 |
Jan
|
Feb
(5) |
Mar
(5) |
Apr
(10) |
May
(1) |
Jun
(11) |
Jul
(1) |
Aug
|
Sep
|
Oct
(2) |
Nov
(3) |
Dec
(13) |
2010 |
Jan
(10) |
Feb
(4) |
Mar
(28) |
Apr
(3) |
May
(38) |
Jun
(22) |
Jul
(92) |
Aug
(154) |
Sep
(218) |
Oct
(45) |
Nov
(20) |
Dec
(1) |
2011 |
Jan
(33) |
Feb
(15) |
Mar
(32) |
Apr
(33) |
May
(48) |
Jun
(35) |
Jul
(7) |
Aug
|
Sep
(11) |
Oct
(5) |
Nov
|
Dec
(7) |
2012 |
Jan
(56) |
Feb
(11) |
Mar
(6) |
Apr
|
May
(128) |
Jun
(59) |
Jul
(21) |
Aug
(16) |
Sep
(24) |
Oct
(39) |
Nov
(12) |
Dec
(12) |
2013 |
Jan
(14) |
Feb
(61) |
Mar
(97) |
Apr
(46) |
May
(13) |
Jun
(23) |
Jul
(12) |
Aug
(25) |
Sep
(9) |
Oct
(81) |
Nov
(73) |
Dec
(45) |
2014 |
Jan
(36) |
Feb
(57) |
Mar
(20) |
Apr
(41) |
May
(43) |
Jun
(11) |
Jul
(14) |
Aug
(32) |
Sep
(9) |
Oct
(27) |
Nov
(21) |
Dec
(6) |
2015 |
Jan
(14) |
Feb
(23) |
Mar
(1) |
Apr
(19) |
May
(40) |
Jun
(11) |
Jul
(1) |
Aug
(2) |
Sep
(14) |
Oct
(10) |
Nov
(9) |
Dec
(13) |
2016 |
Jan
(4) |
Feb
(3) |
Mar
(7) |
Apr
|
May
(4) |
Jun
(13) |
Jul
(8) |
Aug
(3) |
Sep
(4) |
Oct
(1) |
Nov
|
Dec
|
2017 |
Jan
(6) |
Feb
(1) |
Mar
(1) |
Apr
(7) |
May
(10) |
Jun
(5) |
Jul
(7) |
Aug
(9) |
Sep
|
Oct
(1) |
Nov
(5) |
Dec
|
2018 |
Jan
|
Feb
|
Mar
(5) |
Apr
|
May
|
Jun
(3) |
Jul
(6) |
Aug
|
Sep
(2) |
Oct
(54) |
Nov
(47) |
Dec
(53) |
2019 |
Jan
(23) |
Feb
(24) |
Mar
(19) |
Apr
(15) |
May
(5) |
Jun
(34) |
Jul
(9) |
Aug
(9) |
Sep
(3) |
Oct
(2) |
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
(7) |
Apr
(7) |
May
(5) |
Jun
(15) |
Jul
(22) |
Aug
(28) |
Sep
(13) |
Oct
(9) |
Nov
(17) |
Dec
(13) |
2021 |
Jan
(5) |
Feb
(1) |
Mar
(1) |
Apr
(9) |
May
(21) |
Jun
(9) |
Jul
|
Aug
(6) |
Sep
(16) |
Oct
|
Nov
(1) |
Dec
(6) |
2022 |
Jan
|
Feb
|
Mar
|
Apr
(7) |
May
(6) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(11) |
Sep
(21) |
Oct
(5) |
Nov
(1) |
Dec
(1) |
2024 |
Jan
(1) |
Feb
(4) |
Mar
|
Apr
(7) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
From: Jan K. <kro...@ho...> - 2018-12-07 13:48:02
|
Hello, Problem found, when loading something went wrong which amforth was not correct anymore! cheers, Jan > Op 7 dec. 2018, om 14:24 heeft Jan Kromhout <kro...@ho...> het volgende geschreven: > > Hello, > > > After running for several weeks amforth-shell.py, this afternoon it is stopped with an Unexpected exception. > Even after resetting the mac or install a new amforth-shell.py this is not working. > > Can someone help me with this > > Cheers > > Jan > > > Last login: Fri Dec 7 14:17:07 on console > MacBook-Pro-van-Jan-10:~ jankromhout$ cd /Users/jankromhout/Documents/amforth-6.7/tools > MacBook-Pro-van-Jan-10:tools jankromhout$ ./amforth-shell.py -p /dev/tty.usbmodem1411 -s 38400 -i --rtscts > |I=appl_defs: 0 loaded > |I=Entering amforth interactive interpreter > > ---- Unexpected exception ---- > Traceback (most recent call last): > File "./amforth-shell.py", line 591, in main > self.interact() > File "./amforth-shell.py", line 1137, in interact > self._init_readline() > File "./amforth-shell.py", line 1222, in _init_readline > self._update_words() > File "./amforth-shell.py", line 1234, in _update_words > dp = int(dp[:-3]) > ValueError: invalid literal for int() with base 10: '\x10``` ' > MacBook-Pro-van-Jan-10:tools jankromhout$ > > > _______________________________________________ > Amforth-devel mailing list for http://amforth.sf.net/ > Amf...@li... > https://lists.sourceforge.net/lists/listinfo/amforth-devel |
From: Jan K. <kro...@ho...> - 2018-12-07 13:24:14
|
Hello, After running for several weeks amforth-shell.py, this afternoon it is stopped with an Unexpected exception. Even after resetting the mac or install a new amforth-shell.py this is not working. Can someone help me with this Cheers Jan Last login: Fri Dec 7 14:17:07 on console MacBook-Pro-van-Jan-10:~ jankromhout$ cd /Users/jankromhout/Documents/amforth-6.7/tools MacBook-Pro-van-Jan-10:tools jankromhout$ ./amforth-shell.py -p /dev/tty.usbmodem1411 -s 38400 -i --rtscts |I=appl_defs: 0 loaded |I=Entering amforth interactive interpreter ---- Unexpected exception ---- Traceback (most recent call last): File "./amforth-shell.py", line 591, in main self.interact() File "./amforth-shell.py", line 1137, in interact self._init_readline() File "./amforth-shell.py", line 1222, in _init_readline self._update_words() File "./amforth-shell.py", line 1234, in _update_words dp = int(dp[:-3]) ValueError: invalid literal for int() with base 10: '\x10``` ' MacBook-Pro-van-Jan-10:tools jankromhout$ |
From: Jan K. <kro...@ho...> - 2018-12-06 20:26:18
|
Last question for this evening. When I make a variable : variable buffer 1024 allot => is this in flash? Thanks for the great help this evening. Met een vriendelijke groet, Jan > Op 6 dec. 2018, om 20:18 heeft Jan Kromhout <kro...@ho...> het volgende geschreven: > > Martin, > > When I look to this > > [ buffersize 2 * 16 / ] literal 0 do > > than I get a very low value. Is it correct what you have written? > > Cheers, > > Jan > > > > Op 6 dec. 2018, om 20:03 heeft Martin Bitter <mar...@t-...<mailto:mar...@t-...>> het volgende geschreven: > > [ buffersize 2 * 16 / ] literal 0 do > > > _______________________________________________ > Amforth-devel mailing list for http://amforth.sf.net/ > Amf...@li... > https://lists.sourceforge.net/lists/listinfo/amforth-devel |
From: Martin B. <mar...@t-...> - 2018-12-06 20:22:32
|
Store and fetch in flash is !i and @i Groeten Martin Am Donnerstag, 6. Dezember 2018, 21:13:28 CET schrieb Jan Kromhout via Amforth-devel: > Martin, > > Thanks. > When I construct this and make a buffer of 1024 and after the buffer I > create a dummy so I can calculate the difference. ‘ dummy - ‘ buffer = > 1029. Thats means there is a space of 1024 bytes or words available. > > How can I store/read a byte or word to the location? > > This I have tried, > > (ATmega328P)> $ff festspeicher 100 + c! > Timed out waiting for ok response > > > Groeten > > Jan > > > Op 6 dec. 2018, om 20:56 heeft Martin Bitter <martin.bitter@t- online.de> > > het volgende geschreven: > > > > 1024 fl.buffer: festspeicher > > _______________________________________________ > Amforth-devel mailing list for http://amforth.sf.net/ > Amf...@li... > https://lists.sourceforge.net/lists/listinfo/amforth-devel -- Getippt im 9-Fingersystem von mir selbst. |
From: Jan K. <jan...@ic...> - 2018-12-06 20:13:39
|
Martin, Thanks. When I construct this and make a buffer of 1024 and after the buffer I create a dummy so I can calculate the difference. ‘ dummy - ‘ buffer = 1029. Thats means there is a space of 1024 bytes or words available. How can I store/read a byte or word to the location? This I have tried, (ATmega328P)> $ff festspeicher 100 + c! Timed out waiting for ok response Groeten Jan > Op 6 dec. 2018, om 20:56 heeft Martin Bitter <mar...@t-...> het volgende geschreven: > > 1024 fl.buffer: festspeicher |
From: Martin B. <mar...@t-...> - 2018-12-06 19:56:40
|
Jan, don't know if this the right way - but my solution was like this: (It's extractet from more sophisticated working code. Hope I don't produce errors this way. Let me know if it works. Cave at! Memory allocatet this way will not bee freed bye markers or resets. In worst case you have to reflash your arduino.) : fl.erase ( addr n -- ) 0 ?do $ffff over i + !i loop drop ; : fl.allot ( length -- ) dp + to dp ; : fl.buffer: ( n -- ) ( -- addr ) <builds dp over fl.allot swap fl.erase does> @ ; examlple 1024 fl.buffer: festspeicher groeten Martin Am Donnerstag, 6. Dezember 2018, 20:24:13 CET schrieben Sie: > Dank je wel Martin, > > Some questions. > > How to do this when I wont to place it in FLASH. > > How to write and acces RAM? > > How to write and acces in FLASH? > > Met vriendelijke groet, > > Jan > > > Op 6 dec. 2018, om 20:20 heeft Martin Bitter <martin.bitter@t- online.de> > > het volgende geschreven: > > > > Am Donnerstag, 6. Dezember 2018, 20:06:45 CET schrieb Jan Kromhout via > > Amforth-devel: > > > > Maybe this helps: > > > > Variable buffer 1024 allot > > > > This gives a buffer in RAM > > > > Or do you need it in FLASH? > > > > tot ziens > > > > Martin > > > >> Thanks Martin, > >> > >> What I wont is a buffer of 1024 bytes. > >> > >> Is that posible in amForth? > >> > >> Cheers, > >> > >> Jan > >> > >>> Op 6 dec. 2018, om 20:03 heeft Martin Bitter <martin.bitter@t- > > > > online.de> > > > >>> het volgende geschreven: > >>> > >>> Daag Jan, > >>> > >>> see below ... > >>> > >>> Hope it helps! > >>> > >>> Regards Martin > >>> > >>> BTW You'r marching through 1009 * 16 words in memory - is that what > > > > you > > > >>> want? > >>> > >>> Am Donnerstag, 6. Dezember 2018, 19:46:33 CET schrieb Jan > > > > Kromhout via > > > >>> Amforth-devel: > >>>> Hello, > >>>> > >>>> I have make a buffer, after loading the program I aspect that all > >>> > >>> locations > >>> > >>>> will be zero. When take a look there are some places with values! > >>>> > >>>> **** /Users/jankromhout/Documents/amforth-6.7/tools > >>>> (ATmega328P)> clearBuffer > >>>> ok > >>>> (ATmega328P)> .Buffer > >>>> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > >>>> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > >>>> 0 0 0 0 0 0 12288 56 0 0 0 0 0 0 0 0 > >>>> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > >>>> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > >>>> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > >>>> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > >>>> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > >>>> > >>>> After clearing the locations there will be values on some locations. > >>>> > >>>> What do I wrong? > >>>> > >>>> Cheers, > >>>> > >>>> Jan > >>>> > >>>> > >>>> > >>>> marker --SSD1306-- > >>>> > >>>> > >>>> \ size of display for memory buffer > >>>> 128 constant SSD1306_LCDWIDTH > >>>> 64 constant SSD1306_LCDHEIGHT |
From: Martin B. <mar...@t-...> - 2018-12-06 19:36:00
|
Jan, the result of ( buffersize 2 * 16 /] literal gives a low value. This value ist the counter for a outer loop. In the inner loop there are 16 accesses to the buffer. Met vriendelijke groet Martin Am Donnerstag, 6. Dezember 2018, 19:18:34 CET schrieb Jan Kromhout: > Martin, > > When I look to this > > [ buffersize 2 * 16 / ] literal 0 do > > than I get a very low value. Is it correct what you have written? > > Cheers, > > Jan > > > > Op 6 dec. 2018, om 20:03 heeft Martin Bitter > <mar...@t-...<mailto:mar...@t-...>> het volgende > geschreven: > > [ buffersize 2 * 16 / ] literal 0 do > > > _______________________________________________ > Amforth-devel mailing list for http://amforth.sf.net/ > Amf...@li... > https://lists.sourceforge.net/lists/listinfo/amforth-devel -- Getippt im 9-Fingersystem von mir selbst. |
From: Jan K. <jan...@ic...> - 2018-12-06 19:24:25
|
Dank je wel Martin, Some questions. How to do this when I wont to place it in FLASH. How to write and acces RAM? How to write and acces in FLASH? Met vriendelijke groet, Jan > Op 6 dec. 2018, om 20:20 heeft Martin Bitter <mar...@t-...> het volgende geschreven: > > Am Donnerstag, 6. Dezember 2018, 20:06:45 CET schrieb Jan Kromhout via > Amforth-devel: > > Maybe this helps: > > Variable buffer 1024 allot > > This gives a buffer in RAM > > Or do you need it in FLASH? > > tot ziens > > Martin > > > >> Thanks Martin, >> >> What I wont is a buffer of 1024 bytes. >> >> Is that posible in amForth? >> >> Cheers, >> >> Jan >> >>> Op 6 dec. 2018, om 20:03 heeft Martin Bitter <martin.bitter@t- > online.de> >>> het volgende geschreven: >>> >>> Daag Jan, >>> >>> see below ... >>> >>> Hope it helps! >>> >>> Regards Martin >>> >>> BTW You'r marching through 1009 * 16 words in memory - is that what > you >>> want? >>> >>> Am Donnerstag, 6. Dezember 2018, 19:46:33 CET schrieb Jan > Kromhout via >>> >>> Amforth-devel: >>>> Hello, >>>> >>>> I have make a buffer, after loading the program I aspect that all >>> >>> locations >>> >>>> will be zero. When take a look there are some places with values! >>>> >>>> **** /Users/jankromhout/Documents/amforth-6.7/tools >>>> (ATmega328P)> clearBuffer >>>> ok >>>> (ATmega328P)> .Buffer >>>> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >>>> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >>>> 0 0 0 0 0 0 12288 56 0 0 0 0 0 0 0 0 >>>> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >>>> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >>>> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >>>> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >>>> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >>>> >>>> After clearing the locations there will be values on some locations. >>>> >>>> What do I wrong? >>>> >>>> Cheers, >>>> >>>> Jan >>>> >>>> >>>> >>>> marker --SSD1306-- >>>> >>>> >>>> \ size of display for memory buffer >>>> 128 constant SSD1306_LCDWIDTH >>>> 64 constant SSD1306_LCDHEIGHT >>>> >>>> SSD1306_LCDHEIGHT SSD1306_LCDWIDTH * 8 / constant BUFFERSIZE >>>> >>>> BUFFERSIZE 2 * buffer: buffer >>>> >>>> : buffer! >>>> >>>> buffer + ! >>>> ; >>>> >>>> : buffer@ >>>> >>>> buffer + @ >>>> ; >>>> >>>> \ display buffer inhoud >>>> >>>> : .Buffer >>>> >>>> [ 1024 15 - ] literal 0 do >>> >>> [ buffersize 2 * 16 / ] literal 0 do >>> >>>> 16 0 do >>>> j i + buffer@ . >>> >>> J 16 * i + buffer@ >>> >>>> loop >>>> cr >>>> 16 +loop >>>> ; >>>> >>>> : clearBuffer >>>> >>>> 1024 0 do >>>> >>>> 0 i buffer! >>>> >>>> loop >>>> >>>> ; >>>> _______________________________________________ >>>> Amforth-devel mailing list for http://amforth.sf.net/ >>>> <http://amforth.sf.net/> Amf...@li... >>>> <mailto:Amf...@li...> >>>> https://lists.sourceforge.net/lists/listinfo/amforth-devel >>>> <https://lists.sourceforge.net/lists/listinfo/amforth-devel> >> _______________________________________________ >> Amforth-devel mailing list for http://amforth.sf.net/ >> Amf...@li... >> https://lists.sourceforge.net/lists/listinfo/amforth-devel > > > -- > Getippt im 9-Fingersystem von mir selbst. > > _______________________________________________ > Amforth-devel mailing list for http://amforth.sf.net/ > Amf...@li... > https://lists.sourceforge.net/lists/listinfo/amforth-devel |
From: Martin B. <mar...@t-...> - 2018-12-06 19:20:39
|
Am Donnerstag, 6. Dezember 2018, 20:06:45 CET schrieb Jan Kromhout via Amforth-devel: Maybe this helps: Variable buffer 1024 allot This gives a buffer in RAM Or do you need it in FLASH? tot ziens Martin > Thanks Martin, > > What I wont is a buffer of 1024 bytes. > > Is that posible in amForth? > > Cheers, > > Jan > > > Op 6 dec. 2018, om 20:03 heeft Martin Bitter <martin.bitter@t- online.de> > > het volgende geschreven: > > > > Daag Jan, > > > > see below ... > > > > Hope it helps! > > > > Regards Martin > > > > BTW You'r marching through 1009 * 16 words in memory - is that what you > > want? > > > > Am Donnerstag, 6. Dezember 2018, 19:46:33 CET schrieb Jan Kromhout via > > > > Amforth-devel: > >> Hello, > >> > >> I have make a buffer, after loading the program I aspect that all > > > > locations > > > >> will be zero. When take a look there are some places with values! > >> > >> **** /Users/jankromhout/Documents/amforth-6.7/tools > >> (ATmega328P)> clearBuffer > >> ok > >> (ATmega328P)> .Buffer > >> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > >> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > >> 0 0 0 0 0 0 12288 56 0 0 0 0 0 0 0 0 > >> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > >> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > >> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > >> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > >> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > >> > >> After clearing the locations there will be values on some locations. > >> > >> What do I wrong? > >> > >> Cheers, > >> > >> Jan > >> > >> > >> > >> marker --SSD1306-- > >> > >> > >> \ size of display for memory buffer > >> 128 constant SSD1306_LCDWIDTH > >> 64 constant SSD1306_LCDHEIGHT > >> > >> SSD1306_LCDHEIGHT SSD1306_LCDWIDTH * 8 / constant BUFFERSIZE > >> > >> BUFFERSIZE 2 * buffer: buffer > >> > >> : buffer! > >> > >> buffer + ! > >> ; > >> > >> : buffer@ > >> > >> buffer + @ > >> ; > >> > >> \ display buffer inhoud > >> > >> : .Buffer > >> > >> [ 1024 15 - ] literal 0 do > > > > [ buffersize 2 * 16 / ] literal 0 do > > > >> 16 0 do > >> j i + buffer@ . > > > > J 16 * i + buffer@ > > > >> loop > >> cr > >> 16 +loop > >> ; > >> > >> : clearBuffer > >> > >> 1024 0 do > >> > >> 0 i buffer! > >> > >> loop > >> > >> ; > >> _______________________________________________ > >> Amforth-devel mailing list for http://amforth.sf.net/ > >> <http://amforth.sf.net/> Amf...@li... > >> <mailto:Amf...@li...> > >> https://lists.sourceforge.net/lists/listinfo/amforth-devel > >> <https://lists.sourceforge.net/lists/listinfo/amforth-devel> > _______________________________________________ > Amforth-devel mailing list for http://amforth.sf.net/ > Amf...@li... > https://lists.sourceforge.net/lists/listinfo/amforth-devel -- Getippt im 9-Fingersystem von mir selbst. |
From: Jan K. <kro...@ho...> - 2018-12-06 19:18:43
|
Martin, When I look to this [ buffersize 2 * 16 / ] literal 0 do than I get a very low value. Is it correct what you have written? Cheers, Jan Op 6 dec. 2018, om 20:03 heeft Martin Bitter <mar...@t-...<mailto:mar...@t-...>> het volgende geschreven: [ buffersize 2 * 16 / ] literal 0 do |
From: Jan K. <jan...@ic...> - 2018-12-06 19:06:58
|
Thanks Martin, What I wont is a buffer of 1024 bytes. Is that posible in amForth? Cheers, Jan > Op 6 dec. 2018, om 20:03 heeft Martin Bitter <mar...@t-...> het volgende geschreven: > > Daag Jan, > > see below ... > > Hope it helps! > > Regards Martin > > BTW You'r marching through 1009 * 16 words in memory - is that what you > want? > > Am Donnerstag, 6. Dezember 2018, 19:46:33 CET schrieb Jan Kromhout via > Amforth-devel: >> Hello, >> >> I have make a buffer, after loading the program I aspect that all > locations >> will be zero. When take a look there are some places with values! >> >> **** /Users/jankromhout/Documents/amforth-6.7/tools >> (ATmega328P)> clearBuffer >> ok >> (ATmega328P)> .Buffer >> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >> 0 0 0 0 0 0 12288 56 0 0 0 0 0 0 0 0 >> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 >> >> After clearing the locations there will be values on some locations. >> >> What do I wrong? >> >> Cheers, >> >> Jan >> >> >> >> marker --SSD1306-- >> >> >> \ size of display for memory buffer >> 128 constant SSD1306_LCDWIDTH >> 64 constant SSD1306_LCDHEIGHT >> >> SSD1306_LCDHEIGHT SSD1306_LCDWIDTH * 8 / constant BUFFERSIZE >> >> BUFFERSIZE 2 * buffer: buffer >> >> : buffer! >> >> buffer + ! >> ; >> >> : buffer@ >> >> buffer + @ >> ; >> >> \ display buffer inhoud >> >> : .Buffer >> >> [ 1024 15 - ] literal 0 do > [ buffersize 2 * 16 / ] literal 0 do >> 16 0 do >> j i + buffer@ . > J 16 * i + buffer@ > >> loop >> cr >> 16 +loop >> ; >> >> : clearBuffer >> >> 1024 0 do >> 0 i buffer! >> loop >> ; >> _______________________________________________ >> Amforth-devel mailing list for http://amforth.sf.net/ <http://amforth.sf.net/> >> Amf...@li... <mailto:Amf...@li...> >> https://lists.sourceforge.net/lists/listinfo/amforth-devel <https://lists.sourceforge.net/lists/listinfo/amforth-devel> > > > -- > Getippt im 9-Fingersystem von mir selbst. > > _______________________________________________ > Amforth-devel mailing list for http://amforth.sf.net/ <http://amforth.sf.net/> > Amf...@li... <mailto:Amf...@li...> > https://lists.sourceforge.net/lists/listinfo/amforth-devel <https://lists.sourceforge.net/lists/listinfo/amforth-devel> |
From: Martin B. <mar...@t-...> - 2018-12-06 19:03:41
|
Daag Jan, see below ... Hope it helps! Regards Martin BTW You'r marching through 1009 * 16 words in memory - is that what you want? Am Donnerstag, 6. Dezember 2018, 19:46:33 CET schrieb Jan Kromhout via Amforth-devel: > Hello, > > I have make a buffer, after loading the program I aspect that all locations > will be zero. When take a look there are some places with values! > > **** /Users/jankromhout/Documents/amforth-6.7/tools > (ATmega328P)> clearBuffer > ok > (ATmega328P)> .Buffer > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > 0 0 0 0 0 0 12288 56 0 0 0 0 0 0 0 0 > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > > After clearing the locations there will be values on some locations. > > What do I wrong? > > Cheers, > > Jan > > > > marker --SSD1306-- > > > \ size of display for memory buffer > 128 constant SSD1306_LCDWIDTH > 64 constant SSD1306_LCDHEIGHT > > SSD1306_LCDHEIGHT SSD1306_LCDWIDTH * 8 / constant BUFFERSIZE > > BUFFERSIZE 2 * buffer: buffer > > : buffer! > > buffer + ! > ; > > : buffer@ > > buffer + @ > ; > > \ display buffer inhoud > > : .Buffer > > [ 1024 15 - ] literal 0 do [ buffersize 2 * 16 / ] literal 0 do > 16 0 do > j i + buffer@ . J 16 * i + buffer@ > loop > cr > 16 +loop > ; > > : clearBuffer > > 1024 0 do > 0 i buffer! > loop > ; > _______________________________________________ > Amforth-devel mailing list for http://amforth.sf.net/ > Amf...@li... > https://lists.sourceforge.net/lists/listinfo/amforth-devel -- Getippt im 9-Fingersystem von mir selbst. |
From: Jan K. <jan...@ic...> - 2018-12-06 18:46:44
|
Hello, I have make a buffer, after loading the program I aspect that all locations will be zero. When take a look there are some places with values! **** /Users/jankromhout/Documents/amforth-6.7/tools (ATmega328P)> clearBuffer ok (ATmega328P)> .Buffer 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 12288 56 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 After clearing the locations there will be values on some locations. What do I wrong? Cheers, Jan marker --SSD1306-- \ size of display for memory buffer 128 constant SSD1306_LCDWIDTH 64 constant SSD1306_LCDHEIGHT SSD1306_LCDHEIGHT SSD1306_LCDWIDTH * 8 / constant BUFFERSIZE BUFFERSIZE 2 * buffer: buffer : buffer! buffer + ! ; : buffer@ buffer + @ ; \ display buffer inhoud : .Buffer [ 1024 15 - ] literal 0 do 16 0 do j i + buffer@ . loop cr 16 +loop ; : clearBuffer 1024 0 do 0 i buffer! loop ; |
From: Matthias T. <mt...@we...> - 2018-12-06 18:22:57
|
Am Donnerstag, den 06.12.2018, 15:34 +0100 schrieb f.zelders--- via Amforth-devel: > I noticed that the Search Option on http://amforth.sourceforge.net/ < > http://amforth.sourceforge.net/> has a bug > > When I search for dup the first result is 7-Segment Digits < > http://amforth.sourceforge.net/Projects/ClockWorks/22_display_7segment_digits.rst.html?highlight=dup > > > The link to this result is > http://amforth.sourceforge.net/TG/recipes/Dumps.rst.html?highlight=dup > < > http://amforth.sourceforge.net/TG/recipes/Dumps.rst.html?highlight=dup > > > > The link does not exist because of the '.rst' just in from of '.html' > When I remover '.rst' manually the link is correct. That's unexpected and bad. > > To whom can I address this bug report? No idea. I use the standard ubuntu packages for the sphinx-doc toolchain. Matthias |
From: Matthias T. <mt...@we...> - 2018-12-06 18:21:13
|
Am Mittwoch, den 05.12.2018, 22:20 +0000 schrieb Jan Kromhout: > Thanks Matthis, > > It is working now. > > Do you know if the construction “ TO and VALUE “ is available for > amForth? Yes, they are. http://amforth.sourceforge.net/TG/recipes/Values.html Matthias |
From: <f.z...@me...> - 2018-12-06 14:39:45
|
I noticed that the Search Option on http://amforth.sourceforge.net/ <http://amforth.sourceforge.net/> has a bug When I search for dup the first result is 7-Segment Digits <http://amforth.sourceforge.net/Projects/ClockWorks/22_display_7segment_digits.rst.html?highlight=dup> The link to this result is http://amforth.sourceforge.net/TG/recipes/Dumps.rst.html?highlight=dup <http://amforth.sourceforge.net/TG/recipes/Dumps.rst.html?highlight=dup> The link does not exist because of the '.rst' just in from of '.html' When I remover '.rst' manually the link is correct. To whom can I address this bug report? Fred Zelders _______________ … May the FORTH be with you Fred _______________ … May the FORTH be with you |
From: <f.z...@me...> - 2018-12-06 14:39:43
|
I noticed that the Search Option on http://amforth.sourceforge.net/ <http://amforth.sourceforge.net/> has a bug When I search for dup the first result is 7-Segment Digits <http://amforth.sourceforge.net/Projects/ClockWorks/22_display_7segment_digits.rst.html?highlight=dup> The link to this result is http://amforth.sourceforge.net/TG/recipes/Dumps.rst.html?highlight=dup <http://amforth.sourceforge.net/TG/recipes/Dumps.rst.html?highlight=dup> The link does not exist because of the '.rst' just in from of '.html' When I remover '.rst' manually the link is correct. To whom can I address this bug report? Fred Zelders _______________ … May the FORTH be with you Fred _______________ … May the FORTH be with you |
From: Jan K. <kro...@ho...> - 2018-12-05 22:20:18
|
Thanks Matthis, It is working now. Do you know if the construction “ TO and VALUE “ is available for amForth? Cheers Jan > Op 5 dec. 2018, om 19:28 heeft Matthias Trute <mt...@we...> het volgende geschreven: > > Am Mittwoch, den 05.12.2018, 13:50 +0100 schrieb Jan Kromhout via > Amforth-devel: >> Hello >> >> >> I wont to use the forward declaration “forward:” to solve my >> recursive word roll. >> >> Is this use of forward: correct? > > the forward declaration is for cases in which > one word calls another one before the other > one is defined. Something like > > : foo bar ; > : bar foo ; > > > >> >> forward: roll >> >> : roll >> dup 0< \ 0<= >> if >> drop >> else >> swap >r 1- roll r> swap >> then >> ; > > Replace the roll inside your definition with > recurse and it should work (if the > code is correct, I did not check it) > >> >> When I look into the definition of forward: I find the word “iplace”. > > Oops. I'll update the docs. > >> What is this iplace? > > > \ copy a counted flash string to ram > : iplace ( f-addr r-addr -- ) >> r icount $ff and ( -- f-addr' len ) > dup r@ c! r> ( -- f-addr' len r-addr) > 1+ rot rot > 2/ 1+ bounds ?do > i @i over ! > cell+ > loop > drop > ; > > Matthias > > > > _______________________________________________ > Amforth-devel mailing list for http://amforth.sf.net/ > Amf...@li... > https://lists.sourceforge.net/lists/listinfo/amforth-devel |
From: Matthias T. <mt...@we...> - 2018-12-05 18:28:46
|
Am Mittwoch, den 05.12.2018, 13:50 +0100 schrieb Jan Kromhout via Amforth-devel: > Hello > > > I wont to use the forward declaration “forward:” to solve my > recursive word roll. > > Is this use of forward: correct? the forward declaration is for cases in which one word calls another one before the other one is defined. Something like : foo bar ; : bar foo ; > > forward: roll > > : roll > dup 0< \ 0<= > if > drop > else > swap >r 1- roll r> swap > then > ; Replace the roll inside your definition with recurse and it should work (if the code is correct, I did not check it) > > When I look into the definition of forward: I find the word “iplace”. Oops. I'll update the docs. > What is this iplace? \ copy a counted flash string to ram : iplace ( f-addr r-addr -- ) >r icount $ff and ( -- f-addr' len ) dup r@ c! r> ( -- f-addr' len r-addr) 1+ rot rot 2/ 1+ bounds ?do i @i over ! cell+ loop drop ; Matthias |
From: Jan K. <jan...@ic...> - 2018-12-05 13:06:59
|
Hello I wont to use the forward declaration “forward:” to solve my recursive word roll. Is this use of forward: correct? forward: roll : roll dup 0< \ 0<= if drop else swap >r 1- roll r> swap then ; When I look into the definition of forward: I find the word “iplace”. When I look for this word in the dictionary I can’t find it. Do I a search with grep -nr ‘iplace’ amforth-6.7 grep is find only dup 1- swap @i here iplace here count ( copy to temporary ram) What is this iplace? Cheers, Jan Kromhout |
From: Matthias T. <mt...@we...> - 2018-12-04 18:15:43
|
Am Montag, den 03.12.2018, 18:22 +0000 schrieb Jan Kromhout: > Hello, > > I have this code in my program (Arduino IDE). > > // Standard ASCII 5x7 font > > static const unsigned char font[] PROGMEM = { > 0x00, 0x00, 0x00, 0x00, 0x00, > 0x3E, 0x5B, 0x4F, 0x5B, 0x3E, > 0x3E, 0x6B, 0x4F, 0x6B, 0x3E, > 0x1C, 0x3E, 0x7C, 0x3E, 0x1C, ………… > > > How do I translate that to amForth? I did not test it, but it shall work not too far from the following definition(s) create font[] $00 , $00 , $00 , .... access to the data may look like : @font[] ( n -- m ) font[] + @i ; (flash is 16 bytes per address, hence the , but no cells in the access word) I hope yout get the idea Matthias |
From: Jan K. <kro...@ho...> - 2018-12-03 18:23:10
|
Hello, I have this code in my program (Arduino IDE). // Standard ASCII 5x7 font static const unsigned char font[] PROGMEM = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x3E, 0x5B, 0x4F, 0x5B, 0x3E, 0x3E, 0x6B, 0x4F, 0x6B, 0x3E, 0x1C, 0x3E, 0x7C, 0x3E, 0x1C, ………… How do I translate that to amForth? Cheers, Jan |
From: Fred Z. <fze...@gm...> - 2018-11-24 11:56:24
|
Hi Martin, Yes that's the module I have (a gift from Jan Kromhout. Thank you Jan!). Thank you for the links you provided. I would like to control the module using amforth instead of a Arduino IDE sketch. Fred > Op 24 nov. 2018, om 12:32 heeft Martin Bitter <mar...@t-...> het volgende geschreven: > > Hello Fred, > (sorry for the typo. woth --> worth). > > A question: are you dealing with a 'module' like this: > > https://produto.mercadolivre.com.br/MLB-846315560-modulo-arduino-relogio-digital-4-bits-display-tm1637-_JM?quantity=1 > > or do you want to program the solely IC like this: http:// > www.microcontroller.it/english/Tutorials/Elettronica/componenti/ > TM1637.htm ? > > Regards Martin > > > > Am Samstag, 24. November 2018, 12:15:05 CET schrieb Martin Bitter: >> Welcome! >> >> I don't know it it fits. Maybe it's woth to have a look at: >> https://theforth.net/ package/lcd-hd44780 >> >> Regards Martin >> >> >> Am Samstag, 24. November 2018, 12:01:29 CET schrieb Fred Zelders via >> >> Amforth-devel: >>> Hello fellow developers, >>> >>> I'm a newbie in this community. >>> >>> I am looking for information about controlling the TM1673 (4 Digit 7 >> >> Segment >> >>> Display) with amforth. >>> >>> Any suggestions? >>> >>> Fred >>> >>> >>> >>> _______________________________________________ >>> Amforth-devel mailing list for http://amforth.sf.net/ >>> Amf...@li... >>> https://lists.sourceforge.net/lists/listinfo/amforth-devel > > > -- > Getippt im 9-Fingersystem von mir selbst. > > _______________________________________________ > Amforth-devel mailing list for http://amforth.sf.net/ > Amf...@li... > https://lists.sourceforge.net/lists/listinfo/amforth-devel |
From: Martin B. <mar...@t-...> - 2018-11-24 11:33:11
|
Hello Fred, (sorry for the typo. woth --> worth). A question: are you dealing with a 'module' like this: https://produto.mercadolivre.com.br/MLB-846315560-modulo-arduino-relogio-digital-4-bits-display-tm1637-_JM?quantity=1 or do you want to program the solely IC like this: http:// www.microcontroller.it/english/Tutorials/Elettronica/componenti/ TM1637.htm ? Regards Martin Am Samstag, 24. November 2018, 12:15:05 CET schrieb Martin Bitter: > Welcome! > > I don't know it it fits. Maybe it's woth to have a look at: > https://theforth.net/ package/lcd-hd44780 > > Regards Martin > > > Am Samstag, 24. November 2018, 12:01:29 CET schrieb Fred Zelders via > > Amforth-devel: > > Hello fellow developers, > > > > I'm a newbie in this community. > > > > I am looking for information about controlling the TM1673 (4 Digit 7 > > Segment > > > Display) with amforth. > > > > Any suggestions? > > > > Fred > > > > > > > > _______________________________________________ > > Amforth-devel mailing list for http://amforth.sf.net/ > > Amf...@li... > > https://lists.sourceforge.net/lists/listinfo/amforth-devel -- Getippt im 9-Fingersystem von mir selbst. |
From: Martin B. <mar...@t-...> - 2018-11-24 11:15:35
|
Welcome! I don't know it it fits. Maybe it's woth to have a look at: https://theforth.net/ package/lcd-hd44780 Regards Martin Am Samstag, 24. November 2018, 12:01:29 CET schrieb Fred Zelders via Amforth-devel: > Hello fellow developers, > > I'm a newbie in this community. > > I am looking for information about controlling the TM1673 (4 Digit 7 Segment > Display) with amforth. > > Any suggestions? > > Fred > > > > _______________________________________________ > Amforth-devel mailing list for http://amforth.sf.net/ > Amf...@li... > https://lists.sourceforge.net/lists/listinfo/amforth-devel -- Getippt im 9-Fingersystem von mir selbst. |