embedded systems developers tools, cross compilers
  Home  |   SwiftX Archive  |   SwiftForth Archive  |

Re: [sftalk] Re: Power Up - Conversion From Older Forth

From: Appert, Kevin <kevin.appert_at_lmco.com>
Date: Fri, 16 Apr 2004 10:52:13 -0700

Short answer now is probably yes, it starts at Hex FFFF0.
As I pointed out, this is more of a hardware issue than a Forth
question.

ChipForth (The Cf in your startup message) was the predecessor to
SwiftX.
It appears that your target is an 80186 or relative. (there are
"embedded"
versions of the Intel chips up to Pentiums) What is the number on the
processor chip?

Some documents can be found here
http://www.x86.org/intel.doc/186manuals.htm

In particular, if you have an 80186, you'll want to look at the User
Manual at http://www.intel.com/design/intarch/manuals/27216403.pdf

For example, it says there:
>Reset initializes the Instruction Pointer to 0000H. The CS and IP
>values comprise a starting execution address of 0FFFF0H (see "Logical
>Addresses" on page 2-10 for a description of address formation).

Soooo, if the eprom you're talking about is mapped or echoed at
Hex 0FFFF0 then that's where the processor will go when you start up.

By the way, when you say "8 bit (after 32k they produce negative
values when doing a ".")" I think you mean 16 bit cells. An 8 bit
two's complement number would transition at 127 (Hex 7F).

So you're blasting EPROMs and plugging them into the target? If you
have a lot to do you might want to consider a more tractable devolopment

environment. Does your target hardware have an unused serial port that
you can downoad code into?

While you're considering things, you might want to move to the SwiftX
list.
SFTalk is the list for SwiftForth, Forth Inc.'s Windows/desktop product.
I know
you are not using SwiftX, but the folks on THAT list are more involved
with
embedded issues. I've CCd this thread there.

-----Original Message-----
From: sftalk-bounce_at_forth.com [mailto:sftalk-bounce_at_forth.com]On Behalf
Of Mark Ham
Sent: Friday, April 16, 2004 10:02 AM
To: sftalk_at_forth.com
Subject: [sftalk] Re: Power Up - Conversion From Older Forth

Kevin,

        I am a newbie to this architecture but the only thing I can find
is something that states Forth, Inc. and the newer environment is
polyFORTH ISD-4 Cf80186/Pmsd. In the older environment the cells are 8
bit (after 32k they produce negative values when doing a ".") and in the
newer environment they are 16.

        I found something in the "polyFORTH ISD-4 chipFORTH CPU
Supplement Cf80186/pMSD) section 2.4.2 Power Up Actions that states
"When the target system powers up, the processor begins executing at the
address FFFF0h". This is what I am trying to confirm.

        I am on an embedded processor. I am working the code on a PC
and transferring it to the processor using a Dataman S4.

Thanks for the help Kevin,

Mark

-----Original Message-----
From: sftalk-bounce_at_forth.com [mailto:sftalk-bounce_at_forth.com] On Behalf
Of Appert, Kevin
Sent: Friday, April 16, 2004 10:43 AM
To: sftalk_at_forth.com
Subject: [sftalk] Re: Power Up - Conversion From Older Forth

Short answer - it depends on the hardware.

What Forth were you using before you converted?
What Forth are you using? Are you sure it's PolyForth that you're
porting TO?

Are you on a PC or some embedded processor or what?
How does the 65520 play into this (do you mean the 65520 Graphics
Accelerator?)
Or did you mean Hex FFF0 (Decimal 65520) ?

Note that I am not an employee or representative of Forth, Inc. nor do I
play one television.

-----Original Message-----
From: sftalk-bounce_at_forth.com [mailto:sftalk-bounce_at_forth.com]On Behalf
Of Mark Ham
Sent: Friday, April 16, 2004 9:02 AM
To: sftalk_at_forth.com
Subject: [sftalk] Power Up - Conversion From Older Forth

I am working with an older version of Forth and just moved over to
polyFORTH. The layout of the module is:
 
0 - 24k screens for the device
24k - 64k actual PROM program code
 
When the device using this PROM turns on, does it start execution at
address FFFF0 (65520)?
 
Thanks in advance,
 
Mark
 
----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and bug
reports, please send email to support_at_forth.com
----------------------------------------------------------------------

----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and bug
reports, please send email to support_at_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
----------------------------------------------------------------------
Received on Fri Apr 16 2004 - 10:52:37 PDT

This archive was generated by hypermail 2.2.0 : Fri Dec 05 2008 - 03:04:22 PST