From 3e9f114a7fc4536cb3a8769ff3a1e256bc46accf Mon Sep 17 00:00:00 2001 From: Zellyn Hunter Date: Sat, 10 Dec 2016 22:23:36 -0500 Subject: [PATCH] Show memory; start of LC test; minor build fixes --- audit/audit.asm | 35 ++++++++++++++++++++++++++++------- audit/audit.dsk | Bin 143360 -> 143360 bytes audit/build | 16 ++++++++-------- 3 files changed, 36 insertions(+), 15 deletions(-) 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 d276464698d4f7879fdcb3e69a8cdd5cce48d7f4..ea43d61370119baf62d9fcd4295a4f2151b87f6f 100644 GIT binary patch delta 733 zcmYjOQA-q26uz^o<7kAorLAqyJ``yLtq*}uA@s7@K=coqJwEsl_2jq_w&UuGh&L7n z0^f!}VWJD0Nu(g`BPZ<$9(RI{J7Nk~%Zd1LaF1e(jLHfY&c!eggUq z-cLX=RFJ;Tk3&%s9qbi|Ry%_NTsINrt-&QO2VJ~Hgw>xZ9v08+g!(XL8#E1!?06Xv zQAUJ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Wkr0XvitZtnE 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