Going the other way, a PATA port in PIO mode can be used as GPIO: <a href="https://hackaday.com/2011/02/03/stk200-pocket-change-programmer/" rel="nofollow">https://hackaday.com/2011/02/03/stk200-pocket-change-program...</a>
An interesting project I found on twitter. Interfacing PATA/IDE directly to Raspberry Pi’s GPIO is pretty trivial and manages to transfer 500 KiB/s. Enough to play CDs. The driver code is around 500 LOC.
This is a fun hack. FWIW, similar sorts of things can be used to add a PATA drive to a Cortex-M microprocessor like the STM32 series.<p>Who doesn't want a micropython board with gigabytes of code space ? :-)