Re: [Amforth] New License

2014-11-01 Thread Enoch
ss of your project and thus, I consider this to be basic courtesy. > > Sorry, you're right. So the formal request: I intent to change the > license from GPLv2 to GPLv3. Details are available at www.fsf.org > The reason is that I intent to include a major GPLv3 licensed > code bas

Re: [Amforth] New License

2014-11-01 Thread Enoch
Andreas Wagner writes: > I, for one, welcome this change. It will make it possible to use code from > gforth in amforth projects. > > Enoch, if you can't live with the license change, you might consider > asforth ( https://github.com/nfz/asforth ) a subroutine threaded fork

Re: [Amforth] New License

2014-11-12 Thread Enoch
be no merging of code or documentation from AmForth further to svn://svn.code.sf.net/p/amforth/code/trunk@1687 which announced its change of license. Let me end this message with the hope that the advantages of competition in the AmForth* arena will outweigh its downside. Thanks, Enoch. P/S So

Re: [Amforth] Amforth News

2014-11-18 Thread Enoch
Marrying a von Neumann architecture (MSP430) with a Harvard architecture (AVR8)... Hope the offspring would come out normal :-) Good luck, Enoch. -- Matthias Trute writes: > Hi John and Brad, > >> This cross

Re: [Amforth] Release 5.6 is out

2014-12-22 Thread Enoch
need to serve in a "mission critical" system using common real-time programming methods (e.g., Second Level Interrupt Handlers). Let me wish Matthias a happy AVR8/MSP430 marriage, a path The Shadow will not follow. Regards, Enoch. On 12/22/2014 12:59 PM, Matthias Trute wrote: > Hi

Re: [Amforth] [AMFORTH] USB Serial Support for AMFORTH 4.6 on Arduino Micro

2014-12-23 Thread Enoch
Hi Jeff, Did you model your AmForth USB support (host mode I presume) on some known API? Do you have a public repository for this project? Thanks, Enoch. Jeff Rosenwald writes: > > > > > > > -Original Message- > From: Jeff Rosenwald > To: jeffrose

[Amforth] AmForth-Shadow new "clock library"

2015-02-25 Thread Enoch
le continued activity after a desired number of milliseconds. I trust to have your interest. Thanks, Enoch. -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and develope

[Amforth] New clock library

2015-02-25 Thread Enoch
Interrupt Service Routines (ISRs) by introducing delayed execution words. An ISR, for example, before it ends can schedule continued activity after a desired number of milliseconds. See elist ( delay value xt -- error-flag ), etc. I trust to have your interest. Thanks, Enoch. P/S AmForth-Shadow is an

Re: [Amforth] AMFORTH 5.8 on Uno R3

2015-04-20 Thread Enoch
still frustrating for you then I will stop writing to this mailing list. > > --Steve Hmm... I think that new users of standrd platforms, such as Arduino Uno R3, are entitled to expect the availability of AmForth binaries to get them started immediately. Can't someone here with a worki

Re: [Amforth] AMFORTH 5.8 on Uno R3

2015-05-09 Thread Enoch
Dennis, I would like to caution you that AmForth nowadays is GPLv3, i.e., "most toxic" :-) I forked AmForth and continued with my independent AmForth-Shadow development when Matthias made the switch from GPLv2 to GPLv3. My new stuff is FreeBSD like licensed. Cheers, Enoch. https://

Re: [Amforth] AMFORTH 5.8 on Uno R3

2015-05-09 Thread Enoch
writes: > Enoch, > > > I repeat, I am not going to get into a licensing debate with anyone, but I > believe I have satisfied the GPLv3 requirements. > > > DaR > I don't question your compliance Dennis, I leave that task to the copyright holder :-) Unfortunate

Re: [Amforth] AMFORTH 5.8 on Uno R3

2015-05-11 Thread Enoch
Erich Wälde writes: > Enoch, > > > Enoch writes: > >> writes: >> >>> Enoch, >>> >>> >>> I repeat, I am not going to get into a licensing debate with anyone, but I >>> believe I have satisfied the GPLv3 requirements. &g

