mirror of
https://github.com/cc65/cc65.git
synced 2025-01-14 00:32:08 +00:00
Merge pull request #2450 from ops/plus4-c16-asm
Add asm config for C16 and Plus/4
This commit is contained in:
commit
db178e55fe
20
cfg/c16-asm.cfg
Normal file
20
cfg/c16-asm.cfg
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
FEATURES {
|
||||||
|
STARTADDRESS: default = $1001;
|
||||||
|
}
|
||||||
|
SYMBOLS {
|
||||||
|
__LOADADDR__: type = import;
|
||||||
|
}
|
||||||
|
MEMORY {
|
||||||
|
ZP: file = "", start = $0002, size = $001A;
|
||||||
|
LOADADDR: file = %O, start = %S - 2, size = $0002;
|
||||||
|
MAIN: file = %O, start = %S, size = $3000 - %S;
|
||||||
|
}
|
||||||
|
SEGMENTS {
|
||||||
|
ZEROPAGE: load = ZP, type = zp, optional = yes;
|
||||||
|
LOADADDR: load = LOADADDR, type = ro;
|
||||||
|
EXEHDR: load = MAIN, type = ro, optional = yes;
|
||||||
|
CODE: load = MAIN, type = ro;
|
||||||
|
RODATA: load = MAIN, type = ro, optional = yes;
|
||||||
|
DATA: load = MAIN, type = rw, optional = yes;
|
||||||
|
BSS: load = MAIN, type = bss, define = yes;
|
||||||
|
}
|
20
cfg/plus4-asm.cfg
Normal file
20
cfg/plus4-asm.cfg
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
FEATURES {
|
||||||
|
STARTADDRESS: default = $1001;
|
||||||
|
}
|
||||||
|
SYMBOLS {
|
||||||
|
__LOADADDR__: type = import;
|
||||||
|
}
|
||||||
|
MEMORY {
|
||||||
|
ZP: file = "", start = $0002, size = $001A;
|
||||||
|
LOADADDR: file = %O, start = %S - 2, size = $0002;
|
||||||
|
MAIN: file = %O, start = %S, size = $FD00 - %S;
|
||||||
|
}
|
||||||
|
SEGMENTS {
|
||||||
|
ZEROPAGE: load = ZP, type = zp, optional = yes;
|
||||||
|
LOADADDR: load = LOADADDR, type = ro;
|
||||||
|
EXEHDR: load = MAIN, type = ro, optional = yes;
|
||||||
|
CODE: load = MAIN, type = ro;
|
||||||
|
RODATA: load = MAIN, type = ro, optional = yes;
|
||||||
|
DATA: load = MAIN, type = rw, optional = yes;
|
||||||
|
BSS: load = MAIN, type = bss, define = yes;
|
||||||
|
}
|
@ -103,10 +103,11 @@ EXELIST_cbm610 = \
|
|||||||
nachtm
|
nachtm
|
||||||
|
|
||||||
EXELIST_plus4 = \
|
EXELIST_plus4 = \
|
||||||
plasma
|
plasma \
|
||||||
|
hello
|
||||||
|
|
||||||
EXELIST_c16 = \
|
EXELIST_c16 = \
|
||||||
notavailable
|
hello
|
||||||
|
|
||||||
EXELIST_pet = \
|
EXELIST_pet = \
|
||||||
notavailable
|
notavailable
|
||||||
|
Loading…
x
Reference in New Issue
Block a user