I'm new to OS programming and was wondering how I can make use of interupts in Protected mode. I was also wondering if someone could show me how to write a putpixel function in C(In protected mode).
Thanks
Putpixel and interupts in P-mode,
in PMode, you dont have access to any of the BIOS interupts, -- all interupts must point to code you've written, (except for an advanced feature of VMode, but thats different...)
to do this, you need a valid PMode IDT, where the entry you want to use points to the code your using for it
for more specific information, check the intel manuals, volume 3a, section 5.10 (and all of chapter 5 for more general information)
to do this, you need a valid PMode IDT, where the entry you want to use points to the code your using for it
for more specific information, check the intel manuals, volume 3a, section 5.10 (and all of chapter 5 for more general information)