home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 2 / fishmore-publicdomainlibraryvol.ii1991xetec.iso / fish / libraries / input_446 / my_include / devicetoolkits / proto / inputpragmas.h < prev   
C/C++ Source or Header  |  1991-01-05  |  3KB  |  77 lines

  1. /*
  2. ****************************************************************************
  3.  
  4.       Input Device ToolKit Subroutines.
  5.       Pragmas.
  6.  
  7.       InputPragmas.h.
  8.       Version 1.1.
  9.  
  10.       Paris E. Bingham Jr.
  11.       Copyright © 1986 - 1990  All Rights Reserved.
  12.  
  13.  
  14.       History:
  15.  
  16.     Version      Date      Comments
  17.     -------    --------    -----------------------------------------------
  18.       1.0      12/01/89    PEB - Created.
  19.       1.1      09/04/90    PEB - Add support for Manx C V5.0.
  20.                09/22/90    PEB - Add support for SAS C V5.10.
  21.  
  22. ****************************************************************************
  23. */
  24.  
  25. #ifndef  DT_PROTO_INPUTPRAGMAS_H
  26. #define  DT_PROTO_INPUTPRAGMAS_H
  27.  
  28. #ifndef  NO_PRAGMAS
  29. #ifdef   SAS
  30. #include "DeviceToolKits/InputBase.h"
  31. extern   struct   DTInputBase *DTInputBase;
  32.  
  33. #pragma libcall DTInputBase DTInputCreate 1e 801
  34. #pragma libcall DTInputBase DTInputCreateLike 24 9802
  35. #pragma libcall DTInputBase DTInputDestroy 2a 801
  36. #pragma libcall DTInputBase DTInputFlush 30 801
  37. #pragma libcall DTInputBase DTInputReset 36 801
  38. #pragma libcall DTInputBase DTInputStart 3c 801
  39. #pragma libcall DTInputBase DTInputStop 42 801
  40. #pragma libcall DTInputBase DTInputWriteEvent 48 9803
  41. #pragma libcall DTInputBase DTInputAddHandler 4e 9802
  42. #pragma libcall DTInputBase DTInputRemHandler 54 9802
  43. #pragma libcall DTInputBase DTInputSetMPort 5a 9802
  44. #pragma libcall DTInputBase DTInputSetMTrigger 60 9802
  45. #pragma libcall DTInputBase DTInputSetMType 66 9802
  46. #pragma libcall DTInputBase DTInputSetPeriod 6c 9802
  47. #pragma libcall DTInputBase DTInputSetThresh 72 9802
  48. #endif
  49.  
  50. #ifdef   MANXV5
  51. #pragma amicall (DTInputBase,0x1e,DTInputCreate(A0))
  52. #pragma amicall (DTInputBase,0x24,DTInputCreateLike(A0,A1))
  53. #pragma amicall (DTInputBase,0x2a,DTInputDestroy(A0))
  54. #pragma amicall (DTInputBase,0x30,DTInputFlush(A0))
  55. #pragma amicall (DTInputBase,0x36,DTInputReset(A0))
  56. #pragma amicall (DTInputBase,0x3c,DTInputStart(A0))
  57. #pragma amicall (DTInputBase,0x42,DTInputStop(A0))
  58. #pragma amicall (DTInputBase,0x48,DTInputWriteEvent(A0,A1,D0))
  59. #pragma amicall (DTInputBase,0x4e,DTInputAddHandler(A0,A1))
  60. #pragma amicall (DTInputBase,0x54,DTInputRemHandler(A0,A1))
  61. #pragma amicall (DTInputBase,0x5a,DTInputSetMPort(A0,A1))
  62. #pragma amicall (DTInputBase,0x60,DTInputSetMTrigger(A0,A1))
  63. #pragma amicall (DTInputBase,0x66,DTInputSetMType(A0,A1))
  64. #pragma amicall (DTInputBase,0x6c,DTInputSetPeriod(A0,A1))
  65. #pragma amicall (DTInputBase,0x72,DTInputSetThresh(A0,A1))
  66. #endif
  67. #endif
  68.  
  69. /*
  70. ****************************************************************************
  71.       End of InputPragmas.h
  72. ****************************************************************************
  73. */
  74.  
  75. #endif
  76.  
  77.