mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-11-23 08:32:39 +00:00
Added Commander X16 Platform Target and example program. #581
This commit is contained in:
parent
2f695a3724
commit
0af602beb5
10
src/main/kc/target/cx16.ld
Normal file
10
src/main/kc/target/cx16.ld
Normal file
@ -0,0 +1,10 @@
|
||||
// Commodore 64 PRG executable file
|
||||
.file [name="%O", type="prg", segments="Program"]
|
||||
.segmentdef Program [segments="Basic, Code, Data"]
|
||||
.segmentdef Basic [start=$0801]
|
||||
.segmentdef Code [start=%P]
|
||||
.segmentdef Data [startAfter="Code"]
|
||||
.segment Basic
|
||||
:BasicUpstart(%E)
|
||||
.segment Code
|
||||
|
11
src/main/kc/target/cx16.tgt
Normal file
11
src/main/kc/target/cx16.tgt
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "Commander X16 PRG executable file.",
|
||||
"extension": "prg",
|
||||
"link": "cx16.ld",
|
||||
"start_address": "0x080d",
|
||||
"cpu": "WDC65C02",
|
||||
"emulator": "x16emu -debug -run -prg",
|
||||
"defines": {
|
||||
"__CX16__": 1
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user