you need to check for A$="" (which comes out if you read a chr$(0)) Just insert: 45 if a$="" then a$=chr$(0) André -------- Original-Nachricht -------- > Datum: Sat, 5 Nov 2011 12:34:24 +0100 > Von: r.lagendijk@hccnet.nl > An: cbm-hackers@musoftware.de > Betreff: Re: Transfer a 8250 diskette > 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 -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de Message was sent through the cbm-hackers mailing listReceived on 2011-11-05 13:00:18
Archive generated by hypermail 2.2.0.