[Amforth] Partdesciption files from AVR Studio 6

2012-09-25 Thread Enoch
Hi, Can someone provide a guide how to extract part-description using Studio6? Studio4's xmlconvert is missing. Thanks, Enoch. -- Live Security Virtual Conference Exclusive live event will cover all the ways to

[Amforth] Asm debugging, how?

2012-09-30 Thread Enoch
Hi, Using Debian I am trying the latest amforth svn code with Olimex AVR-CAN board which is AT90CAN128 based. I passed the avra hurdle using git code with a small device.c patch. Now loading the board I see it emitting gibberish ... Is there a way to debug under Linux? Thanks, Enoch

Re: [Amforth] Asm debugging, how?

2012-10-01 Thread Enoch
preferred the asm code to be avr-gcc compatible for our avr-gdb and other tools pleasure. Anyway, my idea is to prepare Amforth as a boot section permanent code in a product. Would enable the customer to easily run post production tests, etc. Will report progress if there is any :-) Thanks, Enoch. P/S

Re: [Amforth] Asm debugging, how?

2012-10-02 Thread Enoch
Thanks for your work, Matthias. Enoch. FYI, using the same code base: Amforth with avrasm2.exe builds a functional code: "AT90CAN128" memory use summary [bytes]: Segment BeginEnd Code Data UsedSize Use%

[Amforth] amforth-shell.py idea

2012-10-07 Thread Enoch
00 TCCR0B c! \ stop timer #endif Any better idea? Thanks, Enoch. -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happen

Re: [Amforth] amforth-shell.py idea

2012-10-08 Thread Enoch
ot;% TCCR0 c!" if py else "% TCCR0B c!" 2nd method: #py= TCCR0B #py? "% TCCR0B c!" if py else "% TCCR0 c!" If TCCR0B is a known register name py is True, if not py is False (taking advantage of Keith's reg name substitutio

Re: [Amforth] amforth-shell.py idea

2012-10-08 Thread Enoch
Hello again Matthias, Here's the patch at pastebin: http://pastebin.com/NbfGxU3C Thanks, Enoch. On 10/08/2012 01:36 PM, Matthias Trute wrote: > Hi, > >> On the at90can128, for example, one has to introduce "TCCR0 constant >> TCCR0B" before uploading lib/h

Re: [Amforth] amforth-shell.py idea

2012-10-11 Thread Enoch
y). It is great for educational purposes but it creates dependence on loading of the code through amforth-shell.py only. I think Forth tradition is against that, it was supposed to be self contained and operated through a simple terminal... What is your recommended practice? Thanks, Enoch. On

Re: [Amforth] amforth-shell.py idea

2012-10-13 Thread Enoch
l thought #py idea). The generic frt code should include some preprocessing instructions to produce MCU specific code, m4 perhaps? Once you decide on the standard people would follow :-) Thanks, Enoch. -- Don't let s

Re: [Amforth] amforth-shell.py idea

2012-10-13 Thread Enoch
is most suitable for adapting a generic Forth library code for a particular AVR MCU. I see this tool utilized at Amforth install stage. Perhaps it would unify those appl/ projects... Comments please. Thanks, Enoch. > > Matthias > > > ---

Re: [Amforth] amforth-shell.py idea

2012-10-14 Thread Enoch
On 10/14/2012 05:01 AM, Matthias Trute wrote: > Am 13.10.2012 22:51, schrieb Enoch: >> On 10/13/2012 02:53 PM, Matthias Trute wrote: >>> Hi, >>> >>>> We do still have a problem how to deal with hardware idiosyncrasies as >>>> timer0.frt demonstr

[Amforth] marker

2012-10-21 Thread Enoch
Hi, Can marker be fixed? Thanks, Enoch. (AT90CAN128)> #include marker.frt |D=#include marker.frt |I=getting filenames on the host |I= Reading . |I= Reading ../../lib |I=using marker.frt from/home/enoch/private/iobcan/amforth/lib/ans94/core-ext /home/enoch/private/iobcan/amforth/appl/

Re: [Amforth] marker

