FreeNOS
Data Structures | Macros | Enumerations
VGA.h File Reference
#include <FreeNOS/System.h>
#include <DeviceServer.h>
#include <Types.h>

Go to the source code of this file.

Data Structures

class  VGA
 Video Graphics Array (VGA) support. More...
 

Macros

#define VGA_PADDR   (0xb8000)
 VGA physical video memory address. More...
 
#define VGA_IOADDR   0x3d4
 VGA I/O address port. More...
 
#define VGA_IODATA   0x3d5
 VGA I/O data port. More...
 
#define VGA_ATTR(front, back)   (((back & 0xf) << 4) | ((front & 0xf)))
 Encodes VGA attributes. More...
 
#define VGA_CHAR(ch, front, back)   ((VGA_ATTR(front,back) << 8) | (ch & 0xff))
 Encodes a character for VGA output. More...
 

Enumerations

enum  Colors {
  BLACK = 0, BLUE = 1, GREEN = 2, CYAN = 3,
  RED = 4, MAGENTA = 5, BROWN = 6, LIGHTGREY = 7,
  DARKGREY = 8, LIGHTBLUE = 9, LIGHTGREEN = 10, LIGHTCYAN = 11,
  LIGHTRED = 12, LIGHTMAGENTA = 13, LIGHTBROWN = 14, WHITE = 15
}
 VGA color attributes. More...