useful local(ish) hack: update OE memory image

This commit is contained in:
Zellyn Hunter 2017-02-03 22:08:58 -05:00
parent 2a0b0da1b2
commit d96d081c9a
1 changed files with 7 additions and 0 deletions

View File

@ -24,6 +24,9 @@ grep -h '+prerra\? .*;;' *.asm | awk -F' ;; ' '{print $2}' | sort | sed 's|\(E..
# Also run mame? (set ROMPATH to your local variant)
[[ -z "${ROMPATH-}" ]] && ROMPATH=~/mame/roms/
# Write audit.o into an OpenEmulator config?
[[ -z "${TMPLS-}" ]] && TMPLS=~/gh/OpenEmulator-OSX/modules/libemulation/res/templates
case "${1-none}" in
"2ee")
mame -rompath $ROMPATH apple2ee -flop1 ./audit.dsk -skip_gameinfo
@ -49,6 +52,10 @@ case "${1-none}" in
"2-d")
mame -rompath $ROMPATH apple2 -flop1 ./audit.dsk -skip_gameinfo -debug
;;
"oe")
(head -c 24576 /dev/zero; cat audit.o; head -c 65536 /dev/zero) | head -c 65536 > $TMPLS/Apple\ II/Apple\ IIe-test.emulation/appleIIe.ram.bin
sed -e 's|<property name="pc" value="0x...."/>|<property name="pc" value="0x6000"/>|' $TMPLS/Apple\ II/Apple\ IIe.xml > $TMPLS/Apple\ II/Apple\ IIe-test.emulation/info.xml
;;
"none")
;;
*)