I wonder why Mach only gives you 5 inputs and so many outputs
Afraid its the parallel port and not Mach thats the problem. With a second port (as long as its an enahanced one) you can set pins 2-9 as inputs but on the first port you cant or you wouldnt have any outputs for motors

Hood