#ifndef A2410_RLMS_H
#define A2410_RLMS_H
/*
**	$Filename: a2410/rlms.h $
**	$Release: Alpha1.0 $
**
**	PUBLIC EXTENDER FILE
**
**	(C) Copyright 1988,1989,1990 University of Lowell
**                    Center for Productivity Enhancement
**      All Rights Reserved
**
*/

#define BDM 0
#define SDM 1
#define LDM 2

#define CMD_DM_CMD                ((ULONG)10)
#define CMD_DM_RET                ((ULONG)11)
#define CMD_DM_PSND               ((ULONG)12)
#define CMD_DM_PGET               ((ULONG)13)
#define CMD_DM_PSTR               ((ULONG)14)
#define CMD_DM_PALT               ((ULONG)15)
#define CMD_DM_PTRX               ((ULONG)16)
#define CMD_DM_POLY               ((ULONG)17)
#define CMD_DM_PCMD               ((ULONG)18)
#define CMD_DM_PRET               ((ULONG)19)
#define CMD_CP_CMD                ((ULONG)20)
#define CMD_CP_RET                ((ULONG)21)
#define CMD_CP_ALT                ((ULONG)22)
#define CMD_CP_CMD_A              ((ULONG)23)
#define CMD_CP_RET_A              ((ULONG)24)
#define CMD_CP_ALT_A              ((ULONG)25)
#define CMD_DM_IPOLY              ((ULONG)38)

#define HiWord(w) ((w)<<16)	/* Pushes the word into the upper 16 bits */

#define USER_CP(a)              ((a) | 0x4000)
#define USER_DM(a)              ((a) | 0x0000)

#define MODULE_START         170
#define MODULE_COMMAND(a)    MODULE_START+a

#endif /* A2410_RLMS_H */