2012-10-21 Thread Enoch
Thanks Erich, MARKER does indeed work and it is essential -- we can't expect an enduser to use JTAG when upgrading appl. Regards, Enoch. ew.fo...@nassur.net writes: > Hi Enoch, > > > Quoting Enoch : > >> Hi, >> >> Can marker be fixed? > ... >>

[Amforth] From frt to asm

2012-10-27 Thread Enoch
Hi, Is there an automated method to compile frt to asm to skip uploading of debugged words? Uploading hex code from the application is what I do now. Quite ugly IMO. Thanks, Enoch. -- WINDOWS 8 is here. Millions of

Re: [Amforth] From frt to asm

2012-10-27 Thread Enoch
Hi, Is there an automated method to compile frt to asm to skip uploading of debugged words? *Downloading* hex code from the application is what I do now. Quite ugly IMO. Thanks, Enoch. -- WINDOWS 8 is here. Millions

Re: [Amforth] From frt to asm

2012-10-27 Thread Enoch
et his source to work in the application and forgets to add the same to the source file itself. This can go unnoticed for a long while since the downloaded code does include this device-init. 2. Host compiled Forth code can easily be enhanced with hand wri

Re: [Amforth] From frt to asm

2012-10-27 Thread Enoch
Matthias Trute writes: > Am 27.10.2012 21:01, schrieb Enoch: >> Hello Matthias, >> >> I believe that downloading code from the application should be >> a discouraged practice, reasons below. > > I disagree. > >> >> Matthias Trute writes: >>

[Amforth] amforth-shell.py

2012-11-08 Thread Enoch
&44 constant PINE \ Input Pins, Port E ) Thank you, Enoch. Index: tools/amforth-shell.py === --- tools/amforth-shell.py (revision 1300) +++ tools/amforth-shell.py (working co

[Amforth] SVN revision tagging

2012-11-19 Thread Enoch
Hello Matthias, Can you insert the SVN revision no. into Amforth ID message i.e., "amforth r1304..." instead of "amforth 4.9..." (as is fit for a release). Thank you, Enoch. -- Monitor your physica

Re: [Amforth] SVN revision tagging

2012-11-23 Thread Enoch
things done myself :-) Regards, Enoch. Matthias Trute writes: > Hi all, > > until a full blown solution is available, > one may find http://amforth.sourceforge.net/recipes/build-timestamp.html > not completely useless. The solution should work > for all recent versions of am

Re: [Amforth] SVN revision tagging

2012-11-26 Thread Enoch
)\" ;" >svnversion.frt Now in the application: ~~~ \ #include svnversion.frt : myturnkey \ snip applturnkey space svnversion ; ' myturnkey is turnkey The result: ~~~ amforth 4.9 AT90CAN128 r1306M Thanks, Enoch. P/S M reminds me that you

Re: [Amforth] SVN revision tagging

2012-12-01 Thread Enoch
*): 42 CONSTANT Answer_to_the_ultimate_question_of_life_the_universe_and_everything without paying a Flash penalty :-) Cheers, Enoch. (*) Adams constant. -- Keep yourself connected to Go Parallel: DESIGN Expert tips on starting your parallel pro

Re: [Amforth] Sourceforge Updates

2012-12-11 Thread Enoch
Hello Matthias, I think this can be done by: svn switch svn://svn.code.sf.net/p/amforth/code/trunk Regards, Enoch. Matthias Trute writes: > Hi all, > > Sourceforge gradually updates all projects to a new system. > Today I migrated amforth to it. The most important change for &g

Re: [Amforth] Sourceforge Updates

2012-12-12 Thread Enoch
English please. Thanks, Enoch. P/S I discovered bitnames.frt as it was mentioned in r1312 SYNONYM. Did something similar so feel like "reinventing the wheel" :-) Would be happier if doc is made more current and would be ready to help. Erich Waelde writes: > Hi Matthias, > >

Re: [Amforth] Sourceforge Updates

2012-12-13 Thread Enoch
made more current and comprehensive by enabling more people to contibute especially to the time consuming documentation effort, through an accompanying project wiki perhaps. Thanks, Enoch. Matthias Trute writes: > Hi Enoch, > >> Would be happier if doc is made more current and wou

