[Coco] Copying over an IO ERROR

Bill Pierce ooogalapasooo at aol.com
Tue Feb 3 18:31:30 EST 2015


Bill, another thing you can try is file-by-file copying on errored disks. Sometimes in a "BACKUP", the sector errored is not even used in any of the files and using COPY for each file will get all the files without hitting the error.. sometimes...
Just a thought.
 

Bill Pierce
"Today is a good day... I woke up" - Ritchie Havens
 

My Music from the Tandy/Radio Shack Color Computer 2 & 3
https://sites.google.com/site/dabarnstudio/
Co-Contributor, Co-Editor for CocoPedia
http://www.cocopedia.com/wiki/index.php/Main_Page
E-Mail: ooogalapasooo at aol.com


 
 
-----Original Message-----
From: Bill <cwgordon at carolina.rr.com>
To: 'CoCoList for Color Computer Enthusiasts' <coco at maltedmedia.com>
Sent: Tue, Feb 3, 2015 6:13 pm
Subject: Re: [Coco] Copying over an IO ERROR


By modifying this code a little, can it be made to write directly to a .dsk 
mounted on DriveWire?

Sure would make it easier. I've got a large number of Rainbow on Tape and 
Rainbow on Disk that are damaged, and I'd love just to be able to write them 
directly to a .dsk image.

Thanks

-----Original Message-----
From: Coco [mailto:coco-bounces at maltedmedia.com] On Behalf Of Allen Huffman
Sent: Tuesday, February 03, 2015 5:15 PM
To: CoCoList for Color Computer Enthusiasts
Subject: Re: [Coco] Copying over an IO ERROR

> On Feb 3, 2015, at 3:32 PM, Bill <cwgordon at carolina.rr.com> wrote:
> 
> Now, how do I know if this is an error in READING the source, or an error in 
WRITING to the destination?

Ah. Two ways:

1. There is a variable that shows the line that had the error, and you could 
"just know" what the line number is.

But better:

2. Expanded to work like this:

XX ON ERR GOTO YYY
XX DSKI$ ....
XX ON ERR GOTO ZZZ
XX DSKO$ ...

END
YYY PRINT "ERROR READING" ...
YYY GOTO ...
ZZZ PRINT "ERROR WRITING" ...
ZZZ GOTO ...


-- 
Coco mailing list
Coco at maltedmedia.com
https://pairlist5.pair.net/mailman/listinfo/coco


-- 
Coco mailing list
Coco at maltedmedia.com
https://pairlist5.pair.net/mailman/listinfo/coco


 


More information about the Coco mailing list