george-emu/run.sh

13 lines
250 B
Bash
Raw Normal View History

#!/usr/bin/env bash
if [ $# -eq 0 ]; then
echo "Provide the name of the rom/asm file to run"
exit 1
fi
set -e
vasm6502_oldstyle roms/$1.asm -dotdir -wdc02 -ldots -Fbin -o roms/$1.rom;
cargo run -- rom "roms/$1.rom";
# hexdump -C ./cpu_dump.bin;