Re: [Amforth] Release 5.0 is out

2013-01-11 Thread Enoch
.equ/.set Thanks, Enoch. : svnversion ." r1339" ; Matthias Trute writes: > Hi all, > > its been a long time since the last release, and a lot of work is > done. So I decided to use some spare minutes to publish the status > quo as a new release. Many many thanks to al

[Amforth] Using User Deferred Words

2013-01-13 Thread Enoch
Hi, Suppose we want to duplicate all output. Can anyone please show a simple working example? The following does not work. : myemit dup emit emit ; char a myemit aa ok ' myemit is emit Amforth 5.0 r1339 freezes... Thanks, Enoch. P/S I guess there's an infinite recursion... but

[Amforth] lib/bitnames.frt

2013-01-13 Thread Enoch
Hi, Isn't the following more sensible? : is_low? ( pinmask portaddr -- f) -c@ invert and +c@ and 0= ; : is_high? ( pinmask portaddr -- f) -c@ and +c@ and 0> ; Thanks, Enoch. 1) the writeup says they return "true if..." which means return -1 and not a

Re: [Amforth] Using User Deferred Words

2013-01-13 Thread Enoch
had to be conscious how to read deferred words -- Rdefer@, Udefer@, Edefer@ or simply defer@ from the program memory. Regards, Enoch. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows

Re: [Amforth] lib/bitnames.frt

2013-01-13 Thread Enoch
Hello Matthias, Matthias Trute writes: > Hi Enoch, > >> Isn't the following more sensible? >> >> : is_low? ( pinmask portaddr -- f) >> -c@ invert and >> +c@ and 0= >> ; >> >> : is_high? ( pinmask portaddr -- f) >> -

[Amforth] Why reStructuredText

2013-01-20 Thread Enoch
Hello Matthias, Why reST? Which editor do you recommend for anyone wishing to contribute doc? Thanks, Enoch. P/S Recommend patching the following to produce well formed "true": Index: core/words/usart-tx-poll.asm ==

Re: [Amforth] Why reStructuredText

2013-01-21 Thread Enoch
onfirming that Emacs has an rst-mode... thus, will give it a try :-) Thanks, Enoch. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills c

Re: [Amforth] inner interpreter operation.

2013-02-08 Thread Enoch
Helo Matthias, Which doc output do you consider complete. The two most popular ones fail: make html ~ Theme error: no theme named 'amforth' found (missing theme.conf?) make latexpdf ~ l.1026 \includegraphics{flash-structure.*} Regards, Enoch. P/S above refer

[Amforth] Useful?

2013-02-12 Thread Enoch
tadr bitno -- ) \ CBI swap $20 - 3 lshift or $9800 or code , end-code ; example: PORTB 7 port:hi green.hi PORTB 7 port:lo green.lo Thanks, Enoch. -- Free Next-Gen Firewall Hardware Offer Buy your Sophos next-ge

Re: [Amforth] Useful?

2013-02-12 Thread Enoch
e ; : port:lo ( portadr bitno -- ) \ CBI swap $20 - _bitio 3 lshift or $9800 or code , end-code ; Enoch writes: > Hello Matthias and all, > > I'd like to see this forum also offering code snippets, so here's my > first humble attempt of harnessing the at

Re: [Amforth] Useful?

2013-02-14 Thread Enoch
ent project (at90can128 based) the AVR also has a recommended general purpose register, GPIOR0 [0x1E (0x3E)], for this very purpose. Thank you, Enoch. -- : _bitio dup $1F U> if &-9 throw then over $7 U> if &-

Re: [Amforth] Useful?

2013-02-15 Thread Enoch
Matthias Trute writes: Hello Matthias, > Hi Enoch, > >>> Enochs code is a macro, assembling one single instruction SBI into >>> dictionary and naming it. >>> Calling that word will execute the SBI instruction. >>> >>> Michael >> >

Re: [Amforth] Useful?

