ok - found some time today.
This worked for me. edit your .cfg file to this:
Code:
MEMORY {
ZP: start = $0, size = $100, type = rw, define = yes;
RAM: start = $0200, size = $7F00, define = yes;
ROM: start = $C000, size = $4000, fill = yes;
}
SEGMENTS {
ZEROPAGE: load = ZP, type = zp, define = yes;
STARTUP: load = ROM, type = ro, define = yes;
INIT: load = ROM, type = ro, define = yes;
CODE: load = ROM, type = ro, define = yes;
DATA: load = ROM, type = rw, define = yes;
BSS: load = RAM, type = bss, define = yes;
}
FEATURES {
CONDES: segment = STARTUP,
type = constructor,
label = __CONSTRUCTOR_TABLE__,
count = __CONSTRUCTOR_COUNT__;
CONDES: segment = STARTUP,
type = destructor,
label = __DESTRUCTOR_TABLE__,
count = __DESTRUCTOR_COUNT__;
}
I added the
Code:
, define = yes
to the lines that were unresolved.
Give that a try.
Daryl
That seems to have fixed my compilation issues! Thank you very much for the help you've given me, it's been awesome!