/****************************************************************************

 dis.h

 

 Data for TG Disassembler

 ****************************************************************************/

#ifndef _DJGPP_INCLUDE_DIS_H

#define _DJGPP_INCLUDE_DIS_H



#include "format.h"



#ifdef DOS



#include <io.h>

#include <sys/stat.h>



#endif



#include <stdio.h>

#include <stdlib.h>

#include <fcntl.h>

#include <math.h>

#include <errno.h>



/*

#include <allegro.h>

#include "svgaallg.h"

*/



#include "optable.h"

#include "edit_ram.h"

#include "view_zp.h"





/* Some defines */



#define  _PC_ M.PC.W



#define  OPBUF_SIZE    7  /* max size of opcodes */



#define  MAX_TRY       5



#define  NB_LINE       20



#define PLAIN_RUN 0

#define STEPPING  1

#define TRACING   2



extern UChar running_mode;



int disassemble();



#endif