2013-02-15 Thread Enoch
Enoch writes: > Matthias Trute writes: > > Hello Matthias, > >> Hi Enoch, >> >>>> Enochs code is a macro, assembling one single instruction SBI into >>>> dictionary and naming it. >>>> Calling that word will execute the SBI instr

[Amforth] int_restore, etc.

2013-02-15 Thread Enoch
l Interrupt Flag) one would expect "-int" to be a simple CLI (Clear Global Interrupt Flag) but this is not the case... May I suggest: +int → SEI -int → CLI int_suspend → ( -- SREG ) CLI int_restore → ( SREG -- ) Thanks, Enoch.

Re: [Amforth] int_restore, etc.

2013-02-15 Thread Enoch
Enoch writes: > Hello Matthias and all, > > "-int" (int-off.asm) counterpart is "int_restore" (int-restore.asm). So, > why is this "int_restore" header commented out, i.e., not available to > the high level? > > Candidly, as "+int" (in

Re: [Amforth] no-wdt

2013-02-16 Thread Enoch
s for the microcontroller instructions SLEEP and WDR (watch dog reset). To work properly, the MCU needs more configuration. amforth itself does not call these words." and there is core/words/wdr.asm Dealing with the fuses (WDTON) is currently outside Amforth scope. Regards, E

[Amforth] Code snippet

2013-02-16 Thread Enoch
( i × xt -- ) depth , begin depth while , repeat does> ( n -- ? ) over over @i U< if 1+ + @i execute else 2drop then ; Cheers, Enoch. -- The Go Parallel Website, sponsored by Intel - in partnership with G

Re: [Amforth] int_restore, etc.

2013-02-16 Thread Enoch
disturb us here > baz > ]critical \ now interrupts or other things may happen again > qux ; I like these "critical[" "]critical" words, much better than int_suspend and int_restore, but I prefer their current asm code implementation since one would like to ke

Re: [Amforth] Code snippet

2013-02-16 Thread Enoch
a look at > http://galileo.phys.virginia.edu/classes/551.jvn.fall01/fsm2.htm > > > Paper explaining it at > http://galileo.phys.virginia.edu/classes/551.jvn.fall01/fsm.html For the above mentioned reason we rarely can copy code verbatim. Hence, the need to create our own tr

Re: [Amforth] int_restore, etc.

2013-02-16 Thread Enoch
be even 1µS shorter the asm code should stay :-) I agree with your general philosophy of minimizing the number of low level (asm) routines. For example, I recently took note of bm-set.asm, bm-clr.asm and bm-toggle.asm... they don't follow this principle... Regards, Enoch. > > >

[Amforth] Development request

2013-02-19 Thread Enoch
eans that on-site code replacement can be done without a JTAG, etc. Comments? Thank you, Enoch. P/S Marker is not good enough: It does not restore the EEPROM. It removes itself after application. -- Everyone h

Re: [Amforth] Development request

2013-02-19 Thread Enoch
Firmware <http://wiki.laptop.org/go/Open_Firmware>. In any case, we here should focus on Forth code that utilizes Atmel's AVR special features and quirks. In this connection I patiently wait for Matthias to recognize/decline my SBI/CBI utilization macros ;-) Regards, Enoch. > >

Re: [Amforth] Useful?

2013-02-20 Thread Enoch
Erich Waelde writes: > Hi Enoch, > > since you asked for comments ... I certainly do! > On 02/13/2013 05:38 AM, Enoch wrote: >> Hello Matthias and all, >> >> I'd like to see this forum also offering code snippets, so here's my >> first humble att

Re: [Amforth] Development request

2013-02-20 Thread Enoch
Erich Waelde writes: > Hi Enoch, > > On 02/19/2013 10:36 PM, Enoch wrote: >> G'day to you to you all, >> >> I found something that seems to me useful on http://www.4e4th.eu/ >> >> WIPE ( -- ) Back to original status. Stacks unchanged. uarea back to

Re: [Amforth] Useful?

