2024-04-10 17:28:34 -04:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2024-06-29 23:38:02 -04:00
|
|
|
if [ $# -eq 0 ]; then
|
|
|
|
echo "Provide the name of the rom/asm file to run"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
vasm6502_oldstyle ./src/roms/$1.asm -dotdir -wdc02 -ldots -Fbin -o ./src/roms/$1.rom;
|
2024-07-04 13:04:13 -04:00
|
|
|
cargo run -- rom "./src/roms/$1.rom";
|
2024-04-10 17:28:34 -04:00
|
|
|
# hexdump -C ./cpu_dump.bin;
|