Hello Alan,
When I did Z80 work before I just defined the _CODE section in the first source
file, that seemed to do the trick. Something like this:
http://pastebin.com/jcYSFGig
Friday, August 19, 2016, 10:02:11 AM, you wrote:
AC> On Fri, 19 Aug 2016 10:51:41 -0300
AC> Augusto Fraga Giachero w
On Fri, 19 Aug 2016 10:51:41 -0300
Augusto Fraga Giachero wrote:
> Hello Peter,
>
>
> As stated in the documentation, the ABS areas "automatically invokes
> OVR" (Page 1-27, .area Directive), so (ABS) or (ABS,OVR) have the same
> effect, indeed I've tried what you suggested resulting in the s
Hello Peter,
As stated in the documentation, the ABS areas "automatically invokes
OVR" (Page 1-27, .area Directive), so (ABS) or (ABS,OVR) have the same
effect, indeed I've tried what you suggested resulting in the same behavior.
I think I've managed to workaround this issue in my case. I don
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
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
ldSP, #0x
call
> Hello SDCC users,
>
>
> I'm doing a project with the famous Z80 just for fun, and decided to use
> the sdasz80 assembler. My project consists of multiple source files to
> keep everything modular. I'm having a problem with the linking step.
> I've 2 source files: boot.asm and numconv.asm:
>
>
> ;
Hello SDCC users,
I'm doing a project with the famous Z80 just for fun, and decided to use
the sdasz80 assembler. My project consists of multiple source files to
keep everything modular. I'm having a problem with the linking step.
I've 2 source files: boot.asm and numconv.asm:
; boot.asm:
.g