1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-12-24 20:32:39 +00:00

Added VS.Code CC65 task.

This commit is contained in:
jespergravgaard 2020-06-16 23:40:22 +02:00
parent 83480c69dc
commit 4bf19bdbec
2 changed files with 17 additions and 0 deletions

9
src/test/kc/.vscode/cc65-x64sc.sh vendored Executable file
View 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

View File

@ -44,6 +44,14 @@
"command": ".vscode/kickass-nes.sh",
"args": [ "${file}" ]
},
{
"label": "CC65 Build & Run (C64)",
"group": "build",
"type": "process",
"problemMatcher": [],
"command": ".vscode/cc65-x64sc.sh",
"args": [ "${file}" ]
},
{
"label": "KickAsm Build & Debug (C64)",
"type": "shell",