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
Wrap
C/C++ Source or Header
|
1991-01-05
|
3KB
|
77 lines
/*
****************************************************************************
Input Device ToolKit Subroutines.
Pragmas.
InputPragmas.h.
Version 1.1.
Paris E. Bingham Jr.
Copyright © 1986 - 1990 All Rights Reserved.
History:
Version Date Comments
------- -------- -----------------------------------------------
1.0 12/01/89 PEB - Created.
1.1 09/04/90 PEB - Add support for Manx C V5.0.
09/22/90 PEB - Add support for SAS C V5.10.
****************************************************************************
*/
#ifndef DT_PROTO_INPUTPRAGMAS_H
#define DT_PROTO_INPUTPRAGMAS_H
#ifndef NO_PRAGMAS
#ifdef SAS
#include "DeviceToolKits/InputBase.h"
extern struct DTInputBase *DTInputBase;
#pragma libcall DTInputBase DTInputCreate 1e 801
#pragma libcall DTInputBase DTInputCreateLike 24 9802
#pragma libcall DTInputBase DTInputDestroy 2a 801
#pragma libcall DTInputBase DTInputFlush 30 801
#pragma libcall DTInputBase DTInputReset 36 801
#pragma libcall DTInputBase DTInputStart 3c 801
#pragma libcall DTInputBase DTInputStop 42 801
#pragma libcall DTInputBase DTInputWriteEvent 48 9803
#pragma libcall DTInputBase DTInputAddHandler 4e 9802
#pragma libcall DTInputBase DTInputRemHandler 54 9802
#pragma libcall DTInputBase DTInputSetMPort 5a 9802
#pragma libcall DTInputBase DTInputSetMTrigger 60 9802
#pragma libcall DTInputBase DTInputSetMType 66 9802
#pragma libcall DTInputBase DTInputSetPeriod 6c 9802
#pragma libcall DTInputBase DTInputSetThresh 72 9802
#endif
#ifdef MANXV5
#pragma amicall (DTInputBase,0x1e,DTInputCreate(A0))
#pragma amicall (DTInputBase,0x24,DTInputCreateLike(A0,A1))
#pragma amicall (DTInputBase,0x2a,DTInputDestroy(A0))
#pragma amicall (DTInputBase,0x30,DTInputFlush(A0))
#pragma amicall (DTInputBase,0x36,DTInputReset(A0))
#pragma amicall (DTInputBase,0x3c,DTInputStart(A0))
#pragma amicall (DTInputBase,0x42,DTInputStop(A0))
#pragma amicall (DTInputBase,0x48,DTInputWriteEvent(A0,A1,D0))
#pragma amicall (DTInputBase,0x4e,DTInputAddHandler(A0,A1))
#pragma amicall (DTInputBase,0x54,DTInputRemHandler(A0,A1))
#pragma amicall (DTInputBase,0x5a,DTInputSetMPort(A0,A1))
#pragma amicall (DTInputBase,0x60,DTInputSetMTrigger(A0,A1))
#pragma amicall (DTInputBase,0x66,DTInputSetMType(A0,A1))
#pragma amicall (DTInputBase,0x6c,DTInputSetPeriod(A0,A1))
#pragma amicall (DTInputBase,0x72,DTInputSetThresh(A0,A1))
#endif
#endif
/*
****************************************************************************
End of InputPragmas.h
****************************************************************************
*/
#endif