Re: gunzip.c64

From: Andre Fachat (a.fachat_at_physik.tu-chemnitz.de)
Date: 1999-03-01 20:46:20

Marko Mäkelä wrote:
> On Mon, 1 Mar 1999, Andre Fachat wrote:
> 
> > Why not build in a mode to use the "b-w" floppy commands to 
> > directly write it to a disk (or did I miss something and it does
> > so already?)
> 
> B-W is a bit problematic, since it can mess up with the buffer pointer
> (set with B-P), but U2 should work properly.  You can get the example code
> from prlink's prdisk.  It supports up to 999 tracks and sectors and uses
> the ILLEGAL TRACK OR SECTOR error for stepping tracks.

Argh. Slap me on the back of my head ;-)

I meant U2 of course. My small Basic/ML programs "disk2file" and "file2dsk"
for the PET and C64 use exactly the same ILLEGAL TRACK OR SECTOR trick 
to dump/restore any CBM disk image. However, I had to implement a check 
for track 78 or so because reading an 8050 (single sided) disk on a 
8250 (double sided) drive gives a READ ERROR but no ILLEGAL TRACK OR SECTOR.

BTW, I uploaded those prgs to funet, where did they end up?

Andre

-- 
Email address may be invalid. Use "fachat AT physik DOT tu-chemnitz DOT de"
------Fight SPAM - join CAUCE http://www.cauce.org------Thanks, spammers...
Andre Fachat, Institute of physics, Technische Universität Chemnitz, FRG
		http://www.tu-chemnitz.de/~fachat
-
This message was sent through the cbm-hackers mailing list.
To unsubscribe: echo unsubscribe | mail cbm-hackers-request@dot.tcm.hut.fi.

Archive generated by hypermail 2.1.1.