/* Turbo Interface Card Equates */

/* Card Functions */
#define RESET		0
#define LOAD_CODE	1
#define LOAD_DATA	2
#define LOAD_REG	3
#define EXECUTE 	4
#define GET_VERS	5
#define MOVE_BLOCK	6
#define EXEC_FUNC	7
#define CARDTEST	8
#define READRAM 	9
#define WRITERAM	10
#define FILLRAM 	11
#define VERRAM		12

/* FIFO Equates */
#define FD_FLAG 	0x01
#define BDT_FLAG	0x02
#define MB_FLAG 	0x04
#define AE_FLAG 	0x08
#define AF_FLAG 	0x10
#define EMPTY_FLAG	0x20
#define FULL_FLAG	0x40
#define MR_FLAG 	0x80

/* FIFO Hardware Addresses (I/O) */
#define FIFO_SIZE	512

#define FifoCmdPort			0x313
#define FifoDataPort			0x312

#define ERROR_FRAMING	0xE0
#define ERROR_RECEIVE	0xE1
#define ERROR_COMMAND	0xE2

#define FIXED_DATA	0x8000
#define FUNC_DATA	0x8800
#define JUMP_TABLE	0x9000
#define HEAP		0xA000

#define PARM_REGISTERS	0x80  /* internal processor registers to be used in */
			      /*   passing parameters */

#define WORD_PARM1   PARM_REGISTERS
#define WORD_PARM2   PARM_REGISTERS+2
#define WORD_PARM3   PARM_REGISTERS+4
#define WORD_PARM4   PARM_REGISTERS+6
#define WORD_PARM5   PARM_REGISTERS+8
#define WORD_PARM6   PARM_REGISTERS+10
#define WORD_PARM7   PARM_REGISTERS+12
#define WORD_PARM8   PARM_REGISTERS+14

