OS Dev Series: Tutorial 15
Posted: Sat Apr 12, 2008 2:28 pm
Hey everyone,
Tutorial 15: Errors, Exceptions, Interruptions is up.
It covers a few basic concepts to include:
* Error Handling
* Exception Handling
* IRs, IRQs, ISRs
* Gates: Traps, Interrupts, Tasks
* IDTs and IVTs
* IDTR processor register
* LIDT and SIDT instructions
* FLIHs and SLIHs
* How interrupts work, stack, error codes
It covers loading a gdt using MSVC++'s inline assembler, and a new way of installing irq's directly without the need of a common stub routine.
It also provides a workable interface for the hardware abstraction layer (hal.lib/hal.dll)
Please let me know if there are any errors or problems with the tutorial or demo code. I am planning on adding more content to describe the different types of gates a bit further, and exception error codes. Is there anything else I should add? I don't plan on integrating hardware exceptions until the next tutorial. (The demo has been verified to work fine with hardware exceptions, so it should not be to hard)
Tutorial 15 Direct Link
OS Development Series Direct Link
Thanks in advance for any comments or suggestions!
Tutorial 15: Errors, Exceptions, Interruptions is up.
It covers a few basic concepts to include:
* Error Handling
* Exception Handling
* IRs, IRQs, ISRs
* Gates: Traps, Interrupts, Tasks
* IDTs and IVTs
* IDTR processor register
* LIDT and SIDT instructions
* FLIHs and SLIHs
* How interrupts work, stack, error codes
It covers loading a gdt using MSVC++'s inline assembler, and a new way of installing irq's directly without the need of a common stub routine.
It also provides a workable interface for the hardware abstraction layer (hal.lib/hal.dll)
Please let me know if there are any errors or problems with the tutorial or demo code. I am planning on adding more content to describe the different types of gates a bit further, and exception error codes. Is there anything else I should add? I don't plan on integrating hardware exceptions until the next tutorial. (The demo has been verified to work fine with hardware exceptions, so it should not be to hard)
Tutorial 15 Direct Link
OS Development Series Direct Link
Thanks in advance for any comments or suggestions!