How I can make a DOS system calls in C languge using the windows
invronment (WIN2000) with Visual C++ compiler??...
I am trying to make Dos calls like:
char row, column;
union REGS inregs;
union REGS outregs;
inregs.h.ah = 2; /* service 2 - position the cursor */
inregs.h.dh = row;
inregs.h.dl = column;
inregs.h.bh = 0;
int86(0x10,&inregs,&outregs); /* interrupt 10 */
The compiler is giving me an error here since he does not know this calls
of DOS. every compiler has different calls to DOS. What I have to do??
download the source and look the file
to see how I implemented this.
[ back to toc ]