diff --git a/audit/audit.asm b/audit/audit.asm index 0a02d86..29bcc67 100644 --- a/audit/audit.asm +++ b/audit/audit.asm @@ -12,17 +12,27 @@ main: jsr HOME jsr print - !text "APPLE II AUDIT",$8D,0 - jsr print - !text "DETECTING MACHINE VERSION...",$8D,0 + !text "APPLE II AUDIT",$8D,$8D,0 !zone detect { jsr IDENTIFY lda $C082 ; Put ROM back in place. - lda MACHINE - jsr PRBYTE - lda #$8D - jsr COUT + + jsr print + !text "MEMORY:",0 + lda MEMORY + bpl + + jsr print + !text "128K",$8D,0 + beq +++ ++ cmp #64 + bcc + + jsr print + !text "64K",$8D,0 + beq +++ ++ jsr print + !text "48K",$8D,0 ++++ lda MACHINE bne .known ;; MACHINE=0 - unknown machine @@ -80,6 +90,17 @@ main: !text "APPLE II PLUS",$8D,0 .done } ;detect + + !zone langcard { + lda MEMORY + cmp #49 + bcs + + jsr print + !text "48K:SKIPPING LANGUAGE CARD TEST",$8D,0 + beq .done ++ +.done + } ;langcard end: jmp * diff --git a/audit/audit.dsk b/audit/audit.dsk index d276464..ea43d61 100644 Binary files a/audit/audit.dsk and b/audit/audit.dsk differ diff --git a/audit/build b/audit/build index 240eb05..af8f3c2 100755 --- a/audit/build +++ b/audit/build @@ -15,11 +15,11 @@ diskii put -f audit.dsk DF02:FWORLD audit.o # Also run mame? (set ROMPATH to your local variant) [[ -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 +[[ "${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