Re: Accessing the sectors of an harddisk



Ruud wrote:

I build hardware for the good old Commodore machines. One of my
projects is connecting a xx GB harddisk to a 1541 floppy drive. This
works fine so far.

Great :-)

But a problem is the huge amount of data (seen from
the point of view of a Commodore). One idea I have is using disk
brackets and using a PC for huge data movements. Being a Turbo Pascal
programmer this isn't a problem. But I also want to be able to do that
under Delphi. I'm familiar with Delphi. But I already found out that
using the PORT command doesn't work out under XP.

So my main question: How can I access and edit the sectors of an
harddisk directly?

When you attach it as a hard disk, you can treat the entire disk as one file. See CreateFile (WinAPI), in detail the //PhysicalDrive...

DoDi
.



Relevant Pages

  • Re: how to format an external USB harddrive
    ... make partition by right click on the harddisk. ... Just to let you know it is a brand new UBS external hard disk (a normal ... > enought to warrant a format that perhaps the external drive isn't ...
    (microsoft.public.windowsxp.general)
  • Re: Mass distribution
    ... > We used SDI Loader to deploy the built image on harddisk. ... > disk by following procedures. ... Put the new harddisk in PC and boot the ... Boot the desktop system from floppy. ...
    (microsoft.public.windowsxp.embedded)
  • Mass distribution
    ... We used SDI Loader to deploy the built image on harddisk. ... Create GHOST image of C DRive of newly created XPE Image disk. ... Boot the desktop system from floppy. ...
    (microsoft.public.windowsxp.embedded)
  • Re: Windows XP Users login error
    ... I have two harddisk installed in my PCs, both the harddisk I had installed ... Harddisk A is a 80MB disk and harddisk B is a 500MB disk. ... Creates, deletes, or lists a volume mount point. ... MOUNTVOL path VolumeName ...
    (microsoft.public.windowsxp.general)
  • Boot ends in WinXP (Home Edition) logo but with no user logon logos?
    ... Both my harddisk and my plug-in disk are 40GB and I have used the plug-in disk as backup by regularly cloning the harddisk over to the plug-in disk ... But when I boot now I end up with the traditional window for user logon, only that there is no user logon icons in that window, only the "standard" icon for Windows XP Home edition. ...
    (microsoft.public.windowsxp.general)