[Coco] [COCO] Proposed HDBDOS Patch

Darren A mechacoco at gmail.com
Mon Jan 26 19:01:39 EST 2015


On Mon, Jan 26, 2015 at 4:36 PM, David Ladd <davidwladd at gmail.com> wrote:

> On Mon, Jan 26, 2015 at 5:20 PM, Darren A <mechacoco at gmail.com> wrote:
> >
> > A better way to do this might be to have the verify loop work its way
> > backwards through tracks so it finishes on track 0.  Looking at the code
> in
> > Disk Basic Unravelled, I think the loop could be modified to do this
> > without requiring any additional code space.
> >
>
> ​Darren, thanks for the info.  I will look at that option and see how best
> to work that in.​
>
>
I figured the simplest approach would be:

1. Change the CLRA preceding LD66F to LDA #TRKMAX-1

2. Change:
      INCA
      CMPA  #TRKMAX
      BLO     LD66F
   to:
      NOP
      DECA
      BPL     LD66F


This will change the actual location of labels LD66F and LD672 to $D670 and
$D673.

- Darren


More information about the Coco mailing list