/* TT7PCLIB.H */

/* In \az68\include\tt7  */
#include <timing.h>
#include <serio.h>

/* In \tc\include */
#include <dos.h>
#include <time.h>
#include <conio.h>
#include <stdio.h>

/* Couldn't use TT7 header file for these */
short AtoDReadWord(short chan);
void PChange(char port, unsigned short pin);
void PClear(char port, unsigned short pin);
int Pin(char port, unsigned short pin);
void PSet(char port, unsigned short pin);
int TPUGetPin(short chan);
void TPUSetPin(short chan, short pinval);
void SetTimeTM(struct tm *tp, vfptr sync);

/* Port pin definitions for "pin" functions while in PC simulation */
#define D   1
#define E   2
#define F   3