/* static char rcsid[] = "$Header: bss.c,v 1.1 85/04/30 17:04:14 ed Exp $" */

/************************************************************************
 *									*
 *				Copyright 1984				*
 *			VALID LOGIC SYSTEMS INCORPORATED		*
 *									*
 *	This listing contains confidential proprietary information	*
 *	which is not to be disclosed to unauthorized persons without	*
 *	written consent of an officer of Valid Logic Systems 		*
 *	Incoroporated.							*
 *									*
 *	The copyright notice appearing above is included to provide	*
 *	statutory protection in the event of unauthorized or 		*
 *	unintentional public disclosure.				*
 *									*
 ************************************************************************/

/*
 * BSS (Blank Segment Space) variables.  These are the dynamic variables
 * used by ERM.  They must be loaded in RAM area (0x20000 or greater) or
 * ERM will die a painful and ugly death. No kidding.
 *
 * 4/16/85 - ELP
 */

#include <sys/types.h>
#include <setjmp.h>
#include "erm.h"

u_long acc;			/* ERM accumulator */
u_long curaddr;			/* ERM current address */

jmp_buf jmpbuf;			/* Jump buffer */

struct display dispfmt;
u_char erm_base, erm_start, erm_trace_type, erm_bpt_trace, *erm_fmt;
u_char erm_inp_radix, erm_out_radix;
u_int *erm_regsave;
u_char erm_disasm_buf[30];
struct bpt bpts[ERM_MAXBPT];
jmp_buf bpt_jmpbuf;
u_long erm_trace;
char erm_cmd_buf [ERM_CMDBUF_SIZE];
char	cmd[ERM_CMDBUF_SIZE];
u_long	narg, ecm_debug;
u_char *varg[16];	
struct commtable *curr_comms;

/*
 * These must be loaded together...they are the saved values of
 * registers d0-d7 and a0-a6 determined at restart time
 */
int	save_d0[14];
int	save_a6;
/* END SAVE REGISTERS */
