From: Luis Commins <l.commins@18...> - 2001-07-10 14:01:08
I've got a P80C552 based board (the C-Port) with an onboard monitor that
expects the code to start at 0x1000. It's 'own' helloworld demo hex file
shows that it has taken into account for all the relocated interrupt
vectors, so the 'code' actually starts at 0x107B (at 0x1000 there is I
assume the jump to 'main').
When I compile my own with sdcc it tramples over this space so the hex
file goes in but does not run.
What options do I need to pass to sdcc in order to get this to work?
I've tried sdcc '--code-loc 0x1000 helloworld.c' which the docs state
that it relocates the interrupt vectors but the space between 0x1000 and
0x107A still gets trampled.
And yes, I have done the #define MICROCONTROLLER_P80C552
0x1000 Jump to main
0x107B Code begins
Under the Regulation of Investigatory Powers (RIP) Act 2000 together
with any and all Regulations in force pursuant to the Act One Eighty
Software Ltd reserves the right to monitor any or all incoming or
outgoing communications as provided for under the Act.
Luis Commins Software Engineer
OneEighty Software Ltd Tel: +44 (0)20 8680 8712
Cygnet House Fax: +44 (0)20 8680 8453
12-14 Sydenham Road
CR9 2ET l.commins@...