#ifndef HEADER_H
#define HEADER_H

#define LPT1                0x378
#define LPT2                0x278
//#define SET_LPT             LPT1
extern unsigned long SET_LPT;

#define DATA_PORT           SET_LPT
#define STATE_PORT          SET_LPT+1
#define CONTROL_PORT        SET_LPT+2

#define READ_PORT           STATE_PORT
#define WRITE_PORT          DATA_PORT

#define PortRead(adr,x)     GetPortVal(adr,x,1)
#define PortWrite(adr,x)    SetPortVal(adr,x,1)

#endif
