home *** CD-ROM | disk | FTP | other *** search
/ Media Share 13 / mediashare_13.zip / mediashare_13 / ZIPPED / PROGRAM / SNIP9404.ZIP / BIPORT.C < prev    next >
C/C++ Source or Header  |  1994-04-03  |  331b  |  17 lines

  1. /*
  2. **  BIPORT.C - Port TC/TC++/BC++ code using register pseudovariables
  3. **
  4. **  public domain by Bob Stout
  5. */
  6.  
  7. #include "biport.h"
  8.  
  9. union  REGS  BIP_regs_;
  10. struct SREGS BIP_sregs_;
  11.  
  12. unsigned _pascal geninterrupt(int int_no)
  13. {
  14.       int86x(int_no, &BIP_regs_, &BIP_regs_, &BIP_sregs_);
  15.       return BIP_regs_.x.ax;
  16. }
  17.