mirror of
https://github.com/zellyn/a2audit.git
synced 2024-11-21 22:32:23 +00:00
Show memory; start of LC test; minor build fixes
This commit is contained in:
parent
dfd8c2d9c3
commit
3e9f114a7f
@ -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 *
|
||||
|
||||
|
BIN
audit/audit.dsk
BIN
audit/audit.dsk
Binary file not shown.
16
audit/build
16
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
|
||||
|
Loading…
Reference in New Issue
Block a user