[Coco] Reading/Writing Model I/III/4 Disks on a CoCo
Luis Antoniosi (CoCoDemus)
retrocanada76 at gmail.com
Thu Sep 5 15:39:47 EDT 2013
The disk was formatted to 40 tracks.
My own backup.asm succeded in writing on it and I'm using it until today.
On Thu, Sep 5, 2013 at 3:19 PM, Gene Heskett <gheskett at wdtv.com> wrote:
> On Thursday 05 September 2013 15:15:36 Luis Antoniosi (CoCoDemus) did
> opine:
>
> > btw, my /D0 is set to 80 tracks and the floppy in questions was
> > previously formatted to 40.
> >
> That dos not explain the error, but one should always start with a disk
> formatted to the target capacity. And when changing from 478 tpi to 96
> tpi, the disk should be bulk erased to clean up the areas in between the
> tracks.
>
> > On Thu, Sep 5, 2013 at 2:57 PM, Luis Antoniosi (CoCoDemus) <
> >
> > retrocanada76 at gmail.com> wrote:
> > > Gene I tried this:
> > >
> > > OPEN #in,"image.dsk":READ
> > > OPEN #out,"/D0@":WRITE
> > > FOR t=34 TO 0 STEP -1
> > > FOR s=17 TO 0 STEP -1
> > > SEEK #in,(t*18)*256.
> > > GET #in,sector
> > > SEEK #out,(t*18)*256.
> > > PUT #out,sector
> > > NEXT s
> > > NEXT t
> > > CLOSE #in
> > > CLOSE #out
> > >
> > > It gives me error when T is higher than 34!
> > >
> > > Why does it copy backwards ? Because I want to write the LSN0 at last.
> > > Maybe the problem is the SEEK and not the GET/PUT. I didn't go
> > > further, I made an asm routine and solved my problem.
> > >
> > > On Thu, Sep 5, 2013 at 2:43 PM, Gene Heskett <gheskett at wdtv.com>
> wrote:
> > >> On Thursday 05 September 2013 14:41:47 Luis Antoniosi (CoCoDemus) did
> > >>
> > >> opine:
> > >> > B09 won't support double sided.
> > >>
> > >> Huh? B09 only runs on os9. And supports whatever the device
> > >> descriptor says.
> > >>
> > >> > Also write to LSN0 at the end. Skip the first sector from both
> > >> > image and floppy, write all sectors and then reopen both image and
> > >> > floppy and then write to LSN0.
> > >> >
> > >> > Don't use seek, just read and ignore as the seek seems to not work
> > >> > properly with non os-9 disks.
> > >> >
> > >> > I have made a rawcopy tool for that, is at home I can send it you.
> > >> > it is in asm so it supports double sided disks as well. I made a
> > >> > dragon32 superdos disk using it.
> > >> >
> > >> > On Thu, Sep 5, 2013 at 10:24 AM, Al Hartman
> > >>
> > >> <alhartman6 at optonline.net>wrote:
> > >> > > Did it work? Have you successfully written an image?
> > >> > >
> > >> > > - Al -
> > >> > >
> > >> > > -----Original Message----- From: Gene Heskett
> > >> > >
> > >> > > Sure there is, it took me about an hour to knock it out in B09.
> > >> > > Write LSN0, close the path, then reopen, and write the whole
> > >> > > thing one sector at a time. The dbl write of lsn0 is to get rid
> > >> > > of the disk changed error.
> > >> > >
> > >> > > --
> > >> > > Coco mailing list
> > >> > > Coco at maltedmedia.com
> > >> > > http://five.pairlist.net/**mailman/listinfo/coco<http://five.pair
> > >> > > list
> > >>
> > >> .
> > >>
> > >> > > net/mailman/listinfo/coco>
> > >>
> > >> Cheers, Gene
> > >> --
> > >>
> > >> "There are four boxes to be used in defense of liberty:
> > >> soap, ballot, jury, and ammo. Please use in that order."
> > >>
> > >> -Ed Howdershelt (Author)
> > >> My web page: <http://gene.homelinux.net:6309/gene> should be up!
> > >>
> > >> I tried the clone syscall on me, but it didn't work.
> > >>
> > >> -- Mike Neuffer trying to fix a serious time problem
> > >>
> > >> A pen in the hand of this president is far more
> > >> dangerous than 200 million guns in the hands of
> > >>
> > >> law-abiding citizens.
> > >>
> > >> --
> > >> Coco mailing list
> > >> Coco at maltedmedia.com
> > >> http://five.pairlist.net/mailman/listinfo/coco
> > >
> > > --
> > > Long live the CoCo
>
>
> Cheers, Gene
> --
> "There are four boxes to be used in defense of liberty:
> soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> My web page: <http://gene.homelinux.net:6309/gene> should be up!
>
> I never loved another person the way I loved myself.
> -- Mae West
> A pen in the hand of this president is far more
> dangerous than 200 million guns in the hands of
> law-abiding citizens.
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco
>
--
Long live the CoCo
More information about the Coco
mailing list