How do I make a small library in c, Using Watcom C/C++ 10.6.
Here are some sample code I have tried.
The code works, just wanna know how to put it in a LIB ?
I compiled the myconio.c to myconio.obj then used the library
utility to make myconio.lib, but then I can't use it.
How should myconio.h look like and how should I go about doing a lib ?
extern void clrscr(void);
#pragma aux clrscr = \
"Mov Ax, 0B800h" \
"Mov Es, Ax" \
"Mov Cx, 07D0h" \
"Xor Di, Di" \
"Mov Ax, 0700h" \
// clrscr ends.