[A83] Re: SDCC Port proof-of-concept


[Prev][Next][Index][Thread]

[A83] Re: SDCC Port proof-of-concept



> Van: Aaron St.John <aaronstj@hotmail.com>
> 
> As people seem to really want to see:
> 
> This is passed to the compiler:
> as-z80 -ol ..\lib\crt0.o ..\lib\crt0.s
> as-z80 -ol ..\lib\getchar.o ..\lib\getchar.s
> as-z80 -ol ..\lib\putchar.o ..\lib\putchar.s
> as-z80 -ol ..\lib\rand.o ..\lib\rand.s
> 
> sdcc -V  -mz80 --code-loc 0x9427 --data-loc 0x8265 --nostdlib 
> -l/sdcc/share/sdcc/lib/z80/ -L z80.lib c:\sdcc\ti83dk\lib\crt0.o 
> c:\sdcc\ti83dk\lib\getchar.o c:\sdcc\ti83dk\lib\rand.o 
> c:\sdcc\ti83dk\lib\putchar.o main.c
> 
> And the resulting .IHX file (with one continuous section at 9327 and one
> at 9427) is then put into a .83p file. 

Can't you make the 'code chunck'-origin variable? aka, automagicaly put
directly after to the "shell header".

I faintly remember SDCC is unable to do this.

	Henk Poley <><