mirror of
https://github.com/fadden/6502bench.git
synced 2024-09-17 14:54:50 +00:00
cd23580cc5
Sometimes there's a bunch of junk in the binary that isn't used for anything. Often it's there to make things line up at the start of a page boundary. This adds a ".junk" directive that tells the disassembler that it can safely disregard the contents of a region. If the region ends on a power-of-two boundary, an alignment value can be specified. The assembly source generators will output an alignment directive when possible, a .fill directive when appropriate, and a .dense directive when all else fails. Because we're required to regenerate the original data file, it's not always possible to avoid generating a hex dump.
12 lines
268 B
INI
12 lines
268 B
INI
# 6502bench SourceGen generated linker script for 2004-numeric-types
|
|
MEMORY {
|
|
MAIN: file=%O, start=%S, size=65536;
|
|
# MEM000: file=%O, start=$1000, size=1024;
|
|
}
|
|
SEGMENTS {
|
|
CODE: load=MAIN, type=rw;
|
|
# SEG000: load=MEM000, type=rw;
|
|
}
|
|
FEATURES {}
|
|
SYMBOLS {}
|