2013-02-20 Thread Enoch
Hello Matthias, Matthias Trute writes: > Hi Enoch, > >> Well, let's try the following indirect argument: >> >> Atmel thought these instructions to be important enough to "spend" 2^10 >> opcodes out of their precious 2^16 RISC range. Don't

[Amforth] Need another mailing list to submit patches?

2013-02-21 Thread Enoch
Index: doc/source/refcard.rst === --- doc/source/refcard.rst (revision 1375) +++ doc/source/refcard.rst (working copy) @@ -724,8 +724,8 @@ fetches XT from interrupt vector i * :command:`\-int` - ( -- sreg ) - turns of

Re: [Amforth] Development request

2013-02-26 Thread Enoch
Mikael Nordman writes: > Hi Enoch, > For your information, FlashForth has these robustness mechanisms built > in. > > The aim has been to make it so robust that a reflash should never be > needed. > > The Kernel is write protected, the memory allocation pointers in eepro

[Amforth] Address arithmetic

2013-02-26 Thread Enoch
addr ⇒ c-addr ⇒ addr ⇒ u; Thanks, Enoch. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d

[Amforth] lib/forth200x/defined.frt

2013-02-28 Thread Enoch
Hello Matthias & all, [undefined] didn't work for me so I replaced it with the following definition. I guess it's something with "immediate". Thanks, Enoch. svn diff lib/forth200x/defined.frt Index: l

[Amforth] .S “dot-s”

2013-03-01 Thread Enoch
Hello Matthias & all, Regarding .S Indeed, says Forth 2012 RC1, "the format of the display is implementation-dependent". However, doesn't GFORTH display order make a better sense: 1 2 3 .s <3> 1 2 3 ok While ours: > 1 2 3

Re: [Amforth] .S “dot-s”

2013-03-02 Thread Enoch
Matthias Trute writes: > Hi Enoch, > >> Regarding .S >> >> Indeed, says Forth 2012 RC1, "the format of the display is >> implementation-dependent". >> >> However, doesn't GFORTH display order make a better sense: > > In which way:

Re: [Amforth] .S “dot-s”

2013-03-02 Thread Enoch
Matthias Trute writes: > Hi Enoch, > >> And if I have your ear :-) > > You'll (almost) always have it. ;) > >> I prefer (gforth): -1 -2 -3 .s <3> -1 -2 -3 ok >> over (amforth): -1 -2 -3 .s 65533 65534 65535 ok >> i.e., the regular numbers

Re: [Amforth] .S “dot-s”

2013-03-02 Thread Enoch
"Michael Kalus" writes: > Hi. > > Am 02.03.2013 um 21:27 schrieb Enoch: > >> : .s ( -- ) \ stack picture listing order >> depth >> begin dup while dup pick . 1- repeat >> drop >> ; > > Maybe you wan

[Amforth] Wish to FORGET

2013-03-02 Thread Enoch
"). Can we apply it without the penalty of accumulating redundant code? Thanks, Enoch. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: ht

Re: [Amforth] Variations on .S

2013-03-03 Thread Enoch
hat is "System 1" / "System 2" that I referred to in my communication see http://en.wikipedia.org/wiki/Thinking,_Fast_and_Slow for a brief description. Regards, Enoch. Erich Waelde writes: > Hi, > > On 03/02/2013 06:22 AM, Enoch wrote: >> Hello Matthias&

Re: [Amforth] Wish to FORGET

2013-03-03 Thread Enoch
in" site to suggest I am open to hear. The code at <http://pastebin.com/1YtVdMeg> will expire in 4 weeks. I hope to submit the final version for review beforehand. You are *welcome* to comment if you find my code style or approach deficient. Regards, Enoch. (*) Nautilus, GNOME file mana

Re: [Amforth] Wish to FORGET

2013-03-03 Thread Enoch
Hello Matthias, Matthias Trute writes: > Hi Enoch, > > >> How can I reclaim the Flash memory of the crc8_msb_table word itself? >> >> (1) Our Tools Ext don't include FORGET. >> >> (2) I could use Core Ext MARKER if we had a deferred facility of >

[Amforth] amforth-shell.py patch proposal

