video.h File Reference

Go to the source code of this file.

Defines


Define Documentation

#define CURSOR_LOCATION   0xe
 

Definition at line 14 of file video.h.

#define PORT_VIDEO_REG_RD   0x3d4
 

Definition at line 10 of file video.h.

#define PORT_VIDEO_REG_WR   0x3d4
 

Definition at line 6 of file video.h.

#define PORT_VIDEO_VALUE_RD   0x3d5
 

Definition at line 11 of file video.h.

#define PORT_VIDEO_VALUE_WR   0x3d5
 

Definition at line 7 of file video.h.

#define refresh_cursor offset   )     setword_vga(CURSOR_LOCATION, offset)
 

Definition at line 32 of file video.h.

Referenced by putchar().

#define setbyte_vga registro,
valor   ) 
 

Value:

{cli(); \
                                     outportb (PORT_VIDEO_REG_WR, registro); \
                                     outportb (PORT_VIDEO_VALUE_WR, valor ); \
                                     sti(); }

Definition at line 25 of file video.h.

#define setword_vga registro,
valor   ) 
 

Value:

{cli();                                                                         \
                                     outportb (PORT_VIDEO_REG_WR, registro);                                    \
                                     outportb (PORT_VIDEO_VALUE_WR, (((word)valor)>>8) & 0xFF); \
                                 outportb (PORT_VIDEO_REG_WR, registro + 1);                            \
                                     outportb (PORT_VIDEO_VALUE_WR, (byte) (valor) );                   \
                                     sti(); }

Definition at line 17 of file video.h.

#define VIDEO_BASE   0xB8000
 

Definition at line 3 of file video.h.

#define video_location pos   )     setword_vga(VIDEO_LOCATION, pos)
 

Definition at line 34 of file video.h.

#define VIDEO_LOCATION   0xc
 

Definition at line 13 of file video.h.


Generated on Sun May 30 18:38:37 2004 for Routix OS by doxygen 1.3.6