Physical disk access under Delphi

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
Post Reply
User avatar
inflater
Member
Member
Posts: 1309
Joined: Thu Sep 28, 2006 10:32 am
Location: Slovakia
Contact:

Physical disk access under Delphi

Post by inflater »

Greetings,
I am searching for a Delphi freeware component that can write and read the floppy (*not* harddisks) physically under WinXP. Can you please tell me if it exists and the name? All components that I've found are using logical disk access (FAT) with clusters.

Thank you.
inflater
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English :P)
User avatar
~
Member
Member
Posts: 1226
Joined: Tue Mar 06, 2007 11:17 am
Libera.chat IRC: ArcheFire

Post by ~ »

Wow! After almost one week later I haven't been able to find a proper match, but maybe if you look for a generic I/O library you could build up a codebase to access your floppy. Try searching for the following in Google:

delphi ports floppy access
delphi i/o library
delphi io library source code
delphi low level access source code
User avatar
inflater
Member
Member
Posts: 1309
Joined: Thu Sep 28, 2006 10:32 am
Location: Slovakia
Contact:

Post by inflater »

Google Groups: "Try searching TVicFlop."

But neither Google nor Altavista (or Yahoo etc.) have found this Delphi unit. :(

So I have some choices left:
- Use PARTCOPY bundled with my installation program somewhere (but this will be only possible with installation on floppy disks...), but it is faster than:
- Download RawWriteWin source code in Delphi and make a Windows program that will copy the contents of image file to floppy. 60% slower than using PARTCOPY.
- Download RAWRITE.EXE, MAKEDISK.EXE and make a .BAT file that will execute this program with supplied "image.img" and convert the .BAT to .COM :) for better look. :D

I can't just make a self extractor, WinImage won't let me do that because it is not FAT/Linux FS formatted disk.

inflater
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English :P)
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Post by Candy »

If you're going to use an external program, might as well use DD then:

http://uranus.it.swin.edu.au/~jn/linux/rawwrite/dd.htm

Allows writing arbitrarily and so on. Most common tool on unix to do the same by the way.
Post Reply