/***************************************************************************
**
**    $Header$
**
**    $Log$
** 
****************************************************************************/

/***************************************************************************
**
** File name : dadshell.h
** Author:John Zhou
** Description:
**
**
**    Finished date: 1996.10
**
**
**    Copyright (C) 1995 Microtek International, Inc.
**    All Rights Reserved
**
****************************************************************************/

#ifndef _DADSHELL_H
#include "stdafx.h"
#include "address.h"
#include "abibase.h"
#include "dad196.h"
#include "uicom2.h"
//#include "errcodec.h"

#define REG_PC 0
#define DISASMLEN 88;

enum { PMT_NORMAL = 0, PMT_RUN, PMT_FLY, PMT_MACRO, PMT_RND, PMT_CNT };

extern char * PromptStr[PMT_CNT];
extern void ShowLine(char* pszBuffer);
extern unsigned char TRCGetInstLen(unsigned char code);

//for stop during disassemble in shell
extern int TestKey(WORD wKey); //1 for getkey ok
extern STATUS AbiGetOneReg(int iRegId, UINT* uRegValue);
//extern void ErrShow(U32 errorCode,BOOL bUI);

#endif 
/********************	end  of	 file   **********************************/