implement in C some interrupt handlers, semaphores, and a round-robin  scheduler within a simulated hardware framework.