2013-03-04 Thread Enoch
x27; } $ make shell ...snip... (AT90CAN128)> DEBUG . 1 ok Regards, Enoch. #1 Assuming that Matthias places it in ${AMFORTH}/lib/crc8.frt :-) #2 With no real constant-s to pay for in the user code. -- Everyone hates slow w

Re: [Amforth] Wish to FORGET

2013-03-04 Thread Enoch
"forget" question. The simplest approach is to select each new deinition the largest available free space fragement to compile into. If the Forth programmer is well trained he/she factors his/her code into small pieces and reutilization of "forgetten" definitions would be high. An

Re: [Amforth] Variations on .S

2013-03-04 Thread Enoch
> I updated http://amforth.sourceforge.net/TG/recipes/Dumps.html > with Erich's examples. There should everyone find a solution > that suits him/her. I like your approach, holding up to your convictions while resp

Re: [Amforth] amforth-shell.py patch proposal

2013-03-04 Thread Enoch
Matthias Trute writes: > Hi Enoch, > >> >> As I promised to generalize crc8.frt (#1) a question was raised how would >> the user configure it to its use, namely, select the generating >> polynomial byte and the needed bit order (#2). >> >> I answered

Re: [Amforth] Wish to FORGET

2013-03-04 Thread Enoch
Erich Waelde writes: > Hi Enoch, > > On 03/04/2013 04:03 AM, Enoch wrote: > >> The code at<http://pastebin.com/1YtVdMeg> will expire in 4 weeks. > > See? In 4 weeks the code is gone. If you had added it to the message > in the first place, then anyone could fin

Re: [Amforth] amforth-shell.py patch proposal

2013-03-04 Thread Enoch
Matthias Trute writes: > Enoch, > >> I said, how nice it would be if amforth-shell would do it for me just >> like it does with Atmel's register/bit defs. > > That makes sense. But appl_own.py as the filenname. There should > be better ones. Or a more ge

Re: [Amforth] amforth-shell.py patch proposal

2013-03-04 Thread Enoch
d5 constant CRC8PLY -1 constant CRC8MSB ) CRC8PLY . CRC8MSB . $ make shell AMFORTH_LIB=.:/home/enoch/avr/amforth/trunk/lib python /home/enoch/avr/amforth/trunk/tools/amforth-shell.py -p /dev/ttyUSB2 |I=appl_defs: example |I=appl_defs: 4 loaded |I=Entering amforth interactive interpreter |I=getting MCU

[Amforth] Are [if] [else] [then] really working?

2013-03-05 Thread Enoch
t; [then] type → hello ok 0 [if] s" hello" [then] type → freezing Gforth: ~~~ 1 [if] s" yes" [else] s" no" [then] type yes ok 0 [if] s" yes" [else] s" no" [then] type no ok Thank you, Enoch. -

Re: [Amforth] Variations on .S

2013-03-05 Thread Enoch
sp! else depth if (.s else ." Empty " then then ; Using the usual "stack picture" (of-course). Since only Matthias has commit rights, it's his call. I don't suggest to fork over this issue though :-) Regards, Enoch. "Michael Kalus" writes:

Re: [Amforth] Wish to FORGET

2013-03-06 Thread Enoch
writes: """ Typical use === FORGET is useful when a human redefines an existing word in the command line, finds a bug, and wants to correct it: """ By the way, there are "marketing reasons" for Amforth to acquire FORGET-fullness :-) Regards, Enoch.

Re: [Amforth] Wish to FORGET

2013-03-07 Thread Enoch
n. Thanks + Regards, Enoch. -- Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For

[Amforth] Table driven CRC-8 generator/checker

2013-03-08 Thread Enoch
This CRC-8 implementation is more efficient than that of lib/hardware/1wire-crc8.frt if messages are transmitted/recived on a byte-by-byte basis. Regards, Enoch. PS1: Is there any reference implementation for [if] [else] [then]. I need them and would be ready to help if needed. PS2: I assum

Re: [Amforth] Table driven CRC-8 generator/checker

