Improving L297 based Unipolar stepper driver
5V logic is not nearly enough to turn on those MOSFETs sufficiently. Vgs threshold has a max value of 4V, so they may be barely on with a TTL high signal.  10V or 12V on the gate would be much better.