Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

vt100.h File Reference

Detailed Description

Definition in file vt100.h.

#include "global.h"

Go to the source code of this file.


#define VT100_ATTR_OFF   0
#define VT100_BOLD   1
#define VT100_USCORE   4
#define VT100_BLINK   5
#define VT100_REVERSE   7
#define VT100_BOLD_OFF   21
#define VT100_USCORE_OFF   24
#define VT100_BLINK_OFF   25
#define VT100_REVERSE_OFF   27


void vt100Init (void)
void vt100ClearScreen (void)
 vt100ClearScreen() clears the terminal screen
void vt100SetAttr (u08 attr)
void vt100SetCursorMode (u08 visible)
 vt100SetCursorMode() sets the cursor to visible or invisible
void vt100SetCursorPos (u08 line, u08 col)

Function Documentation

void vt100Init void   ) 

vt100Init() initializes terminal and vt100 library Run this init routine once before using any other vt100 function.

Definition at line 35 of file vt100.c.

void vt100SetAttr u08  attr  ) 

vt100SetAttr() sets the text attributes like BOLD or REVERSE Text written to the terminal after this function is called will have the desired attribuutes.

Definition at line 48 of file vt100.c.

void vt100SetCursorPos u08  line,
u08  col

vt100SetCursorPos() sets the cursor position All text which is written to the terminal after a SetCursorPos command will begin at the new location of the cursor.

Definition at line 64 of file vt100.c.

Generated on Sun Oct 29 03:41:09 2006 for Procyon AVRlib by  doxygen 1.4.2