a2audit/floatbus/build

16 lines
547 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
set -euo pipefail
set -x
export ACME="$HOME/gh/acme/ACME_Lib"
cp ../dsk/blank.dsk floatbus.dsk
2016-10-17 02:09:50 +00:00
# Convert to binary HELLO.
# See https://groups.google.com/d/topic/comp.sys.apple2.programmer/oEVsfLpZGvE
printf '\x34' | dd conv=notrunc of=floatbus.dsk bs=1 seek=$((0x0d42))
acme apple_split_1.asm
applecommander -d floatbus.dsk HELLO || echo '(No HELLO to delete)'
2016-10-17 02:09:50 +00:00
applecommander -p floatbus.dsk HELLO B 0x6000 < apple_split_1.o
# On my computer, run mame like this:
# mame -rompath ~/mame/roms/ apple2ee -flop1 ./floatbus.dsk