home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Assembler / CODEXASSEMBLERDEVSYSV1.1.DMS / in.adf / include / workbench / startup.i < prev    next >
Encoding:
Text File  |  1988-09-19  |  1.1 KB  |  40 lines

  1.  
  2. *** startup.i ************************************************************
  3. *
  4. *  Workbench startup definitions
  5. *
  6. * Commodore-Amiga, Inc.
  7. *
  8. * $Header: startup.i,v 29.1 85/08/15 06:58:52 neil Exp $
  9. *
  10. * $Locker:  $
  11. *
  12. ****************************************************************************
  13.  
  14.    IFND  EXEC_TYPES_I
  15.    INCLUDE  "exec/types.i"
  16.    ENDC  !EXEC_TYPES_I
  17.  
  18.    IFND  EXEC_PORTS_I
  19.    INCLUDE  "exec/ports.i"
  20.    ENDC  !EXEC_PORTS_I
  21.  
  22.    IFND  LIBRARIES_DOS_I
  23.    INCLUDE  "libraries/dos.i"
  24.    ENDC  !LIBRARIES_DOS_I
  25.  
  26.  STRUCTURE WBStartup,0
  27.     STRUCT  sm_Message,MN_SIZE      ; a standard message structure
  28.     APTR    sm_Process              ; the process descriptor for you
  29.     BPTR    sm_Segment              ; a descriptor for your code
  30.     LONG    sm_NumArgs              ; the number of elements in ArgList
  31.     APTR    sm_ToolWindow           ; description of window
  32.     APTR    sm_ArgList              ; the arguments themselves
  33.     LABEL   sm_SIZEOF
  34.  
  35.  STRUCTURE WBArg,0
  36.     BPTR    wa_Lock                 ; a lock descriptor
  37.     APTR    wa_Name                 ; a string relative to that lock
  38.     LABEL   wa_SIZEOF
  39.  
  40.