OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Mar 29, 2024 9:35 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: gui functionality in new os for newbie
PostPosted: Fri Mar 30, 2001 12:00 am 
I have decide to make my own operating system
using assembly language and the nasm assembler.
Is there a library that I can use that will allow
me to access either the video interupts or hardware
directly in protected mode. I have DJGPP but will it
work with an alternate operating system (one that
will not be dos based)??


Top
  
 
 Post subject: RE:gui functionality in new os for newbie
PostPosted: Fri Mar 30, 2001 12:00 am 
>On 2001-03-30 13:31:18, Eddiec wrote:
>I have decide to make my own operating system
>using assembly language and the nasm assembler.

That's a no-go. You really want to use a 3rd or 4th
generation language or you'll be hating life or
insane...

It may seem more complex at first but it'll save
you SO much effort...

>Is there a library that I can use that will allow
>me to access either the video interupts or hardware
>directly in protected mode.

That is one of the biggest flaws of PC hardware.
Some new video cards present a 32 bit interface
(see VESA 2). But as a general rule you must
either implement a "callback" to DOS or the BIOS
or spend the rest of your life studying chipset
manuals.

>I have DJGPP but will it work with an alternate
> operating system (one that will not be dos based)??

I don't know enough about the DJGPP system but it
would seem that it can produce general 32 bit
executables. The only real problem once you have
written the kernel of your new OS is rewriting
certain key libraries to call your kernel's
services instead of their DOS counterparts...


Top
  
 
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], TYDQSoft and 169 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