Obviously, the lines are inverted because the code is written that way.  Why it worked the opposite of that on the old PC is unknown.  I suspect something was wrong with the wiring and the decision was made to just invert the lines rather than locate the actual problem. 
					
				
			
			
				
	aputman