re-implementing real mode interrupts