;
.export __EXEHDR__ : absolute = 1 ; Linker referenced
- .import __RAM_START__, __ZPSAVE_RUN__ ; Linker generated
- .import __MOVE_START__, __MOVE_LAST__ ; Linker generated
-
- .linecont +
+ .import __LOADADDR__, __LOADSIZE__ ; Linker generated
; ------------------------------------------------------------------------
.segment "EXEHDR"
- .addr __RAM_START__ ; Start address
- .word __ZPSAVE_RUN__ - __RAM_START__ + \
- __MOVE_LAST__ - __MOVE_START__ ; Size
+ .addr __LOADADDR__ ; Load address
+ .word __LOADSIZE__ ; Load length
SYMBOLS {
__EXEHDR__: type = import;
__STACKSIZE__: type = weak, value = $0800; # 2k stack
+ __LOADADDR__: type = weak, value = __RAM_START__;
+ __LOADSIZE__: type = weak, value = __ZPSAVE_RUN__ - __RAM_START__ +
+ __MOVE_LAST__ - __MOVE_START__;
}
MEMORY {
ZP: file = "", define = yes, start = $0080, size = $001A;
SYMBOLS {
__EXEHDR__: type = import;
__STACKSIZE__: type = weak, value = $0800; # 2k stack
+ __LOADADDR__: type = weak, value = __RAM_START__;
+ __LOADSIZE__: type = weak, value = __ZPSAVE_RUN__ - __RAM_START__ +
+ __MOVE_LAST__ - __MOVE_START__;
}
MEMORY {
ZP: file = "", define = yes, start = $0080, size = $001A;
SYMBOLS {
__EXEHDR__: type = import;
__STACKSIZE__: type = weak, value = $0800; # 2k stack
+ __LOADADDR__: type = weak, value = __RAM_START__;
+ __LOADSIZE__: type = weak, value = __ZPSAVE_RUN__ - __RAM_START__ +
+ __MOVE_LAST__ - __MOVE_START__;
}
MEMORY {
ZP: file = "", define = yes, start = $0080, size = $001A;
SYMBOLS {
__EXEHDR__: type = import;
__STACKSIZE__: type = weak, value = $0800; # 2k stack
+ __LOADADDR__: type = weak, value = __RAM_START__;
+ __LOADSIZE__: type = weak, value = __ZPSAVE_RUN__ - __RAM_START__ +
+ __MOVE_LAST__ - __MOVE_START__;
}
MEMORY {
ZP: file = "", define = yes, start = $0080, size = $001A;
SYMBOLS {
__EXEHDR__: type = import;
__STACKSIZE__: type = weak, value = $0800; # 2k stack
+ __LOADADDR__: type = weak, value = __RAM_START__;
+ __LOADSIZE__: type = weak, value = __ZPSAVE_RUN__ - __RAM_START__ +
+ __MOVE_LAST__ - __MOVE_START__;
}
MEMORY {
ZP: file = "", define = yes, start = $0080, size = $001A;
SYMBOLS {
__EXEHDR__: type = import;
__STACKSIZE__: type = weak, value = $0800; # 2k stack
+ __LOADADDR__: type = weak, value = __RAM_START__;
+ __LOADSIZE__: type = weak, value = __ZPSAVE_RUN__ - __RAM_START__ +
+ __MOVE_LAST__ - __MOVE_START__;
}
MEMORY {
ZP: file = "", define = yes, start = $0080, size = $001A;
SYMBOLS {
__EXEHDR__: type = import;
__STACKSIZE__: type = weak, value = $0800; # 2k stack
+ __LOADADDR__: type = weak, value = __RAM_START__;
+ __LOADSIZE__: type = weak, value = __ZPSAVE_RUN__ - __RAM_START__ +
+ __MOVE_LAST__ - __MOVE_START__;
}
MEMORY {
ZP: file = "", define = yes, start = $0080, size = $001A;
SYMBOLS {
__EXEHDR__: type = import;
__STACKSIZE__: type = weak, value = $0800; # 2k stack
+ __LOADADDR__: type = weak, value = __RAM_START__;
+ __LOADSIZE__: type = weak, value = __ZPSAVE_RUN__ - __RAM_START__ +
+ __MOVE_LAST__ - __MOVE_START__;
}
MEMORY {
ZP: file = "", define = yes, start = $0080, size = $001A;
SYMBOLS {
__EXEHDR__: type = import;
__STACKSIZE__: type = weak, value = $0800; # 2k stack
+ __LOADADDR__: type = weak, value = __RAM_START__;
+ __LOADSIZE__: type = weak, value = __ZPSAVE_RUN__ - __RAM_START__ +
+ __MOVE_LAST__ - __MOVE_START__;
}
MEMORY {
ZP: file = "", define = yes, start = $0080, size = $001A;
SYMBOLS {
__EXEHDR__: type = import;
__STACKSIZE__: type = weak, value = $0800; # 2k stack
+ __LOADADDR__: type = weak, value = __RAM_START__;
+ __LOADSIZE__: type = weak, value = __ZPSAVE_RUN__ - __RAM_START__ +
+ __MOVE_LAST__ - __MOVE_START__;
}
MEMORY {
ZP: file = "", define = yes, start = $0080, size = $001A;