Rem a max program for parallel port control Rem max commands Rem proper connection w/ invertor and new motor driver Rem parallel port motor driver Rem bit 0 pin 3 and pin 5 Rem bit 1 pin 4 Rem bit 2 pin 6 Rem note you need to add another bit to stop and start each motor indepent. maxstop = 0 maxforward = 1 maxleft = 3 maxright = 5 maxback = 7 pport = &H378 10 REM command menu 20 PRINT "0) stop" 30 PRINT "1) foward" 40 PRINT "3) left" 50 PRINT "5) right" 60 PRINT "7) back" 70 INPUT command 80 OUT pport, command 90 GOTO 10