Add an additional file = "" to memory areas that contain only bss or zp type

segments and aren't written to the output file. Before that, the "not going to
output file" was implicit because of the bss type of the segments contained.
The new attribute makes this explicit.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4853 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2010-11-12 19:59:02 +00:00
parent de14990fbb
commit c797be4767
29 changed files with 70 additions and 70 deletions

View File

@@ -2,35 +2,35 @@ SYMBOLS {
__STACKSIZE__: type = weak, value = $0300; # 3 pages stack
}
MEMORY {
ZP: start = $0002, size = $001A, type = rw, define = yes;
ZP: file = "", start = $0002, size = $001A, type = rw, define = yes;
# INES Cartridge Header
HEADER: start = $0000, size = $0010, file = %O, fill = yes;
HEADER: file = %O, start = $0000, size = $0010, fill = yes;
# 2 16K ROM Banks
# - startup
# - code
# - rodata
# - data (load)
ROM0: start = $8000, size = $7FF4, file = %O, fill = yes, define = yes;
ROM0: file = %O, start = $8000, size = $7FF4, fill = yes, define = yes;
# Hardware Vectors at End of 2nd 8K ROM
ROMV: start = $FFF6, size = $000C, file = %O, fill = yes;
ROMV: file = %O, start = $FFF6, size = $000C, fill = yes;
# 1 8k CHR Bank
ROM2: start = $0000, size = $2000, file = %O, fill = yes;
ROM2: file = %O, start = $0000, size = $2000, fill = yes;
# standard 2k SRAM (-zeropage)
# $0100-$0200 cpu stack
# $0200-$0500 3 pages for ppu memory write buffer
# $0500-$0800 3 pages for cc65 parameter stack
SRAM: start = $0500, size = __STACKSIZE__, define = yes;
SRAM: file = "", start = $0500, size = __STACKSIZE__, define = yes;
# additional 8K SRAM Bank
# - data (run)
# - bss
# - heap
RAM: start = $6000, size = $2000, define = yes;
RAM: file = "", start = $6000, size = $2000, define = yes;
}
SEGMENTS {
HEADER: load = HEADER, type = ro;