]> git.sur5r.net Git - cc65/blobdiff - src/ld65/cfg/lunix.cfg
Added/completed/debugged o65 support for Lunix
[cc65] / src / ld65 / cfg / lunix.cfg
index 59b2db2d7269f656b6a0b8cd5a1fc4a35f4deeb4..b66e319880628dee91caed0687293b73a7c893d9 100644 (file)
@@ -1,13 +1,12 @@
 MEMORY {
     COMBINED: start = $0000, size = $FFFF, file = %O;
-    ZEROPAGE: start = $0000, size = $0100, 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;
-    ZEROPAGE: load = ZEROPAGE, type = zp;
 }
 FEATURES {
     CONDES: segment = RODATA,
@@ -23,7 +22,7 @@ FILES {
     %O: format = o65;
 }
 FORMATS {
-    o65: os = lunix, type = small, extsym = "LUNIXKERNAL", extsym = "LIB6502";
+    o65: os = lunix, type = small, import = LUNIXKERNAL, import = LIB6502;
 }
 SYMBOLS {
     __STACKSIZE__ = $800;      # 2K stack