[Amforth] compiling 5.8

2015-05-16 Thread Paolo Garro
Hi all,
the new version 5.8 (compiled with only some warnings) behaves different from 
the previous I used (5.4).

To speed up serial connection I use these commands:
' refill defer@ constant xt-refill
: refill-xon $11 emit xt-refill execute ;
: +ready ['] refill-xon is refill ;
+ready

so the mcu sends a X-ON char as it is ready to receive other commands.
Now (version 5.8 rev.1860), the definition of +ready gives an error:

 : +ready ['] refill-xon is refill ;  ?? -13 29

and also the interpreted command do the same:

 ' refill-xon is refill  ?? -13 15

I cannot figure out the reason or what those errors mean.

Thanks for help

Paolo

---
Questa e-mail è stata controllata per individuare virus con Avast antivirus.
http://www.avast.com
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel


Re: [Amforth] compiling 5.8

2015-05-16 Thread Matthias Trute
Hi Paolo,

I glad that the others on the list could help you get
a running system (thanks!). 

  ' refill-xon is refill  ?? -13 15
 
 I cannot figure out the reason or what those errors mean.

It's a bit cryptic, I admit. But easy to decode:

The ?? signals an error (technically an exception is
raised that nobody handled). The -13 is the error (exception)
code, -13 means word not found (a full list of all
possible exceptions is in the docs somewhere, there
are only a few).

The 15 means the column in the text line in which the error
has been detected. The 15th character is the final s from
is. This the full story is: the word is is not found. And
in fact, the IS got rewritten as forth code and can be
found at lib/forth2012/is.frt. You need to load that
file first.

I'll update the docs. And probably write a recipe
for the cookbook / FAQ. 

Matthias

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel


[Amforth] compiling 5.8

2015-05-16 Thread Paolo Garro
Thanks Matthias,

 -13 means word not found (a full list of all
 possible exceptions is in the docs somewhere, there
 are only a few).

 The 15 means the column in the text line in which the error
 has been detected. The 15th character is the final s from
 is. This the full story is: the word is is not found.

I will import lib/forth2012/is.frt and manage to handle forth errors in my 
shell / serial terminal.

Paolo 


---
Questa e-mail è stata controllata per individuare virus con Avast antivirus.
http://www.avast.com


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel


[Amforth] compiling 5.8

2015-05-15 Thread paolo.garro
Hello everybody,

I tried to compile ver. 5.8 and got hundreds of errors.
Downloaded trunk rev.1860 but nothing seems changed.

Here is a link to the resulting lst file
https://www.dropbox.com/sh/3yq9gea2z3zuelv/AAB59rv8_GmOIo2Gw97PxQpRa?dl=0

Thanks for help.
Paolo


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel


[Amforth] compiling 5.8

2015-05-15 Thread Paolo Garro
Hi everybody,
fixed the makefile to include the common folder.
Now it compiles with 0 errors but 5 warnings:
“.cseg .db misalignment – padding zero byte”

words causing this error are:
common/words/ud-star.asm(9);
common/words/env-forthname.asm(22);
common/words/cscan.asm(12);
common/words/ver.asm(12);
common/words/nfa2cfa.asm(6).

Paolo


---
Questa e-mail è stata controllata per individuare virus con Avast antivirus.
http://www.avast.com
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel