From 3a7b77c3c38cea5a0522b8cb30bc3e5cdc48e564 Mon Sep 17 00:00:00 2001 From: Vince Weaver Date: Tue, 8 Dec 2020 10:18:27 -0500 Subject: [PATCH] hgr: missing linker script --- hgr/apple2_custom.inc | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 hgr/apple2_custom.inc diff --git a/hgr/apple2_custom.inc b/hgr/apple2_custom.inc new file mode 100644 index 00000000..76142a72 --- /dev/null +++ b/hgr/apple2_custom.inc @@ -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; +}