mirror of
https://github.com/cc65/cc65.git
synced 2025-01-01 03:30:20 +00:00
Merge pull request #76 from groessler/something_to_pull
add some missing segments to *-asm.cfg files
This commit is contained in:
commit
83fcefa0af
@ -8,10 +8,12 @@ SYMBOLS {
|
|||||||
__LOADSIZE__: type = weak, value = __BSS_RUN__ - __CODE_RUN__;
|
__LOADSIZE__: type = weak, value = __BSS_RUN__ - __CODE_RUN__;
|
||||||
}
|
}
|
||||||
MEMORY {
|
MEMORY {
|
||||||
|
ZP: start = $0080, size = $001A, define = yes;
|
||||||
HEADER: file = %O, start = $0000, size = $0004;
|
HEADER: file = %O, start = $0000, size = $0004;
|
||||||
RAM: file = %O, start = %S, size = $C000 - %S;
|
RAM: file = %O, start = %S, size = $C000 - %S;
|
||||||
}
|
}
|
||||||
SEGMENTS {
|
SEGMENTS {
|
||||||
|
ZEROPAGE: load = ZP, type = zp, optional = yes;
|
||||||
EXEHDR: load = HEADER, type = ro, optional = yes;
|
EXEHDR: load = HEADER, type = ro, optional = yes;
|
||||||
CODE: load = RAM, type = rw, optional = yes, define = yes;
|
CODE: load = RAM, type = rw, optional = yes, define = yes;
|
||||||
RODATA: load = RAM, type = ro, optional = yes;
|
RODATA: load = RAM, type = ro, optional = yes;
|
||||||
|
@ -25,5 +25,6 @@ SEGMENTS {
|
|||||||
DATA: load = RAM, type = rw optional = yes;
|
DATA: load = RAM, type = rw optional = yes;
|
||||||
BSS: load = RAM, type = bss, define = yes, optional = yes;
|
BSS: load = RAM, type = bss, define = yes, optional = yes;
|
||||||
ZEROPAGE: load = ZP, type = zp, optional = yes;
|
ZEROPAGE: load = ZP, type = zp, optional = yes;
|
||||||
|
EXTZP: load = ZP, type = zp, optional = yes; # to enable modules to be able to link to C and assembler programs
|
||||||
AUTOSTRT: load = TRAILER, type = ro, optional = yes;
|
AUTOSTRT: load = TRAILER, type = ro, optional = yes;
|
||||||
}
|
}
|
||||||
|
@ -5,6 +5,7 @@ SYMBOLS {
|
|||||||
__LOADADDR__: type = import;
|
__LOADADDR__: type = import;
|
||||||
}
|
}
|
||||||
MEMORY {
|
MEMORY {
|
||||||
|
ZP: file = "", start = $0002, size = $001A, define = yes;
|
||||||
LOADADDR: file = %O, start = %S - 2, size = $0002;
|
LOADADDR: file = %O, start = %S - 2, size = $0002;
|
||||||
RAM: file = %O, start = %S, size = $D000 - %S;
|
RAM: file = %O, start = %S, size = $D000 - %S;
|
||||||
}
|
}
|
||||||
@ -15,4 +16,5 @@ SEGMENTS {
|
|||||||
RODATA: load = RAM, type = ro, optional = yes;
|
RODATA: load = RAM, type = ro, optional = yes;
|
||||||
DATA: load = RAM, type = rw, optional = yes;
|
DATA: load = RAM, type = rw, optional = yes;
|
||||||
BSS: load = RAM, type = bss, optional = yes;
|
BSS: load = RAM, type = bss, optional = yes;
|
||||||
|
ZEROPAGE: load = ZP, type = zp, optional = yes;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user