]> git.sur5r.net Git - cc65/commitdiff
Added configuration for cc65 modules
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 25 Apr 2002 05:07:12 +0000 (05:07 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 25 Apr 2002 05:07:12 +0000 (05:07 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1261 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/ld65/cfg/module.cfg [new file with mode: 0644]

diff --git a/src/ld65/cfg/module.cfg b/src/ld65/cfg/module.cfg
new file mode 100644 (file)
index 0000000..f6640f4
--- /dev/null
@@ -0,0 +1,18 @@
+MEMORY {
+    COMBINED: start = $0000, size = $FFFF, file = %O;
+}
+SEGMENTS {
+    ZEROPAGE: load = COMBINED, type = zp;
+    CODE: load = COMBINED, type = wprot;
+    RODATA: load = COMBINED, type = wprot;
+    DATA: load = COMBINED, type = rw, define = yes;
+    BSS: load = COMBINED, type = bss, define = yes;
+}
+FILES {
+    %O: format = o65;
+}
+FORMATS {
+    o65: os = cc65, type = small;
+}
+
+