Brandon wrote:
This doesnt make sense, which port should I use to send the commands?
The correct data port is the first one mentioned, 0x3f5
Brandon wrote:
and one more thing. I dont understand the commands. What does "x7h" means (whats the x?)
The "X" means that other bits can come before, but it will always end in 0x7. This is because only the bottom 5 bits (except for in seek relative, also the top 1 bit) are used for the command, and a couple of the bits, depending on the command, are flags signalling more information about the command. See the second link in DennisCGc's post, around half-way down they start with images of the command-byte layouts. You'll see that in the first command byte sent, there are M or F or S bits in some of them, which they describe in more detail there. So a command won't just be 7h, it could be 57h or 17h or e7h, but it's always *something*7h