GUI

From OSDev Wiki

Jump to: navigation, search

This page or section is a stub. Please help by expanding it

A Graphical User Interface or GUI uses graphics in combination with text to display output. GUIs usually require a mouse to be able to take input and to be used to their fullest extent.

Requirements

Coding a GUI takes lots of time, knowledge, and patience. The OS has to have a graphics driver and a mouse driver at the very least, so it can check for mouse clicks on areas like buttons on the screen. Like with most other things, coding a GUI in real mode would probably be easier than in protected mode because of the availability of BIOS interrupt calls.

You need to know how to get into a graphics mode and plot pixels, lines, and shapes on the screen for starters. You also need to know about the signals that PS/2 mice send when they are moved and buttons are pressed and held down, and how to implement a driver for handling all that stuff.

See Also

Articles

Retrieved from "http://wiki.osdev.org/GUI"
Personal tools