While I don't have sdcc loaded at the moment, and haven't used it 
for Z80, isn't the OVR in  .area _START (ABS,OVR) indicating that that 
segment can be overlayed (which is not what you want)? I'd check the linker
manual or just try removing it and see if your problem goes away.

Peter Van Epp

On Wed, Aug 17, 2016 at 11:01:05PM -0300, Augusto Fraga Giachero wrote:
> I've tried what you suggested, linking the boot.rel first results in the 
> opposite effect, the _START area gets overwritten by the _CODE area. 
> Here a small showcase for the problem I'm having:
> 
> 
> ; boot.asm:
> .globl HexToU8
> .area _START (ABS,OVR)
> 
>      .org 0
>      ld        SP, #0xFFFF
>      call     HexToU8
> 

------------------------------------------------------------------------------
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to