Category : C Source Code
Archive   : JER_MSC.ZIP
Filename : JER.H

 
Output of file : JER.H contained in archive : JER_MSC.ZIP
/* Since all the work that I'd ordinarily be doing with JER.LIB will
* require the other header files, I might as well include them here. If
* I don't want to include them at any time, I can include the definition
* "#define NOHEADS" before this call is made, and only JER.H will be used.
*
* Note that the less common libraries and headers still need to be loaded
* as needed, these are just the everyday ones.
*/
#ifndef JER_H
#define JER_H /* so that JER.H can be loaded only once */

#ifndef NOHEADS
#include
#include
#include
#endif
#define LINT_ARGS /* force function prototyping */
/*
* This part of JER.H contains some common definitions.
*/
#ifndef TRUE
#define FALSE 0x00 /* first off, some Boolean constants */
#define TRUE !FALSE
#define NO 0x00
#define YES !NO
#define OFF 0x00
#define ON !OFF
#endif

#ifndef NULL
#define NULL 0x00 /* define a plain old NULL that is 0 */
#endif

#ifndef SUCCEED
#define SUCCEED 0x00 /* can indicate success of a function */
#define FAIL 0xff
#endif

#ifndef BELL
#define BELL 0x07 /* these are a lot more meaningful */
#define BACKSPACE 0x08
#define TAB 0x09
#define LINEFEED 0x0a
#define FORMFEED 0x0c
#define CR 0x0d
#define ESCAPE 0x1b
#define SPACE 0x20
#define DELETE 0x7f
#endif

#ifndef FLAG
#define FLAG unsigned int /* flags to hold TRUE and FALSE */
#define BYTE unsigned char /* 8-bit unsigned int */
#endif
#define scr_putc(c,a) (scr_wac(c,a))

void clrscr();
void locate(int, int);
void scr_wac(int,int,int);
int lput(int,int,char*);
int linput(int,int,char*,int);
void time_0(void);
long time_n(void);
int input(char *, int);
int getkey(char *);
int keypressed(void);
int put(char *);
int scr_put(char *, int);
int wherer(void);
int wherec(void);
void drawbox(int, int, int, int, int, int);
void vline(int, int, int);
void vline11(int, int, int, int);
void vline12(int, int, int, int);
void vline21(int, int, int, int);
void vline22(int, int, int, int);
void hline(int, int, int);
void hline11(int, int, int, int);
void hline12(int, int, int, int);
void hline21(int, int, int, int);
void hline22(int, int, int, int);
void delay(int);

#endif /* #ifndef JER_H */



  3 Responses to “Category : C Source Code
Archive   : JER_MSC.ZIP
Filename : JER.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/