This allows to remove the "add empty EXTZP segement to avoid warnings"
approach.
DATA: load = COMBINED, type = rw, define = yes;
BSS: load = COMBINED, type = bss, define = yes;
ZEROPAGE: load = ZP, type = zp;
- EXTZP: load = ZP, type = zp;
+ EXTZP: load = ZP, type = zp, optional = yes;
}
FILES {
%O: format = o65;
tmp3: .res 1
tmp4: .res 1
regbank: .res regbanksize ; Register bank
-
-; Add an empty EXTZP zeropage segment to avoid linker warnings that this
-; segment does not exist (it does not exist in most builtin linker configs
-; but is used when linking modules).
-
-.segment "EXTZP" : zeropage
-