home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / progmisc / nfsrc21.zip / CINT86.H < prev    next >
C/C++ Source or Header  |  1991-08-16  |  1KB  |  65 lines

  1. /*
  2.  * File......: CINT86.H
  3.  * Author....: Ted Means
  4.  * Date......: $Date:   15 Aug 1991 23:09:00  $
  5.  * Revision..: $Revision:   1.1  $
  6.  * Log file..: $Logfile:   E:/nanfor/src/cint86.h_v  $
  7.  * 
  8.  * This is an original work by Ted Means and is placed in the
  9.  * public domain.
  10.  *
  11.  * Modification history:
  12.  * ---------------------
  13.  *
  14.  * $Log:   E:/nanfor/src/cint86.h_v  $
  15.  * 
  16.  *    Rev 1.1   15 Aug 1991 23:09:00   GLENN
  17.  * Forest Belt proofread/edited/cleaned up doc
  18.  * 
  19.  *    Rev 1.0   27 May 1991 13:22:46   GLENN
  20.  * Initial revision.
  21.  *
  22.  */
  23.  
  24.  
  25.  
  26. /*  This is the header file for CINT86.C */
  27.  
  28. struct REGSW
  29. {
  30.     unsigned int ax;
  31.     unsigned int bx;
  32.     unsigned int cx;
  33.     unsigned int dx;
  34. };
  35.  
  36.  
  37. struct REGSB
  38. {
  39.     unsigned char al, ah;
  40.     unsigned char bl, bh;
  41.     unsigned char cl, ch;
  42.     unsigned char dl, dh;
  43. };
  44.  
  45. union COMBINED
  46. {
  47.     struct REGSW w;
  48.     struct REGSB b;
  49. };
  50.  
  51. struct CPUREGS
  52. {
  53.     union COMBINED gp;
  54.     unsigned int si;
  55.     unsigned int di;
  56.     unsigned int bp;
  57.     unsigned int ds;
  58.     unsigned int es;
  59.     unsigned int flags;
  60. };
  61.  
  62. void pascal __ftint86( unsigned int, struct CPUREGS * );
  63.  
  64.  
  65.