programming tools for Windows applications development
  Home  |   SwiftForth Archive  |   SwiftX Archive  |

Re: Low level diskette I/O in Swiftforth

From: Jos'h Fuller <josh_at_dkp.com>
Date: Mon, 14 Feb 2005 10:50:41 -0500 (EST)

Hi!

On Sun, 13 Feb 2005, Richard Owlett wrote:

> Using SwiftForth can we get around Windows(tm) trying to be overly
> protective?
>
> I have a corrupt 3.5" single density diskette.
> I wish to retrieve as much data as possible from it.

If you're using 3.5 floppys, there probably a utility available for your
operating system of choice to copy the entire contents of the floppy out
to a file on the hard disk... On DOS or Windows, look for rawread.exe on
Unix based systems (BSD, Linux, etc.) use "dd if=/dev/fda0
of=badfloppy.dat" (replace with the appropriate name of your floppy disk
device).

Once you have it on hard disk, open it as binary file and spool the bytes
off to your heart's content!

Jos'h

P.S. One place to get rawread.exe for Windows is
http://www.pamarsystems.com/raw.html (not tried their version, though).
The various UNIX clones have versions of this utility available as well.

----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and bug
reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Mon Feb 14 2005 - 07:52:26 PST

This archive was generated by hypermail 2.2.0 : Thu Dec 04 2008 - 03:04:19 PST