Add a programmable interrupt counter.

The functions of the PIC is similar to that of the INTEL 8259A.