home *** CD-ROM | disk | FTP | other *** search
/ TopWare Tools / TOOLS.iso / tools / top1576 / gepackt.exe / SAMPLES.ZIP / SAMPLES / CAZ.C < prev    next >
Encoding:
C/C++ Source or Header  |  1993-05-25  |  356 b   |  14 lines

  1. // "Caz-1204"
  2. #include    "dlink.h"
  3.  
  4. far cure()    {
  5.  
  6. Seek(EP+0x425);        Read(Page_C,4);
  7. ((ulong far*)Page_C)[0]^=0xFFFFFFFF;
  8. if (File_Format==_COM_)    return Cure_COM_Immediate(Page_C,4,EP);
  9.     else        return Cure_EXE(EP,
  10.                 ((uint far*)(Page_C))[1],
  11.                 ((uint far*)(Page_C))[0],
  12.                 ((uint far*)(Header+0x0E))[0],
  13.                 ((uint far*)(Header+0x10))[0]);        }
  14.