Category : Files from Magazines
Archive   : DISKEDT.ZIP
Filename : VIDEO.H

 
Output of file : VIDEO.H contained in archive : DISKEDT.ZIP
/* video.h - constants and prototypes for video output routines in VIDEO.C */
/* lrs 2/13/89 */

#define BLACK 0
#define BLUE 1
#define GREEN 2
#define CYAN 3
#define RED 4
#define MAGENTA 5
#define BROWN 6
#define LIGHTGRAY 7
#define DARKGRAY 8
#define LIGHTBLUE 9
#define LIGHTGREEN 10
#define LIGHTCYAN 11
#define LIGHTRED 12
#define LIGHTMAGENTA 13
#define YELLOW 14
#define WHITE 15
#define BLINK 128 /* add to backcolor */
#define REVERSE BLACK,LIGHTGRAY
#define NORMAL WHITE,BLACK
#define DIM LIGHTGRAY,BLACK

#include

#define cursoroff() cursorsize(0x20,0)
#define cursoron() cursorsize(0,14)

int screenrows(void);
int screencols(void);

void scroll(int lines, int x1, int y1, int x2, int y2);
void cursorsize(int startline, int endline);
void clearscreen(void);
void cleareol(void);
void at(int row, int col);
void in(char forecolor, char backcolor);
void cprintf(va_list arg_list, ...);
void cputc(char ch);
void Write16Bytes (void* buf);
void initvideo(void);
/*---- end of video.h ----*/

  3 Responses to “Category : Files from Magazines
Archive   : DISKEDT.ZIP
Filename : VIDEO.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/