Page 1 of 1

Protected Mode OS

Posted: Wed Jun 25, 2003 11:00 pm
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.

RE:Protected Mode OS

Posted: Wed Jun 25, 2003 11:00 pm
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

RE:Protected Mode OS

Posted: Wed Jun 25, 2003 11:00 pm
by kataklinger
Well you should try to read something about PM first.