init PIC IDT GDT and ready for writing interrupt handler