diff --git a/audit/langcard.asm b/audit/langcard.asm index 1283462..55428ec 100644 --- a/audit/langcard.asm +++ b/audit/langcard.asm @@ -29,10 +29,10 @@ LANGCARDTESTS_NO_CHECK: +prerred sec rts - lda #$33 -+ sta $FE1F ; FE1F is $60 in Apple II/plus/e/enhanced ++ lda #$33 + sta $FE1F ; FE1F is $60 in Apple II/plus/e/enhanced cmp $FE1F - beq .dotest + beq + +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" +prerred @@ -49,6 +49,24 @@ LANGCARDTESTS_NO_CHECK: +prerred sec 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 diff --git a/v0/index.md b/v0/index.md index 6729e0d..6856d5b 100644 --- a/v0/index.md +++ b/v0/index.md @@ -47,3 +47,11 @@ This is a the Cxxx-ROM check part of the auxiliary memory data-driven test (see ## E000C $400 main memory and $300 aux memory seem to write to the same place, which is probably an emulator bug. + +## E000D + +We tried to put the language card into read bank 1, but failed to read. + +## E000E + +We tried to put the language card into read ROM, but failed to read.