Re: Transfer a 8250 diskette

From: André Fachat <afachat_at_gmx.de>
Date: Sat, 05 Nov 2011 14:46:25 +0100
Message-ID: <20111105134625.224170@gmx.net>
As far as I understand the "COPY" BASIC command just sends
the "C0:FILE1=1:FILE2" command to a single disk unit, and the
disk unit would do the copying.
So you can't copy across units, only across drives on the same unit.

But yes, if he just uses two drives on one unit
(the example below seems to indicate he has a dual drive by using
"1:") he could use the copy command:

http://www.commodore.ca/manuals/pdfs/Commodore_Basic_4_Users_Reference%20Manual.pdf
page 31:

syntax is:
COPY [D<x>,] "<name1>" TO [D<y>,] "name2" [ON U<d>]

alternate syntax to copy all files is
COPY [D<x>] TO [D<y>]

(where I think leaving out the drives in the alternate syntax
makes no sense ;-)

André


-------- Original-Nachricht --------
> Datum: Sat, 5 Nov 2011 08:43:36 -0400
> Von: Steve Gray <sjgray@rogers.com>
> An: "cbm-hackers@musoftware.de" <cbm-hackers@musoftware.de>
> Betreff: Re: Transfer a 8250 diskette

> Try:
> 
> Copy d0 on u8,"filename" to d0 on u9,"filename"
> 
> Or, use "*" to copy all files.
> 
> Steve
> 
> 
> On Nov 5, 2011, at 7:34 AM, r.lagendijk@hccnet.nl wrote:
> 
> > Hi all,
> > 
> > I am still working on the disk transfer.
> > 
> > I first want to try a software transfer by copying the data byte for
> byte.
> > I made this small program
> > 
> > 
> > 10 nm$="8032-700-asc-ns"
> > 20 open 2,8,2,"1:"+nm$+",p,r"
> > 30 open 3,9,3,"0:"+nm$+",p,w"
> > 40 get#2,a$
> > 50 if st=64 then goto 80
> > 60 print#3,a$;:goto 40
> > 80 close 2:close 3
> > 90 end
> > 
> > The program makes a copy, but the file size of the copy is smaller than
> > the original (Example: original 81 Blocks, copy 79 Blocks)
> > 
> > Is there an error in my program?
> > 
> > The source (8) drive is a 8250lp, destination (9) is a MicroPower 2000
> > (4040) and the computer is an 4032.
> > 
> > Or is it the difference in floppy formats?
> > 
> > Richard
> > 
> > 
> > 
> > 
> > Op Zo, 30 oktober, 2011 9:59 pm schreef Nate Lawson:
> >> On Oct 30, 2011, at 1:03 PM, r.lagendijk@hccnet.nl wrote:
> >> 
> >> 
> >>> Hi all,
> >>> 
> >>> 
> >>> I want to transfer programs from a 8250 diskette. I have a CBM 4032, a
> >>> 8250lp and a datassette.
> >>> 
> >>> 
> >>> I loaded the first program from disk and saved it to a tape. I read
> the
> >>> tape with MTAP in my PC and I could load the .tap into VICE.
> >>> 
> >>> So far so good. But the next program on the diskette freezes the PET,
> I
> >>> think because it's not a BASIC program but MC and it loads in an
> >>> memory location not so good for my 4032. The programs on the disk are
> >>> made for a CBM 700 series.
> >>> 
> >>> 
> >>> Is there a way to solve my problem?
> >>> 
> >> 
> >> 
> >> The ZoomFloppy with IEEE-488 plug attached can read from the 8250
> drive.
> >> You'd just plug it in and read the file off with cbmcopy or the entire
> >> d82 image with d82copy.
> >> 
> >> -Nate
> >> 
> >> 
> >> 
> >> Message was sent through the cbm-hackers mailing list
> >> 
> >> 
> > 
> > 
> > -- 
> > 
> > www.richardlagendijk.nl
> > 
> > 
> >       Message was sent through the cbm-hackers mailing list
> 
>        Message was sent through the cbm-hackers mailing list

-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!		
Jetzt informieren: http://www.gmx.net/de/go/freephone

       Message was sent through the cbm-hackers mailing list
Received on 2011-11-05 14:00:11

Archive generated by hypermail 2.2.0.