hgr: missing linker script

This commit is contained in:
Vince Weaver 2020-12-08 10:18:27 -05:00
parent 42221c9a1f
commit 3a7b77c3c3
1 changed files with 12 additions and 0 deletions

12
hgr/apple2_custom.inc Normal file
View File

@ -0,0 +1,12 @@
MEMORY {
ZP: start = $00, size = $1A, type = rw;
RAM: start = $3F5, size = $8E00, file = %O;
}
SEGMENTS {
CODE: load = RAM, type = ro, align = $1;
RODATA: load = RAM, type = ro;
DATA: load = RAM, type = rw;
BSS: load = RAM, type = bss, define = yes;
ZEROPAGE: load = ZP, type = zp;
}