mirror of
https://github.com/zellyn/a2audit.git
synced 2024-11-21 22:32:23 +00:00
useful local(ish) hack: update OE memory image
This commit is contained in:
parent
2a0b0da1b2
commit
d96d081c9a
@ -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)
|
# Also run mame? (set ROMPATH to your local variant)
|
||||||
[[ -z "${ROMPATH-}" ]] && ROMPATH=~/mame/roms/
|
[[ -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
|
case "${1-none}" in
|
||||||
"2ee")
|
"2ee")
|
||||||
mame -rompath $ROMPATH apple2ee -flop1 ./audit.dsk -skip_gameinfo
|
mame -rompath $ROMPATH apple2ee -flop1 ./audit.dsk -skip_gameinfo
|
||||||
@ -49,6 +52,10 @@ case "${1-none}" in
|
|||||||
"2-d")
|
"2-d")
|
||||||
mame -rompath $ROMPATH apple2 -flop1 ./audit.dsk -skip_gameinfo -debug
|
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")
|
"none")
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
Loading…
Reference in New Issue
Block a user