From f0c6053489a19856d3428779d03039df844c5623 Mon Sep 17 00:00:00 2001 From: Peter Ferrie Date: Wed, 30 Jun 2021 15:30:24 -0700 Subject: [PATCH] fix 5-5-5 with RAM disk --- src/patchers/555.a | 41 ++++++++++++++++++++--------------------- src/strings/en.a | 2 +- 2 files changed, 21 insertions(+), 22 deletions(-) diff --git a/src/patchers/555.a b/src/patchers/555.a index 18f79f9..8b8fa1a 100644 --- a/src/patchers/555.a +++ b/src/patchers/555.a @@ -340,27 +340,6 @@ Do555 .dofixed lda #BASEPAGE sta gAddress+1 - -.copytracks - ldx #0 - stx gSector - ldy #$10 - jsr .readwrite - lda gTrack - cmp #1 - bne .curtrk - ldx #$AC - stx $BDEF - ldx #$90 - stx $BDF2 -.curtrk - cmp #00 ; SMC - beq .ispartial - jmp .notpartial - -.ispartial - ldy #$CD - sty $BE2B lda #8 ldx #$AD ldy #4 @@ -384,6 +363,26 @@ Do555 lda #16 sta .forwards1+3,x +.copytracks + ldx #0 + stx gSector + ldy #$10 + jsr .readwrite + lda gTrack + cmp #1 + bne .curtrk + ldx #$AC + stx $BDEF + ldx #$90 + stx $BDF2 +.curtrk + cmp #00 ; SMC + beq .ispartial + jmp .notpartial + +.ispartial + ldy #$CD + sty $BE2B .forwards1 ldx #1 diff --git a/src/strings/en.a b/src/strings/en.a index 03fc325..76c57f3 100755 --- a/src/strings/en.a +++ b/src/strings/en.a @@ -341,7 +341,7 @@ StringTableHigh .passport !text "Passport ",$00 .header - !text "@",s_passport,"by 4am@",s_space7,"@",s_space7," 2021-06-29",$00 + !text "@",s_passport,"by 4am@",s_space7,"@",s_space7," 2021-06-30",$00 .bar9 !text "_________",$00 .bar18