mirror of
https://github.com/cc65/cc65.git
synced 2025-01-03 16:33:19 +00:00
VIC-20 and C128 cfg added for ASM programming
This commit is contained in:
parent
1918f0ac9b
commit
a7e6f9840c
20
cfg/c128-asm.cfg
Normal file
20
cfg/c128-asm.cfg
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
FEATURES {
|
||||||
|
STARTADDRESS: default = $1c01;
|
||||||
|
}
|
||||||
|
SYMBOLS {
|
||||||
|
__LOADADDR__: type = import;
|
||||||
|
}
|
||||||
|
MEMORY {
|
||||||
|
ZP: file = "", start = $0002, size = $00FE, define = yes;
|
||||||
|
LOADADDR: file = %O, start = %S - 2, size = $0002;
|
||||||
|
MAIN: file = %O, start = %S, size = $D000 - %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 = rw;
|
||||||
|
RODATA: load = MAIN, type = ro, optional = yes;
|
||||||
|
DATA: load = MAIN, type = rw, optional = yes;
|
||||||
|
BSS: load = MAIN, type = bss, optional = yes, define = yes;
|
||||||
|
}
|
19
cfg/vic20-asm.cfg
Normal file
19
cfg/vic20-asm.cfg
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
FEATURES {
|
||||||
|
STARTADDRESS: default = $1001;
|
||||||
|
}
|
||||||
|
SYMBOLS {
|
||||||
|
__LOADADDR__: type = import;
|
||||||
|
}
|
||||||
|
MEMORY {
|
||||||
|
ZP: file = "", start = $0002, size = $001A, define = yes;
|
||||||
|
LOADADDR: file = %O, start = $1001, size = $0002;
|
||||||
|
MAIN: file = %O, start = %S, size = $0DF3 - %S;
|
||||||
|
}
|
||||||
|
SEGMENTS {
|
||||||
|
ZEROPAGE: load = ZP, type = zp, optional = yes;
|
||||||
|
LOADADDR: load = LOADADDR, type = ro;
|
||||||
|
CODE: load = MAIN, type = ro;
|
||||||
|
RODATA: load = MAIN, type = ro;
|
||||||
|
DATA: load = MAIN, type = rw;
|
||||||
|
BSS: load = MAIN, type = bss, optional = yes, define = yes;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user