Announcement

Collapse
No announcement yet.

Sending ATA commands to a hard drive

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Charles Bailey
    replied
    Thanks for the links. I found them very educational! I did some more searching, and actually found some PB code that might be in the right direction:
    User to user discussions about the PB/Win (formerly PB/DLL) product line. Discussion topics include PowerBASIC Forms, PowerGEN and PowerTree for Windows.

    Leave a comment:


  • Wayne Suite
    replied
    Last needed info

    Here is another link providing detailed info tying it all together. Now I think we have what we need to put it all together for PB to do this. If I only knew power basic as well as I could gather information maybe I could help more. Gives me something to tinker with though....

    Here is the link - This gives examples in asm so it should'nt be a big deal for conversion for someone who knows what there doing



    ENJOY
    Last edited by Wayne Suite; 25 Aug 2008, 09:07 AM.

    Leave a comment:


  • Wayne Suite
    replied
    ATA Commands

    In my continuing quest for info I also came across this link which takes use even closer. It provides the addresses/registers used to communicate with the IDE controller to control the HD.



    I think were getting close. Did'nt find anything already in the Poff's though.

    Leave a comment:


  • Wayne Suite
    replied
    ATA HD Comms

    I often wondered this myself and there appeared to be little info available, but your post sparked an old interest and below I have located a link to a 500 page .pdf document which explains the ATA/ATAPI-6 interface and its commands. This may be the 1st step now located. Now we just have to put something together and find out how to access the Drive controller itself. SCSI interface already has an API out for interface however I have found nothing in that regard to the ATA/SATA. It must be out there just haven't turned over the right rock yet . Anyway here is a link to the document, hope this provides us a path to yet another project.

    Leave a comment:


  • Charles Bailey
    started a topic Sending ATA commands to a hard drive

    Sending ATA commands to a hard drive

    Is it possible under Windows to communicate directly with a drive connected to a computer's IDE bus? I'd like to send ATA commands directly to a drive. Does anyone have some sample code?
Working...
X