aboutsummaryrefslogtreecommitdiff
path: root/scripts/config.mk
diff options
context:
space:
mode:
authorThomas Albers Raviola <thomas@thomaslabs.org>2025-02-13 01:48:01 +0100
committerThomas Albers Raviola <thomas@thomaslabs.org>2025-02-13 01:48:01 +0100
commit70af8cae86d75b4b02e9f7bd7d3614262bc5eb16 (patch)
tree831401e72b02956863e31e6663aa9ab3b9b66eac /scripts/config.mk
parent13c0217bf19a2ddfb24b673455f6d362a46ebf7b (diff)
Linearize MakefilesHEADmaster
Diffstat (limited to 'scripts/config.mk')
-rw-r--r--scripts/config.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/scripts/config.mk b/scripts/config.mk
new file mode 100644
index 0000000..62cd377
--- /dev/null
+++ b/scripts/config.mk
@@ -0,0 +1,21 @@
+AS = sdasz80
+CC = sdcc
+CPP = sdcpp
+
+# Extra LDFLAGS
+BOOT_LDFLAGS =\
+ --code-loc 0x0120\
+ --data-loc 0xC000\
+ -Wl-b_GSINIT=0x0090
+
+PAYLOAD_LDFLAGS =\
+ --code-loc 0x8100\
+ --data-loc 0xC000\
+ -Wl-b_GSINIT=0x8090
+
+SYSTEM_LDFLAGS =\
+ --code-loc 0x8100\
+ --data-loc 0xC000\
+ -Wl-b_GSINIT=0x8080
+
+ROM_CHIP = AT28C256