![]() | ||
| Home | SwiftX Archive | SwiftForth Archive | |

Hi Ron
Thanks for your response.
I fixed the problem and it was a memory access problem as you stated. I delayed doing the second pass until after The debug had downloaded the code. At this point in time I am able to work in the target space exclusively and there is no problem!
Ken B
>You didn't post enough code to compile your snippet (>ENERGY is
>missing,) but your problem most likely has to do with memory access.
>The error message
>
>Address 130A7A is not valid for this section type Ac227 1109.2
>At line 20 in C:\ForthInc\SwiftX\Src\68K\GN32\L2413ATTENFIX6.F
>
>comes from attempting to access inaccessible target memory at compile
>time...in this case, probably from passing a host address to target
>memory operators.
>
>Colon definitions in INTERPRETER scope use target memory operators @, !,
>etc., not host memory operators. This is the most useful arrangement,
>as most INTERPRETER colon definitions are for manipulating the target
>image, such as CREATE ... DOES> words. When compiling in INTERPRETER,
>you have to use @(H), !(H), etc. or scope modifications such as [+HOST]
>... [PREVIOUS] to access host memory.
>
>Interpreting in INTERPRETER doesn't have the same dictionary search
>order as compiling in INTERPRETER, so you can't "hand-walk" INTERPRETER
>definitions the way you can TARGET ones. But you can hand-walk HOST
>definitions just like you'd expect, so if you have a lot of work to do
>on the host, it's easiest to get the work done in HOST, and keep the
>INTERPRETER interfacing words to a minimum.
>
>An example follows...hope this helps!
>
>
>--
>Ron Oliver
>Consulting Engineer
>FORTH, Inc.
>www.forth.com
>----------------------------------------------------------------------
>swiftx_at_forth.com The SwiftX programming discussion email list
>To unsubscribe, send subject "unsubscribe" to swiftx-request_at_forth.com
>For list command help, send subject "help" to swiftx-request_at_forth.com
>Message archives are located at http://www.forth.com/archive/swiftx
>----------------------------------------------------------------------
>This list is a forum for SwiftX users. For product support and bug
>reports, please send email to support_at_forth.com
>----------------------------------------------------------------------
Dr. Kenneth B Butterfield
phone: 505 667 8944
PO Box 1663
ms J562
Los Alamos National Laboratory
Los Alamos New Mexico 87545
"I do not trust a computer that I am not carrying!"
----------------------------------------------------------------------
swiftx_at_forth.com The SwiftX programming discussion email list
To unsubscribe, send subject "unsubscribe" to swiftx-request_at_forth.com
For list command help, send subject "help" to swiftx-request_at_forth.com
Message archives are located at http://www.forth.com/archive/swiftx
----------------------------------------------------------------------
This list is a forum for SwiftX users. For product support and bug
reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Mon Jun 05 2006 - 15:35:17 PDT
This archive was generated by hypermail 2.2.0 : Tue Dec 02 2008 - 03:04:51 PST