2016-09-13 01:52:46 +00:00
|
|
|
#!/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))
|
|
|
|
|
2016-09-13 01:52:46 +00:00
|
|
|
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
|