hi!
i have a little question! i am working on a little operating system now i want to execute binarys! now i have the problem i need an interrupt handler to get back into the kernel from my programm...
where i can get goot tutorials about a interrupt handler in the real mode?
thanks!!
hazelnoot
INTERRUPT HANDLER
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:INTERRUPT HANDLER
what you need is called a "system call". In real mode, that's as easy as writing the code:segment values of your system call in the "Interrupt Vector Table" and terminating your handler with a "iret" instruction.
There are certainly profusion of such tutorials; google for "TSR" programs (Terminate and Stay Resident) -- if you got how they work, you should be ready to face kernel system calls.
There are certainly profusion of such tutorials; google for "TSR" programs (Terminate and Stay Resident) -- if you got how they work, you should be ready to face kernel system calls.