mirror of
https://github.com/fadden/6502bench.git
synced 2024-11-30 01:50:10 +00:00
17f0faa845
The system configuration you get with "-t none" works for smaller files but fails for larger ones. This updates the generator to produce a source file and linker script pair. (I kinda saw this one coming -- it's why the gen/asm dialog has a combo box for the file preview -- so it didn't require that much work.) This currently generates a fixed script for a generic system with 64KiB of RAM, using .ORGs to set the addresses as before. With this change, assembling a file with 65536 NOPs succeeds. (issue #39)
10 lines
191 B
INI
10 lines
191 B
INI
# 6502bench SourceGen generated linker script for 2010-target-adjustment
|
|
MEMORY {
|
|
MAIN: file=%O, start=%S, size=65536;
|
|
}
|
|
SEGMENTS {
|
|
CODE: load=MAIN, type=rw;
|
|
}
|
|
FEATURES {}
|
|
SYMBOLS {}
|