mirror of
https://github.com/daniel5151/ANESE.git
synced 2025-04-02 10:32:00 -04:00
31 lines
1 KiB
INI
Vendored
31 lines
1 KiB
INI
Vendored
#
|
|
# Linker script for NROM-128 games
|
|
# Copyright 2010-2014 Damian Yerrick
|
|
#
|
|
# Copying and distribution of this file, with or without
|
|
# modification, are permitted in any medium without royalty
|
|
# provided the copyright notice and this notice are preserved.
|
|
# This file is offered as-is, without any warranty.
|
|
#
|
|
MEMORY {
|
|
ZP: start = $10, size = $f0, type = rw;
|
|
# use first $10 zeropage locations as locals
|
|
HEADER: start = 0, size = $0010, type = ro, file = %O, fill=yes, fillval=$00;
|
|
RAM: start = $0300, size = $0500, type = rw;
|
|
ROM7: start = $C000, size = $4000, type = ro, file = %O, fill=yes, fillval=$FF;
|
|
}
|
|
|
|
SEGMENTS {
|
|
INESHDR: load = HEADER, type = ro, align = $10;
|
|
ZEROPAGE: load = ZP, type = zp;
|
|
BSS: load = RAM, type = bss, define = yes, align = $100;
|
|
DMC: load = ROM7, type = ro, align = 64, optional = yes;
|
|
CODE: load = ROM7, type = ro, align = $100;
|
|
RODATA: load = ROM7, type = ro, align = $100;
|
|
VECTORS: load = ROM7, type = ro, start = $FFFA;
|
|
}
|
|
|
|
FILES {
|
|
%O: format = bin;
|
|
}
|
|
|