Mail Archives: djgpp-workers/2003/02/21/18:47:19
Hello.
Below is a patch to document struct SREGS in the int86x page.
OK to commit?
Thanks, bye, Rich =]
Index: src/libc/dos/dos/bdos.txh
===================================================================
RCS file: /cvs/djgpp/djgpp/src/libc/dos/dos/bdos.txh,v
retrieving revision 1.7
diff -p -c -3 -r1.7 bdos.txh
*** src/libc/dos/dos/bdos.txh 7 Feb 2003 18:13:53 -0000 1.7
--- src/libc/dos/dos/bdos.txh 21 Feb 2003 23:46:18 -0000
*************** The returned value of @code{EAX}.
*** 266,271 ****
--- 266,272 ----
@c ----------------------------------------------------------------------
@node int86x, dos
@findex int86x
+ @tindex SREGS AT r{ structure}
@subheading Syntax
@example
*************** int int86x(int ivec, union REGS *in, uni
*** 277,284 ****
@subheading Description
This function is just like @code{int86} (@pxref{int86}) except that
! values you pass in @var{SREGS} are used for the segment registers instead
of the defaults.
See also @ref{int86}, @ref{intdos}, and @ref{bdos}.
--- 278,298 ----
@subheading Description
+ The @code{struct SREGS} is defined by @code{<dos.h>} as follows:
+
+ @example
+ struct SREGS @{
+ unsigned short es;
+ unsigned short ds;
+ unsigned short fs;
+ unsigned short gs;
+ unsigned short cs;
+ unsigned short ss;
+ @};
+ @end example
+
This function is just like @code{int86} (@pxref{int86}) except that
! values you pass in @var{seg} are used for the segment registers instead
of the defaults.
See also @ref{int86}, @ref{intdos}, and @ref{bdos}.
- Raw text -