Subject:
|
Re: HandyBoard Reset Vector
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Mon, 15 Jun 1998 06:17:46 GMT
|
Original-From:
|
TORKIN@UNI-spamlessPADERBORN.DE
|
Viewed:
|
1172 times
|
| |
| |
> Hello again,
> I hope someone can help me out here. I want to run a standard
> assembly program on my HandyBoard without using IC. IC requires
> CONFIG=0x0C, which allows the reset vector to be fetched from external
> memory, instead of from $FFFE, $FFFF. Where does it find its reset vector
> then? How can I set it to find my program? It seems that MAIN_START is
> found at $8020, but I am assuming this particular to using IC.
>
> Thanks,
> Aaron
Hi!
If you start the Handyboard (no bootstrap mode) it is in the 'special
test' mode. So the start vector is located at $BFFE and $BFFF. In
your assambly program use the following code:
Start_vec ORG $BFFE
FDB Program_Start
where 'Program_Start' is the label of the first line of your
main program. Compile the code and download it with the normal
bootstrap-loader. Switch off and on and your program should start.
Hope it help you.
sincerely
tom
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
o Thomas Lehmann \ Fon.: (+49) (+) 5251-60 6492 o
o Paderborn University \ Fax.: (+49) (+) 5251-60 6502 o
o Heinz Nixdorf Institut \ o
o Fuerstenallee 11 \ Office: F1.319 o
o D-33102 Paderborn \ e-mail: torkin@uni-paderborn.de o
o Germany \ o
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
Message is in Reply To:
| | HandyBoard Reset Vector
|
| Hello again, I hope someone can help me out here. I want to run a standard assembly program on my HandyBoard without using IC. IC requires CONFIG=0x0C, which allows the reset vector to be fetched from external memory, instead of from $FFFE, $FFFF. (...) (26 years ago, 15-Jun-98, to lugnet.robotics.handyboard)
|
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|