Go to the first, previous, next, last section, table of contents.


int86x

Syntax

#include <dos.h>

int int86x(int ivec, union REGS *in, union REGS *out, struct SREGS *seg);

Description

This function is just like int86 (see section int86) except that values you pass in SREGS are used for the segment registers instead of the defaults.

See section int86. See section intdos. See section bdos.

Return Value

The value of EAX is returned.

Portability

not ANSI, not POSIX

Example

union REGS r;
struct SREGS s;
r.h.ah = 0x31;
r.h.dl = 'c';
r.x.si = si_val;
s.ds = ds_val;
int86x(0x21, &r, &r, &s);


Go to the first, previous, next, last section, table of contents.