Re: [Amforth] Coolterm as terminal

2018-10-26 Thread Tristan Williams
Jan,

I would try adding --rtscts to the ./amforth-shell.py command line. If
that does not help, then I would use --debug-serial to have a look at
what is happening at a lower level.

What model of Arduino are you trying to connect with?

Regards,
Tristan 

On 25Oct18 19:02, Jan Kromhout via Amforth-devel wrote:
> Tristan,
> 
> Thanks for the help this day. It is “working” but wen I type in a command a 
> get an error back from
> amForth. See my output.
> Anny idee what is going wrong?
> 
> Cheers
> 
> Jan
> 
> Last login: Thu Oct 25 18:54:18 on ttys000
> MacBook-Pro-van-Jan-6:~ jankromhout$ cd 
> /Users/jankromhout/Documents/amforth-6.7/tools 
> MacBook-Pro-van-Jan-6:tools jankromhout$ ./amforth-shell.py -p 
> /dev/tty.usbmodem1411 -s 38400 -i
> |I=appl_defs: 0 loaded
> |I=Entering amforth interactive interpreter
> |I=getting MCU name..
> |I=successfully loaded register definitions for atmega328p
> |I=getting filenames on the host
> |I=  Reading /Users/jankromhout/Documents/amforth-6.7/avr8/devices/atmega328p
> |I=  Reading /Users/jankromhout/Documents/amforth-6.7/avr8/lib
> |I=  Reading .
> |I=getting filenames from the controller
> (ATmega328P)> 
> (ATmega328P)> 10
>  ?? -13 8 
> (ATmega328P)> 10 20 + .
>  ?? -13 6 
> (ATmega328P)> 
> 
> 
> ___
> Amforth-devel mailing list for http://amforth.sf.net/
> Amforth-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amforth-devel


___
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel


[Amforth] Coolterm as terminal

2018-10-26 Thread Jan Kromhout via Amforth-devel
Tristan,

I’m using an original Arduino-Uno

The next thing is to figure out how to include some of the .frt files. Docu is 
hard to understand.

It is working now with
MacBook-Pro-van-Jan-6:tools jankromhout$ ./amforth-shell.py -p 
/dev/tty.usbmodem1421 -s 38400 -i —rtscts

I greatly appreciated your help

Cheers

Jan



___
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel


[Amforth] the word "see"

2018-10-26 Thread Jan Kromhout
Hi,

I have installed the word “see"
When I look to one of my former installed words I get this

> see toggle
 ?? -4 10 

What is wrong with “see”

Cheers,

Jan
___
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel


Re: [Amforth] the word "see"

2018-10-26 Thread Peter C. Hauser
Jan,

It might not solve your immediate problem, but you can find a list of the error 
codes here:  

http://forth-standard.org/standard/exception 



Peter


> On 26 Oct 2018, at 13:50, Jan Kromhout  wrote:
> 
> Hi,
> 
> I have installed the word “see"
> When I look to one of my former installed words I get this
> 
>> see toggle
> ?? -4 10 
> 
> What is wrong with “see”
> 
> Cheers,
> 
> Jan
> ___
> Amforth-devel mailing list for http://amforth.sf.net/
> Amforth-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amforth-devel


___
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel


Re: [Amforth] the word "see"

2018-10-26 Thread Tristan Williams
Jan,

In release 6.2 [1] find-name was renamed to find-xt. I think the forth
code for see has not been updated to reflect this. By editing see.frt
and changing find-name to find-xt I was able to produce the following.

> : test 5 0 do i . loop ;
 ok
> test
0 1 2 3 4  ok
> see test
: test
[ 5278 ]   14396 5 
[ 5280 ]   14675 0
[ 5281 ]   15002 do -> 15018 
[ 5283 ]   1267 .
[ 5284 ]   15048 loop -> 5282 
[ 5286 ]   14367 ; ok

Regards,
Tristan

[1] http://amforth.sourceforge.net/history.html


On 26Oct18 15:12, Peter C. Hauser wrote:
> Jan,
> 
> It might not solve your immediate problem, but you can find a list of the 
> error codes here:  
> 
> http://forth-standard.org/standard/exception 
> 
> 
> 
> Peter
> 
> 
> > On 26 Oct 2018, at 13:50, Jan Kromhout  wrote:
> > 
> > Hi,
> > 
> > I have installed the word “see"
> > When I look to one of my former installed words I get this
> > 
> >> see toggle
> > ?? -4 10 
> > 
> > What is wrong with “see”
> > 
> > Cheers,
> > 
> > Jan
> > ___
> > Amforth-devel mailing list for http://amforth.sf.net/
> > Amforth-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/amforth-devel
> 
> 
> ___
> Amforth-devel mailing list for http://amforth.sf.net/
> Amforth-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amforth-devel


___
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel