Before the Raspberry Pi came out, one cheap and easy way to get GPIO on a computer with a real operating system was to ...
Purchase a USB to RS232 Adapter with PL2303 Chipset (on Amazon) ...