Remove the EXEHDR from the default build
This commit is contained in:
parent
21c093476f
commit
52d7991b9b
1 changed files with 5 additions and 8 deletions
|
@ -1,13 +1,10 @@
|
||||||
# Atari VCS 7800 linker configuration file for cc65
|
# Atari VCS 7800 linker configuration file for cc65
|
||||||
# This cfg file adds the a78 header in front of the image
|
# In order to add the a78 header to the build you can add
|
||||||
# If you want just the ROM you can mark the __EXEHDR__ as weak instead of import
|
# "--force-import __EXEHDR__" to the command line
|
||||||
# But for the most common use we add the a78 automatically as it
|
|
||||||
# contains info about what kind of cart the build supports
|
|
||||||
|
|
||||||
SYMBOLS {
|
SYMBOLS {
|
||||||
__STACKSIZE__: type = weak, value = $0600; # C stack
|
__STACKSIZE__: type = weak, value = $0600; # C stack
|
||||||
__CARTSIZE__: type = weak, value = $c000;
|
__CARTSIZE__: type = weak, value = $c000;
|
||||||
__EXEHDR__: type = import;
|
|
||||||
__VEC_BOTTOM__: value = $fffa, type = export;
|
__VEC_BOTTOM__: value = $fffa, type = export;
|
||||||
__VEC_SIZE__: value = $6, type = export;
|
__VEC_SIZE__: value = $6, type = export;
|
||||||
__ENCRYPT_BOTTOM__: value = $ff7a, type = export;
|
__ENCRYPT_BOTTOM__: value = $ff7a, type = export;
|
||||||
|
@ -42,9 +39,9 @@ MEMORY {
|
||||||
|
|
||||||
SEGMENTS {
|
SEGMENTS {
|
||||||
ZEROPAGE: load = ZP, type = zp;
|
ZEROPAGE: load = ZP, type = zp;
|
||||||
EXEHDR: load = HEADER, type = ro;
|
EXEHDR: load = HEADER, type = ro, optional = yes;
|
||||||
STARTUP: load = ROMS, type = ro, define = yes;
|
STARTUP: load = ROMS, type = ro, define = yes;
|
||||||
ONCE: load = ROMS, type = ro, define = yes;
|
ONCE: load = ROMS, type = ro, define = yes;
|
||||||
CODE: load = ROM, type = ro, define = yes;
|
CODE: load = ROM, type = ro, define = yes;
|
||||||
RODATA: load = ROM, type = ro, define = yes, align = 256;
|
RODATA: load = ROM, type = ro, define = yes, align = 256;
|
||||||
DATA: load = ROM, run = RAM1, type = rw, define = yes;
|
DATA: load = ROM, run = RAM1, type = rw, define = yes;
|
||||||
|
|
Loading…
Add table
Reference in a new issue