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>