home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
misc
/
volume38
/
awdc
/
part01
/
readme
< prev
Wrap
Text File
|
1993-07-13
|
2KB
|
56 lines
New upload - awdc.zip, 13603 bytes.
awdc is a floppy disk copy problem with a difference - it copies at a
sector level, ignoring such trivia as the number of sectors per track
and number of tracks. It stops when it reaches the end of either disc
or encounters a transfer error.
It was written to solve a specific problem - transcribing UNIX tar
archive discs from one type of floppy disc to another, on a DOS machine.
For safety, the program will only copy sectors between removable media,
so it should leave hard disks alone. I am not particularly proud of it,
but it solved my problem and may help others, so I am placing it in the
public domain. Use it entirely at your own risk.
m not particularly proud of it,
but it solved my problem and may help others, so I am placing it in the
public domain. Use it entirely at your own risk.
Included with this document should be the source and executable code.
It is very DOS specific and makes extensive use of intdos(). It was
compiled with Turbo C 2.0.
I believed that there was a DOS port of the FSF GNU version of dd, but
this can only handle DOS files, not raw media. If I'm wrong, please
tell me!
Adrian Wontroba, Stade Computers Limited. phone: (+44) 21 373 9546
uucp: ...!uknet!stade!aw1 other: aw1%stade.co.uk@uknet.ac.uk
snail: 14 Fourlands Avenue, Sutton Coldfield, West Midlands, B72 1YY, UK
Instructions
------------
These assume that you are copying from A: to B:. Change as appropriate.
The next two steps ensure that DOS has the correct idea of the
characteristics of the discs which are going to be used. This is
achieved by making it read appropriate DOS media. This is vital!
o Take a DOS formatted floppy disc with the same characteristics
as the disc you wish to copy from and insert it into the A:
drive. Display the directory. (dir a:)
o Take a DOS formatted floppy disc with the same characteristics
as the disc you wish to copy to and insert it into the B: drive.
Display the directory. (dir b:)
Repeat the following three steps for each of the copies.
o Insert the source disk in the A: drive.
o Write enable and insert the preformatted target disk in the B:
drive.
o Copy sectors from A: to B: with the supplied program. (awdc a
b).