diff options
author | Thomas Albers Raviola <thomas@thomaslabs.org> | 2025-02-13 01:48:01 +0100 |
---|---|---|
committer | Thomas Albers Raviola <thomas@thomaslabs.org> | 2025-02-13 01:48:01 +0100 |
commit | 70af8cae86d75b4b02e9f7bd7d3614262bc5eb16 (patch) | |
tree | 831401e72b02956863e31e6663aa9ab3b9b66eac /scripts/config.mk | |
parent | 13c0217bf19a2ddfb24b673455f6d362a46ebf7b (diff) |
Diffstat (limited to 'scripts/config.mk')
-rw-r--r-- | scripts/config.mk | 21 |
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 |