Give audit better messages, make build run mame

This commit is contained in:
Zellyn Hunter 2016-12-08 21:34:43 -05:00
parent 537ca429a7
commit 630cc2d77c
3 changed files with 19 additions and 4 deletions

View File

@ -39,7 +39,7 @@ main:
beq .notsupported beq .notsupported
.gs ;PLUGH .gs ;PLUGH
jsr print jsr print
!text "IIGS",0 !text "APPLE IIGS",0
.notsupported .notsupported
jsr print jsr print
!text " NOT SUPPORTED",$8D,0 !text " NOT SUPPORTED",$8D,0
@ -54,7 +54,14 @@ main:
beq .notsupported beq .notsupported
.iie .iie
jsr print jsr print
!text "APPLE IIE",$8D,0 !text "APPLE IIE",0
lda ROMLEVEL
cmp #1
beq +
jsr print
!text " (ENHANCED)",0
+ lda #$8D
jsr COUT
beq .done beq .done
.leiii .leiii
cmp #IIplus cmp #IIplus

Binary file not shown.

View File

@ -13,5 +13,13 @@ echo -n -e '\x20\x40\x03\x6D\x01\xDC\x2C\x02\xDF\x2C\x00\x60\xF8\x4C\x00\x60' |
diskii put -f audit.dsk DF02:FWORLD audit.o diskii put -f audit.dsk DF02:FWORLD audit.o
# On my computer, run mame like this: # Also run mame? (set ROMPATH to your local variant)
# mame -rompath ~/mame/roms/ apple2ee -flop1 ./audit.dsk [[ -z "${ROMPATH-}" ]] && ROMPATH=~/mame/roms/
[[ "$1" == '2ee' ]] && mame -rompath $ROMPATH apple2ee -flop1 ./audit.dsk -skip_gameinfo
[[ "$1" == '2e' ]] && mame -rompath $ROMPATH apple2e -flop1 ./audit.dsk -skip_gameinfo
[[ "$1" == '2p' ]] && mame -rompath $ROMPATH apple2p -flop1 ./audit.dsk -skip_gameinfo
[[ "$1" == '2' ]] && mame -rompath $ROMPATH apple2 -flop1 ./audit.dsk -skip_gameinfo
[[ "$1" == '2ee-d' ]] && mame -rompath $ROMPATH apple2ee -flop1 ./audit.dsk -skip_gameinfo -debug
[[ "$1" == '2e-d' ]] && mame -rompath $ROMPATH apple2e -flop1 ./audit.dsk -skip_gameinfo -debug
[[ "$1" == '2p-d' ]] && mame -rompath $ROMPATH apple2p -flop1 ./audit.dsk -skip_gameinfo -debug
[[ "$1" == '2-d' ]] && mame -rompath $ROMPATH apple2 -flop1 ./audit.dsk -skip_gameinfo -debug