Re: D64 to D80 conversion and visa versa

From: lebbatdot_at_cogeco.ca
Date: Wed, 21 Dec 2016 09:59:23 -0500
Message-ID: <20161221145923.GG14326@NUC05.net>
OK I tried this, but no go

c1541 #8> attach cbmcmd23.d64 8
c1541 #8> attach cbmcmd23.d80 9
c1541 #8> copy @8:file @9:
ERR = 62, FILE NOT FOUND, 00, 00
Cannot read `file'.
Floppy read failed.
c1541 #8> dir @8
0 "cbmcommand      " id 2a
2     "loadcbmcmd"        prg 
0     "................"  del 
52    "cbmcmd.help"       seq 
5     "cbmcmdsplash"      seq 
5     "cbmcmdsplash-pet"  seq 
0     "................"  del 
106   "cbmcommand.c64"    prg 
105   "cbmcommand.c128"   prg 
93    "cbmcommand.vic20"  prg 
105   "cbmcommand.plus4"  prg 
0     "................"  del 
43    "cbmcmdcfg.c64"     prg 
43    "cbmcmdcfg.c128"    prg 
42    "cbmcmdcfg.vic20"   prg 
44    "cbmcmdcfg.plus4"   prg 
0     "................"  del 
3     "convertcfg"        prg 

Any ideas?  BTW I did get a copy of the programs in d80 format, just playing with this in case I need to do this at some other point.

Thanks
Brian


* Per Olofsson (magervalp@fastmail.fm) wrote:
> On Mon, Dec 19, 2016, at 09:09 AM, lebbatdot@cogeco.ca wrote:
> > I  did some poking around looking for c1541 bash scripts, seems you have
> > the right idea.  I am not a script writer expert, but I am guesig I'll
> > need to loop through a d64 image looking for all the program names, and
> > write out to a d82 image.
> > I played with hostcm and the bedit editor on the superpet and came up
> > with a batch file that copies Superpet disks to the Linux box.  So I will
> > have to bite the bullet and try the same with c1541.  Do you know of any
> > good examples on the Net, I have seen a few, but have not dived deeply
> > yet.
> 
> c1541 can mount multiple images at the same time, and you can copy files
> between them:
> 
> c1541 #8> attach source.d64 8
> c1541 #8> attach dest.d82 9
> c1541 #8> copy @8:file @9:
> c1541 #8> dir @9: 
> 0 "dest            " 82 2c
> 1     "file"              prg 
> 4132 blocks free.
> 
> Unfortunately I don't think it handles wildcards, at least not
> gracefully.
> 
> -- 
>   Per Olofsson
>   magervalp@fastmail.fm
> 
>        Message was sent through the cbm-hackers mailing list

       Message was sent through the cbm-hackers mailing list
Received on 2016-12-21 15:00:02

Archive generated by hypermail 2.2.0.