home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 215.lha / AmyLoad / load.i < prev    next >
Text File  |  1996-02-14  |  1KB  |  57 lines

  1. *----------------------------------------------------------------
  2. *
  3. *   Load Device Structure
  4. *
  5. *----------------------------------------------------------------
  6. LOAD_STACK_SIZE      EQU 200
  7.     STRUCTURE    LD,DD_SIZE
  8.     STRUCT    LD_Semaphore,SS_SIZE
  9.     STRUCT    LD_TimerRequest,IOTV_SIZE
  10.     STRUCT    LD_TimerPort,MP_SIZE
  11.     STRUCT    LD_Port,MP_SIZE
  12.     STRUCT    LD_TaskCB,TC_SIZE
  13.     STRUCT    LD_Stack,LOAD_STACK_SIZE
  14.     ULONG    LD_seglist
  15.     ULONG    LD_sysbase
  16.     UWORD    LD_Interval      ; Interval in seconds
  17.     UWORD    LD_Ticks      ; Number of measurements / time interval
  18.     ULONG    LD_secs       ; seconds between ticks
  19.     ULONG    LD_micro      ; microseconds between ticks
  20.     ULONG    LD_Max_Chip      ; absolute maximum chip memory available
  21.     ULONG    LD_Max_Fast      ; absolute maximum fast memory available
  22.     ULONG    LD_CPU
  23.     ULONG    LD_BLITTER
  24.     ULONG    LD_CHIP
  25.     ULONG    LD_FAST
  26.     UBYTE    LD_stop_count
  27.     UBYTE    LD_flags
  28.     LABEL    LD_SIZE
  29.  
  30. *----------------------------------------------------------------
  31. *
  32. *   Load Request Structure
  33. *
  34. *----------------------------------------------------------------
  35.  
  36.     STRUCTURE    LR,IO_SIZE
  37.     ULONG        LV_CPU
  38.     ULONG        LV_BLITTER
  39.     ULONG        LV_CHIP
  40.     ULONG        LV_FAST
  41.     UWORD        LV_INTERVAL
  42.     UWORD        LV_TICKS
  43.     BYTE        LV_PRI
  44.     LABEL    LR_SIZE
  45.  
  46. LOADNAME    MACRO
  47.         DC.B    'load.device',0
  48.         ENDM
  49.  
  50.     BITDEF        LD,OPEN_EXCL,0
  51. LDERR_IN_USE        EQU -5
  52. LDERR_ACCESS_DENIED EQU -6
  53. LDERR_NOT_STOPPED   EQU -7
  54.  
  55.     DEVINIT
  56.     DEVCMD    LD_SET
  57.