Go to the source code of this file.
Data Structures | |
struct | SBUF |
Defines | |
#define | BLACK 0 |
#define | RED 1 |
#define | GREEN 2 |
#define | YELLOW 3 |
#define | BLUE 4 |
#define | VIOLET 5 |
#define | CYAN 6 |
#define | WHITE 7 |
#define | FGND(color) ((color) << 3) |
#define | BGND(color) ((color)) |
#define | NORMAL (FGND(WHITE) | BGND(BLACK)) |
#define | UNDERLINED (FGND(BLUE) | BGND(BLACK)) |
#define | REVERSE (FGND(BLACK) | BGND(WHITE)) |
#define | BLINKING 0x80 |
#define | BOLD 0x08 |
#define | IMALLOC malloc |
#define | IFREE free |
Typedefs | |
typedef unsigned int | WORD |
typedef WORD * | IMAGEP |
Functions | |
int | vb_iscolor (void) |
void | vb_getyx (int *yp, int *xp) |
void | vb_putc (int c, int attrib) |
void | vb_puts (char *str, int move_cur) |
int | vb_getchar (void) |
SBUF * | vb_save (int l, int r, int t, int b) |
SBUF * | vb_restore (SBUF *sbuf) |
void | vb_freesbuf (SBUF *sbuf) |
int | _Vbios (int service, int al, int bx, int cx, int dx, char *return_this) |
int | dv_init (void) |
void | dv_scroll_line (int x_left, int x_right, int y_top, int y_bottom, int dir, int attrib) |
void | dv_scroll (int x_left, int x_right, int y_top, int y_bottom, int amt, int attrib) |
void | dv_clrs (int attrib) |
void | dv_clr_region (int l, int r, int t, int b, int attrib) |
void | dv_ctoyx (int y, int x) |
void | dv_getyx (int *rowp, int *colp) |
void | dv_putc (int c, int attrib) |
void | dv_putchar (int c) |
void | dv_puts (char *str, int move_cur) |
void | dv_putsa (char *str, int attrib) |
int | dv_incha (void) |
void | dv_outcha (int c) |
void | dv_replace (int c) |
void | dv_printf (int attribute, char *fmt,...) |
SBUF * | dv_save (int l, int r, int t, int b) |
SBUF * | dv_restore (SBUF *sbuf) |
void | dv_freesbuf (SBUF *sbuf) |
void | dv_screen_attrib (int *nCols, int *nRows) |
void | dv_putcyx (int y, int x, int c, int a) |
#define IFREE free |
#define NORMAL (FGND(WHITE) | BGND(BLACK)) |
int _Vbios | ( | int | service, | |
int | al, | |||
int | bx, | |||
int | cx, | |||
int | dx, | |||
char * | return_this | |||
) |
void dv_clr_region | ( | int | l, | |
int | r, | |||
int | t, | |||
int | b, | |||
int | attrib | |||
) |
void dv_clrs | ( | int | attrib | ) |
void dv_ctoyx | ( | int | y, | |
int | x | |||
) |
void dv_freesbuf | ( | SBUF * | sbuf | ) |
Definition at line 6 of file DV_FREES.c.
References free, IFREE, and SBUF::image.
Referenced by freescr().
void dv_getyx | ( | int * | rowp, | |
int * | colp | |||
) |
int dv_incha | ( | void | ) |
int dv_init | ( | void | ) |
void dv_outcha | ( | int | c | ) |
void dv_printf | ( | int | attribute, | |
char * | fmt, | |||
... | ||||
) |
void dv_putc | ( | int | c, | |
int | attrib | |||
) |
void dv_putchar | ( | int | c | ) |
void dv_putcyx | ( | int | y, | |
int | x, | |||
int | c, | |||
int | a | |||
) |
void dv_puts | ( | char * | str, | |
int | move_cur | |||
) |
void dv_putsa | ( | char * | str, | |
int | attrib | |||
) |
void dv_replace | ( | int | c | ) |
Definition at line 6 of file DV_RESTO.c.
References SBUF::bottom, SBUF::image, SBUF::left, SBUF::right, SBUF::top, and VSCREEN.
Referenced by restore().
SBUF* dv_save | ( | int | l, | |
int | r, | |||
int | t, | |||
int | b | |||
) |
Definition at line 7 of file DV_SAVE.c.
References SBUF::bottom, SBUF::image, IMALLOC, SBUF::left, malloc, SBUF::right, SBUF::top, and VSCREEN.
Referenced by savescr().
void dv_screen_attrib | ( | int * | nCols, | |
int * | nRows | |||
) |
Definition at line 11 of file DV_INIT.c.
References NUMCOLS, and NUMROWS.
Referenced by DisplayAttrib().
void dv_scroll | ( | int | x_left, | |
int | x_right, | |||
int | y_top, | |||
int | y_bottom, | |||
int | amt, | |||
int | attrib | |||
) |
void dv_scroll_line | ( | int | x_left, | |
int | x_right, | |||
int | y_top, | |||
int | y_bottom, | |||
int | dir, | |||
int | attrib | |||
) |
Definition at line 85 of file DV_SCROL.c.
References clr_col(), clr_row(), cpy_col(), and cpy_row().
Referenced by dv_putc(), dv_scroll(), and outc().
void vb_freesbuf | ( | SBUF * | sbuf | ) |
int vb_getchar | ( | void | ) |
void vb_getyx | ( | int * | yp, | |
int * | xp | |||
) |
int vb_iscolor | ( | void | ) |
void vb_putc | ( | int | c, | |
int | attrib | |||
) |
void vb_puts | ( | char * | str, | |
int | move_cur | |||
) |
SBUF* vb_save | ( | int | l, | |
int | r, | |||
int | t, | |||
int | b | |||
) |