home *** CD-ROM | disk | FTP | other *** search
/ Turbo Toolbox / Turbo_Toolbox.iso / 1989 / 02 / extra / coproces.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-11-28  |  1.0 KB  |  37 lines

  1. /*********************************************************/
  2. /*                      COPROCES.H                       */
  3. /*        Headerdatei für Coprocesse in LATTICE C        */
  4. /*           (C) 1988 Roland Mosler & TOOLBOX            */
  5. /*********************************************************/
  6.  
  7. typedef struct _process
  8.                         {
  9.                           int D0,D1,D2,D3,D4,D5,D6,D7,
  10.                               A0,A1,A2,A3,A4,A5,A6,A7 ;
  11.                         } PROCESS ;
  12.  
  13.  
  14.  
  15.  
  16. extern int newproc( void (*)(), char *, int, PROCESS * ) ;
  17. extern int transfer( PROCESS *,PROCESS *) ;
  18.  
  19. /*********************************************************
  20.  
  21.   Functionheadings :
  22.  
  23.   int newproc( function,buffer,size,proc )
  24.     void    (*function)() ;
  25.     char    *buffer ;
  26.     int     size ;
  27.     PROCESS *proc ;
  28.  
  29.   return : buffer+size-4
  30.  
  31.   int  transfer( old,new )
  32.     PROCESS *old,*new ;
  33.  
  34.   return : new.D0  ( was sonst ? )
  35.  
  36. *********************************************************/
  37.