From e216ba12e966fd2105b7f993957d3365b7095030 Mon Sep 17 00:00:00 2001 From: Peter Ferrie Date: Thu, 27 Jul 2017 14:56:02 -0700 Subject: [PATCH] zero track number before writing from RAM --- src/mli.a | 3 +-- src/passport.a | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/mli.a b/src/mli.a index 82956dc..e6c4f47 100755 --- a/src/mli.a +++ b/src/mli.a @@ -67,8 +67,6 @@ WriteTrackMLI ; page 6-19 sta mliparam+1 lda SLOT - sec - sbc #$30 asl asl asl @@ -685,6 +683,7 @@ WriteRAMToDisk sta mliparam+2 sta mliparam+3 sta mliparam+4 + sta gTrack jsr SwapProDOS lda gRAMDiskRef jsr SetMark diff --git a/src/passport.a b/src/passport.a index d138b92..69b1bd8 100755 --- a/src/passport.a +++ b/src/passport.a @@ -458,8 +458,7 @@ nextsector bne .passprint ; always branches .passcrack lda gUsingRAMDisk - cmp #FALSE - beq .skipram + bne .skipram lda #s_writing jsr PrintByID jsr WriteRAMToDisk