I’m writing my own operating system and need to know how to modify the interrupt table so that certain ones (print string, etc.) are redirected to the command prompt application, similar to how DOS did it.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For what it’s worth, I’ve only done this in DOS in what now feels like another life, but – if I recall correctly – all we did was disable interrupts, write a new pointer to the desired entry in the interrupt table (starting at address 0:0), and then re-enable interrupts.