Protected Mode OS

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Protected Mode

Protected Mode OS

Post by Protected Mode »

hi all,

     we have planned to develop an os in protected mode. should i have to write the interrupt handler for my os or shall i use the BIOS interrupts by making it as a segment.

thanks in advance.
carbonBased

RE:Protected Mode OS

Post by carbonBased »

That sentance doesn't make sense, so I suspect you've been told something not entirely true about how protected mode and/or the bios works.

In any event, you'll have to write all your own interrupts.  The BIOS is useless in pmode, unless you want to write a vm86 handler to call the BIOS for each interrupt, which is both slower, and cumbersome.  You'd be better off writting your own, and using the BIOS _only_ for things that would actually save you time (such as VESA).

Cheers,
Jeff
User avatar
kataklinger
Member
Member
Posts: 381
Joined: Fri Nov 04, 2005 12:00 am
Location: Serbia

RE:Protected Mode OS

Post by kataklinger »

Well you should try to read something about PM first.
Post Reply