2016-12-07 03:18:33 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
export ACME="$HOME/gh/acme/ACME_Lib"
|
|
|
|
|
|
|
|
acme audit.asm
|
|
|
|
|
|
|
|
# Build audit.dsk with diskii (bit.ly/a2diskii), on a Super-Mon disk
|
|
|
|
# =====================================================================
|
|
|
|
|
|
|
|
cp ../dsk/supermon20.dsk audit.dsk
|
|
|
|
# FHELLO: load file DF02 at 0x6000.
|
2016-12-10 04:10:25 +00:00
|
|
|
diskii nakedos mkhello audit.dsk DF02
|
2016-12-07 03:18:33 +00:00
|
|
|
diskii put -f audit.dsk DF02:FWORLD audit.o
|
|
|
|
|
|
|
|
|
2016-12-09 02:34:43 +00:00
|
|
|
# Also run mame? (set ROMPATH to your local variant)
|
|
|
|
[[ -z "${ROMPATH-}" ]] && ROMPATH=~/mame/roms/
|
2016-12-11 03:23:36 +00:00
|
|
|
[[ "${1-}" == '2ee' ]] && mame -rompath $ROMPATH apple2ee -flop1 ./audit.dsk -skip_gameinfo
|
|
|
|
[[ "${1-}" == '2e' ]] && mame -rompath $ROMPATH apple2e -flop1 ./audit.dsk -skip_gameinfo
|
|
|
|
[[ "${1-}" == '2p' ]] && mame -rompath $ROMPATH apple2p -flop1 ./audit.dsk -skip_gameinfo
|
|
|
|
[[ "${1-}" == '2' ]] && mame -rompath $ROMPATH apple2 -flop1 ./audit.dsk -skip_gameinfo
|
|
|
|
[[ "${1-}" == '2ee-d' ]] && mame -rompath $ROMPATH apple2ee -flop1 ./audit.dsk -skip_gameinfo -debug
|
|
|
|
[[ "${1-}" == '2e-d' ]] && mame -rompath $ROMPATH apple2e -flop1 ./audit.dsk -skip_gameinfo -debug
|
|
|
|
[[ "${1-}" == '2p-d' ]] && mame -rompath $ROMPATH apple2p -flop1 ./audit.dsk -skip_gameinfo -debug
|
|
|
|
[[ "${1-}" == '2-d' ]] && mame -rompath $ROMPATH apple2 -flop1 ./audit.dsk -skip_gameinfo -debug
|