OSDev.org

The Place to Start for Operating System Developers
It is currently Sun May 19, 2024 3:56 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Putpixel and interupts in P-mode,
PostPosted: Tue Jan 30, 2007 11:16 am 
Offline

Joined: Tue Jan 30, 2007 11:07 am
Posts: 1
Location: Cyberspace
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 30, 2007 12:12 pm 
Offline
Member
Member
User avatar

Joined: Wed Oct 27, 2004 11:00 pm
Posts: 874
Location: WA
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)

_________________
## ---- ----- ------ Intel Manuals
OSdev wiki


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot] and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group