
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - intdos
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
intdos
Usage
#include <dos.h> /* register structures */
int intdos(union REGS *regsin,union REGS *regsout);
Description
This function performs a DOS system call (int 0x21). Consult your DOS
manual for specific function and calling conventions.
regsin is a pointer to a structure containing the values of the
registers AX, BX, CX, DX, SI and DI to be passed to the interrupt.
regsout is a pointer to a structure into which the return values of
the registers will be written.
The state of the carry flag can be determined from x.cflag in regsout.
The union REGS is defined in dos.h.
Return Value
The value that was in AX at the end of the interrupt.
See Also: int86 int86x intdosx bdos
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson