Compare commits

..

No commits in common. "20fc7f6bde80109a691e72f111fc0ebdab92c44b" and "2cc5be0297dc737986c8dbb31dd4e9b7f8c7112e" have entirely different histories.

4 changed files with 19 additions and 4 deletions

17
cm.sh
View file

@ -2,5 +2,20 @@
# Define filename as variable # Define filename as variable
PROGNAME="cardgame" PROGNAME="cardgame"
# Only set C65LIBPATH if not already defined
if [ -z "$C65LIBPATH" ]; then
export C65LIBPATH=$(readlink -f "../../lib")
fi
# Compile # Compile
c65gm ${PROGNAME}.c65 c65gm -in ${PROGNAME}.c65 -out ${PROGNAME}.s
#c65cm in:${PROGNAME}.c65 out:${PROGNAME}.s hidelicense
echo assemble.
acme ${PROGNAME}.s
# Only remove if exists
if [ -f ${PROGNAME}.prg ]; then
rm ${PROGNAME}.prg
fi
#mv main.bin ${PROGNAME}.prg
mv main.bin main.prg

2
start_in_vice.sh Executable file → Normal file
View file

@ -1 +1 @@
x64 -autostartprgmode 1 cardgame.prg x64 -autostartprgmode 1 main.prg

View file

@ -1 +1 @@
curl -X POST http://192.168.88.72/v1/runners:run_prg -H "Content-Type: application/octet-stream" --data-binary @cardgame.prg curl -X POST http://192.168.88.72/v1/runners:run_prg -H "Content-Type: application/octet-stream" --data-binary @main.prg

View file

@ -1 +1 @@
curl -X POST http://192.168.88.73/v1/runners:run_prg -H "Content-Type: application/octet-stream" --data-binary @cardgame.prg curl -X POST http://192.168.88.73/v1/runners:run_prg -H "Content-Type: application/octet-stream" --data-binary @main.prg