/* 
 * dsppseq.h  -- header file to facilitate communication
 *            -- between dsppseq.c and dsppstdp.c.
 *            -- originally the two .c files were one
 *            -- big file, but it got too big so i split
 *            -- it in two and put common stuff in here.
 *
 * homer reid -- 1/2005
 */

#ifndef DSPPSEQ_H
#define DSPPSEQ_H

#include "dspicprg.h"

/* 
 * table definition 
 * (defined in dsppseq.c, used in dsppstdp.c)
 */
extern DWORD *STDPSeqList[];

/* 
 * opcodes 
 */

#define OC_SIX        0x00000000
#define OC_REGOUT     0x01000000
#define OC_PAUSE      0x02000000
#define OC_LOOPSTART  0x03000000
#define OC_LOOPEND    0x04000000
#define OC_FILLDATA   0x05000000
#define OC_FILLADRSL  0x06000000
#define OC_FILLADRSH  0x07000000
#define OC_TERMINATE  0x08000000

/*
 * bitmasks used in interpreting opcodes 
 */

#define OPCODE_MASK   0xFF000000
#define PAUSE_MASK    0x00FFFFFF
#define LOOPCNT_MASK  0x0000FFFF

#endif /* #ifndef DSPPSEQ_H */