home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / TRSICAT.LZX / CATS_CD2_TRSI / Inc&AD1.3 / Includes / resources / misc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-12  |  945 b   |  47 lines

  1. #ifndef RESOURCES_MISC_H
  2. #define RESOURCES_MISC_H
  3. /*
  4. **    $Filename: resources/misc.h $
  5. **    $Release: 1.3 $
  6. **
  7. **    external declarations for misc system resources 
  8. **
  9. **    (C) Copyright 1985,1986,1987,1988 Commodore-Amiga, Inc.
  10. **        All Rights Reserved
  11. */
  12.  
  13. #ifndef EXEC_TYPES_H
  14. #include "exec/types.h" 
  15. #endif    !EXEC_TYPES_H
  16.  
  17. #ifndef EXEC_LIBRARIES_H
  18. #include "exec/libraries.h" 
  19. #endif    !EXEC_LIBRARIES_H
  20.  
  21.  
  22. /********************************************************************
  23. *
  24. * Resource structures
  25. *
  26. ********************************************************************/
  27.  
  28. #define MR_SERIALPORT    0
  29. #define MR_SERIALBITS    1
  30. #define MR_PARALLELPORT 2
  31. #define MR_PARALLELBITS 3
  32.  
  33. #define NUMMRTYPES    4
  34.  
  35. struct MiscResource {
  36.     struct Library mr_Library;
  37.     ULONG mr_AllocArray[NUMMRTYPES];
  38. };
  39.  
  40. #define MR_ALLOCMISCRESOURCE    (LIB_BASE)
  41. #define MR_FREEMISCRESOURCE    (LIB_BASE + LIB_VECSIZE)
  42.  
  43.  
  44. #define MISCNAME "misc.resource"
  45.  
  46. #endif    /* RESOURCES_MISC_H */
  47.