2013-03-08 Thread Enoch
Hello Matthias, Matthias Trute writes: > Hi Enoch, > > >> Please find in <http://pastebin.com/BRHaitj9> my complete CRC-8 >> implementation >> for peer review and library inclusion if there is interest. > > Since you put your code under MIT license, ther

Re: [Amforth] Table driven CRC-8 generator/checker

2013-03-08 Thread Enoch
ned loading of hex code. Being corp. world friendly has the power to transform the Amforth project... Regards, Enoch. -- Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Secur

Re: [Amforth] Table driven CRC-8 generator/checker

2013-03-09 Thread Enoch
penfirmware style). Now that we have a project specific configuration file (appl_defs.frt), how about recommending all contributors to respond to, say, something akin to python __debug__ constant which determines the extent of run-time tests. Regards, Enoch. -

Re: [Amforth] Table driven CRC-8 generator/checker

2013-03-09 Thread Enoch
217. This is not their print edition but the PDF version included in <http://www.forth.com/swiftforth/dl.html>. Regards, Enoch. -- Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): E

Re: [Amforth] dual licensensing amforth???

2013-03-10 Thread Enoch
tmel does endorse (and include) GNU's AVR-GCC and AVR-LIBC for their permissive run-time licenses. To be continued, need to do some real work now :-) Regards, Enoch. -- Symantec Endpoint Protection 12 positi

Re: [Amforth] where to save the IP

2013-03-12 Thread Enoch
ed. As you are responsible for the master firmware as well I suggest that you find a way to delay successive communications on the master and on the AVR slave stay high level (Forth). Regards, Enoch. -- Everyone hates slow web

Re: [Amforth] where to save the IP

2013-03-14 Thread Enoch
Mark Malmros writes: > Sorry if I bored you guys. And again thanks for the help! Absolutely not, Forth & Astronomy go hand in hand! By the way, when I need a "little Linux" I choose an OpenWRT based solution using a converted commodity router. Catch a falling star

[Amforth] CVARIABLE

2013-03-15 Thread Enoch
r systems for embedded micro- controllers and other environments where it is advantageous to allo- cate variables only one character in size. Thanks, Regards, Enoch. -- Everyone hates slow websites. So do we. Make your web app

Re: [Amforth] CVARIABLE

2013-03-16 Thread Enoch
is true. [IF] .. [THEN] don't \ exist everywhere, so we use this conditional comment word insted. : uses ( flag -- ) 0= IF POSTPONE \ THEN ; It would not occur to the "normal brain" (i.e., tainted by years of other prog languages use)

Re: [Amforth] CVARIABLE

2013-03-17 Thread Enoch
Hello Matthias, Matthias Trute writes: > Hi Enoch, > >>> : cvariable variable -1 allot ; >> >> Implementation is not the issue -- education is (i.e., please be >> reminded that the AVR is an 8bit µC). > > I hope you like > http://amforth.sour

Re: [Amforth] CVARIABLE

2013-03-17 Thread Enoch
Enoch writes: > Hello Matthias, > > Matthias Trute writes: > >> Hi Enoch, >> >>>> : cvariable variable -1 allot ; >>> >>> Implementation is not the issue -- education is (i.e., please be >>> reminded that the AVR is an 8bit

[Amforth] wordlists empowered

2013-03-20 Thread Enoch
"wid" etc. as needed. In the best Forth tradition let this "autoscope" be initially a NOP and allow the programmer to introduce whatever naming scheme he/she desires via a subsequent IS. Am I missing something? Did I reinvent the wheel? :-) Thanks, Enoch.

Re: [Amforth] CVARIABLE

2013-03-21 Thread Enoch
c effect on your perceptions of what the entity should or should not do." Let's leave the Hungarian method to Microsoft, where it was invented. It is an essential evil when managing large projects though. Regards, Enoch. -

Re: [Amforth] wordlists empowered

2013-03-21 Thread Enoch
Erich Waelde writes: > Hi, > > On 03/20/2013 11:29 PM, Enoch wrote: >> Hello AmForth-ers: >> >> Did any of you put "wordlists" into a good use? > > yes. I use this to create a separate wordlist, which > is used to parse a special source code str

  1   2   3   >