floatbus: use binary HELLO

This commit is contained in:
Zellyn Hunter 2016-10-16 22:09:50 -04:00
parent d81cf058ee
commit a8fec44cbe
4 changed files with 10 additions and 3 deletions

2
.gitignore vendored
View File

@ -1 +1,3 @@
*.o
roms/*.bin
floatbus/cfg

View File

@ -3,8 +3,13 @@ set -euo pipefail
set -x
export ACME="$HOME/gh/acme/ACME_Lib"
cp ../dsk/blank.dsk floatbus.dsk
# 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)'
applecommander -d floatbus.dsk BHELLO || echo '(No HELLO to delete)'
applecommander -p floatbus.dsk HELLO A < hello.bas.bin
applecommander -p floatbus.dsk BHELLO B 0x6000 < apple_split_1.o
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

Binary file not shown.

Binary file not shown.