zero track number before writing from RAM

This commit is contained in:
Peter Ferrie 2017-07-27 14:56:02 -07:00
parent 309a09c385
commit e216ba12e9
2 changed files with 2 additions and 4 deletions

View File

@ -67,8 +67,6 @@ WriteTrackMLI
; page 6-19 ; page 6-19
sta mliparam+1 sta mliparam+1
lda SLOT lda SLOT
sec
sbc #$30
asl asl
asl asl
asl asl
@ -685,6 +683,7 @@ WriteRAMToDisk
sta mliparam+2 sta mliparam+2
sta mliparam+3 sta mliparam+3
sta mliparam+4 sta mliparam+4
sta gTrack
jsr SwapProDOS jsr SwapProDOS
lda gRAMDiskRef lda gRAMDiskRef
jsr SetMark jsr SetMark

View File

@ -458,8 +458,7 @@ nextsector
bne .passprint ; always branches bne .passprint ; always branches
.passcrack .passcrack
lda gUsingRAMDisk lda gUsingRAMDisk
cmp #FALSE bne .skipram
beq .skipram
lda #s_writing lda #s_writing
jsr PrintByID jsr PrintByID
jsr WriteRAMToDisk jsr WriteRAMToDisk