 High priority microthreads provided (in decreasing priority) video, network, disk, a periodic timer, mouse, and keyboard.The microprogram did the complex logic of the I/O device, as well as the logic to integrate the device with the computer.For the actual hardware I/O, the microprogram read and wrote shift registers for most I/O, sometimes with resistor networks and transistors to shift output voltage levels (e.g.