Lol, I've already found it

To document it so the info can be useful to somebody else:
1. Find the SATA controller in your system. You can use the info in the links above to do this.
2. Once you have found the controller, you should list which I/O ports it has. The PCI_PAS.zip source explains how u can do this.
After you've found the I/O ports on the controller, one of the ports is the port you should use to send the ATA packets to. For example, for my controller, there are 5 ports, at adresses:
0xA800
0xA400
0XA000
0X9800
0x9400
I've tested them, and if I write to the first port, I communicate with the HDD ! So, to make clear, instead of using registers 0x170, 0x171, 0x172 etc (for the first IDE controller), i used 0xA800, 0xA801, 0xA802 etc.