mirror of
https://github.com/zellyn/a2audit.git
synced 2024-11-28 07:49:26 +00:00
fix unreachable code, add more LC tests
This commit is contained in:
parent
a2992b28d6
commit
f84b9f5e8e
@ -29,10 +29,10 @@ LANGCARDTESTS_NO_CHECK:
|
|||||||
+prerred
|
+prerred
|
||||||
sec
|
sec
|
||||||
rts
|
rts
|
||||||
lda #$33
|
+ lda #$33
|
||||||
+ sta $FE1F ; FE1F is $60 in Apple II/plus/e/enhanced
|
sta $FE1F ; FE1F is $60 in Apple II/plus/e/enhanced
|
||||||
cmp $FE1F
|
cmp $FE1F
|
||||||
beq .dotest
|
beq +
|
||||||
+prerr $0005 ;; E0005: We tried to put the language card into read RAM, write RAM, but failed to write.
|
+prerr $0005 ;; E0005: We tried to put the language card into read RAM, write RAM, but failed to write.
|
||||||
!text "CANNOT WRITE TO LC RAM"
|
!text "CANNOT WRITE TO LC RAM"
|
||||||
+prerred
|
+prerred
|
||||||
@ -49,6 +49,24 @@ LANGCARDTESTS_NO_CHECK:
|
|||||||
+prerred
|
+prerred
|
||||||
sec
|
sec
|
||||||
rts
|
rts
|
||||||
|
+ lda $C08B ; Read and write bank 1 with single access (only one needed if banked in already)
|
||||||
|
lda #$11
|
||||||
|
cmp $D17B
|
||||||
|
beq +
|
||||||
|
+prerr $000D ;; E000D: We tried to put the language card into read bank 1, but failed to read.
|
||||||
|
!text "CANNOT READ FROM LC BANK 1 RAM"
|
||||||
|
+prerred
|
||||||
|
sec
|
||||||
|
rts
|
||||||
|
+ lda $C081 ; Read ROM with single access (only one needed to bank out)
|
||||||
|
lda #$53
|
||||||
|
cmp $D17B
|
||||||
|
beq .dotest
|
||||||
|
+prerr $000E ;; E000E: We tried to put the language card into read ROM, but failed to read.
|
||||||
|
!text "CANNOT READ FROM ROM"
|
||||||
|
+prerred
|
||||||
|
sec
|
||||||
|
rts
|
||||||
|
|
||||||
;; Parameterized tests
|
;; Parameterized tests
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user