2060 improved serial input logic