mirror of
https://gitlab.com/camelot/kickc.git
synced 2025-01-12 11:31:11 +00:00
Added VS.Code CC65 task.
This commit is contained in:
parent
83480c69dc
commit
4bf19bdbec
9
src/test/kc/.vscode/cc65-x64sc.sh
vendored
Executable file
9
src/test/kc/.vscode/cc65-x64sc.sh
vendored
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
export C_FILE=$1
|
||||||
|
export ASM_FILE=${C_FILE%.*}.s
|
||||||
|
export O_FILE=${C_FILE%.*}.o
|
||||||
|
export PRG_FILE=${C_FILE%.*}.prg
|
||||||
|
cc65 -t c64 -O -o $ASM_FILE $C_FILE
|
||||||
|
ca65 -t c64 -o $O_FILE $ASM_FILE
|
||||||
|
ld65 -t c64 -o $PRG_FILE $O_FILE c64.lib
|
||||||
|
x64sc $PRG_FILE
|
8
src/test/kc/.vscode/tasks.json
vendored
8
src/test/kc/.vscode/tasks.json
vendored
@ -44,6 +44,14 @@
|
|||||||
"command": ".vscode/kickass-nes.sh",
|
"command": ".vscode/kickass-nes.sh",
|
||||||
"args": [ "${file}" ]
|
"args": [ "${file}" ]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"label": "CC65 Build & Run (C64)",
|
||||||
|
"group": "build",
|
||||||
|
"type": "process",
|
||||||
|
"problemMatcher": [],
|
||||||
|
"command": ".vscode/cc65-x64sc.sh",
|
||||||
|
"args": [ "${file}" ]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"label": "KickAsm Build & Debug (C64)",
|
"label": "KickAsm Build & Debug (C64)",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user