diff --git a/.gitignore b/.gitignore index ccd9d4ca2..47ba5647f 100644 --- a/.gitignore +++ b/.gitignore @@ -5,5 +5,5 @@ */*.sym */bin/ */workspace.xml -target/ +./target/ **/.DS_Store diff --git a/src/main/kc/target/asm6502.ld b/src/main/kc/target/asm6502.ld new file mode 100644 index 000000000..f3c5a32f9 --- /dev/null +++ b/src/main/kc/target/asm6502.ld @@ -0,0 +1 @@ +.pc = %P "Program" \ No newline at end of file diff --git a/src/main/kc/target/asm6502.tgt b/src/main/kc/target/asm6502.tgt new file mode 100644 index 000000000..61fb946d6 --- /dev/null +++ b/src/main/kc/target/asm6502.tgt @@ -0,0 +1,8 @@ +{ + "link": "asm6502.ld", + "cpu": "MOS6502X", + "emulator": "x64sc" +} + + + diff --git a/src/main/kc/target/c64.ld b/src/main/kc/target/c64.ld new file mode 100644 index 000000000..a66015cac --- /dev/null +++ b/src/main/kc/target/c64.ld @@ -0,0 +1,9 @@ +.file [name="%O.prg", type="prg", segments="Program"] +.segmentdef Program [segments="Basic, Code, Data"] +.segmentdef Basic [start=$0801] +.segmentdef Code [start=$080d] +.segmentdef Data [startAfter="Code"] +.segment Basic +:BasicUpstart(%E) +.segment Code + diff --git a/src/main/kc/target/c64.tgt b/src/main/kc/target/c64.tgt new file mode 100644 index 000000000..63fa55fdd --- /dev/null +++ b/src/main/kc/target/c64.tgt @@ -0,0 +1,5 @@ +{ + "link": "c64.ld", + "cpu": "MOS6502X", + "emulator": "x64sc" +} \ No newline at end of file diff --git a/src/main/kc/target/c64basic.ld b/src/main/kc/target/c64basic.ld new file mode 100644 index 000000000..797225642 --- /dev/null +++ b/src/main/kc/target/c64basic.ld @@ -0,0 +1,3 @@ +.pc = $801 "Basic" +:BasicUpstart(%E) +.pc = %P "Program" \ No newline at end of file diff --git a/src/main/kc/target/c64basic.tgt b/src/main/kc/target/c64basic.tgt new file mode 100644 index 000000000..e09c5d86c --- /dev/null +++ b/src/main/kc/target/c64basic.tgt @@ -0,0 +1,5 @@ +{ + "link": "c64basic.ld", + "cpu": "MOS6502X", + "emulator": "x64sc" +} \ No newline at end of file diff --git a/src/main/kc/target/plus4.ld b/src/main/kc/target/plus4.ld new file mode 100644 index 000000000..cd18c7d93 --- /dev/null +++ b/src/main/kc/target/plus4.ld @@ -0,0 +1,9 @@ +.file [name="%O.prg", type="prg", segments="Program"] +.segmentdef Program [segments="Basic, Code, Data"] +.segmentdef Basic [start=$1001] +.segmentdef Code [start=$100d] +.segmentdef Data [startAfter="Code"] +.segment Basic +:BasicUpstart(%E) +.segment Code + diff --git a/src/main/kc/target/plus4.tgt b/src/main/kc/target/plus4.tgt new file mode 100644 index 000000000..8c07e113e --- /dev/null +++ b/src/main/kc/target/plus4.tgt @@ -0,0 +1,5 @@ +{ + "link": "plus4.ld", + "cpu": "MOS6502X", + "emulator": "xplus4" +} \ No newline at end of file diff --git a/src/main/kc/target/plus4basic.ld b/src/main/kc/target/plus4basic.ld new file mode 100644 index 000000000..3973b66fb --- /dev/null +++ b/src/main/kc/target/plus4basic.ld @@ -0,0 +1,3 @@ +.pc = $1001 "Basic" +:BasicUpstart(%E) +.pc = $100d "Program" diff --git a/src/main/kc/target/plus4basic.tgt b/src/main/kc/target/plus4basic.tgt new file mode 100644 index 000000000..746abd8b5 --- /dev/null +++ b/src/main/kc/target/plus4basic.tgt @@ -0,0 +1,5 @@ +{ + "link": "plus4basic.ld", + "cpu": "MOS6502X", + "emulator": "xplus4" +} \ No newline at end of file