Page 1 of 1
Putpixel and interupts in P-mode,
Posted: Tue Jan 30, 2007 11:16 am
by mavix
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
Posted: Tue Jan 30, 2007 12:12 pm
by JAAman
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)