flat assembler
Message board for the users of flat assembler.

Index > Main > Good graphics like on OSes

Author
Thread Post new topic Reply to topic
estrang



Joined: 02 Nov 2005
Posts: 38
estrang 02 Nov 2005, 23:07
Just wondering how do you people make an OS have nice graphics output such as menuets, linux, or Windows. I mean ive tried c before which i use bgi for some graphics. It looks real bad. Its only a graphics interface i kow w/c some compilers have them budled.

So my question is how does real cool graphics, interface whatever it is called done in programming?? How do they do it??
Post 02 Nov 2005, 23:07
View user's profile Send private message Reply with quote
gunblade



Joined: 19 Feb 2004
Posts: 209
gunblade 03 Nov 2005, 00:34
Systems like Menuet use VESA, which is a standardised (if there is such a thing nowadays) interface for graphics cards. Meaning that most graphics cards will work if you use the VESA commands/interrupts.

More advanced systems like Linux and Windows use either Device drivers for the specific graphics card, which means that you can take advantage of the full features of the card, otherwise they might use VESA if they are wanting compatibility, or dont have device drivers for your device.

If you wanting a program to use these graphics which running in an OS, then use something like Direct3D/DirectDraw/OpenGL/SDL for windows, or OpenGL/SDL/Xlib for linux. They are libraries which use the drivers already on the system, therefore it means you dont have to manually interface with the drivers (which the OS might not let you do anyway, for safety purposes).
Post 03 Nov 2005, 00:34
View user's profile Send private message Reply with quote
estrang



Joined: 02 Nov 2005
Posts: 38
estrang 03 Nov 2005, 19:39
Thnks for the info that helps a lot.
Post 03 Nov 2005, 19:39
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.