This TTL decoder circuit for PC ports was found in a document from 1992. The power supply can be PC's own circuit.