/* XCPORTS.H Included by XCP.C */ #define PORT1A 0X00 #define PORT1B 0X01 #define PORT2A 0X02 #define PORT2B 0X03 #define PORT3A 0X04 #define PORT3B 0X05 /* PIO 1, port A */ #define DRUM←DRIVE 0X01 /* active low */ #define EL←STRIPS 0X02 /* active low */ #define PADDLE 0X04 /* active low */ #define ERASE 0X08 /* active high */ #define C←B←MOTOR 0X10 /* active low */ #define C←R←MOTOR 0X20 /* active low */ #define C←B←BIAS 0X40 /* active low */ #define C←R←BIAS 0X80 /* active low */ /* PIO 1, PORT B */ #define VACUUM 0X01 /* active high */ #define FUSER←DRIVE 0X02 /* active high */ #define LASER 0X04 /* active high */ #define ROS 0X08 /* active high */ #define BMI 0X10 /* active high */ #define AC 0X20 /* active high */ #define FUS←CLOCK 0X40 /* active high */ #define FUS←DIR 0X80 /* 1=forward */ /* PIO 2, PORT A */ #define H1←MOTOR 0X01 /* active low */ #define H2←MOTOR 0X02 /* active */ #define H3←MOTOR 0X04 /* active */ #define H4←MOTOR 0X08 /* active */ #define H1←CLEANER 0X10 /* 0=REVERSE */ #define H2←CLEANER 0X20 /* */ #define H3←CLEANER 0X40 /* */ #define H4←CLEANER 0X80 /* */ /* PIO 2, PORT B */ #define CHARGE 0X01 /* active low */ #define TRANSFER 0X02 /* active low */ #define PRE←CLEAN 0X04 /* active low */ #define DETACK 0X08 /* active low */ #define BIAS1 0X10 /* active low */ #define BIAS2 0X20 /* active low */ #define BIAS3 0X40 /* active low */ #define BIAS4 0X80 /* active low */ /* PIO 3, PORT A */ #define DIVERTER 0X01 /* active low */ #define GRIP←TRANS 0X02 /* active low */ #define PAPER←FEED 0X04 /* active low */ #define GRIP←BAR 0X08 /* active low */ #define PAGE←SYNC 0X10 /* active low */ #define PRINT←REQ←OFF 0X20 /* active high */ #define FUS←SPEED 0X40 /* 0=2"/sec, 1=6"/sec */ #define UNU←2 0X80 /* active */ /* PIO 3, PORT B */ #define UNU←3 0X01 /* active low */ #define UNU←4 0X02 /* active */ #define UNU←5 0X04 /* active */ #define UNU←6 0X08 /* active */ #define RD←PRINT←REQ 0X10 /* INPUT: active high? */ #define UNLOAD←SENSE 0X20 /* INPUT */ #define LOAD←SENSE 0X40 /* INPUT */ #define UNU←7 0X80 /* INPUT */