1 /****************************************************************************
2  dis.h
3 
4  Data for TG Disassembler
5  ****************************************************************************/
6 #ifndef _INCLUDE_DIS_H
7 #define _INCLUDE_DIS_H
8 
9 #include "format.h"
10 
11 #ifdef DOS
12 
13 #include <io.h>
14 #include <sys/stat.h>
15 
16 #endif
17 
18 #include <stdio.h>
19 #include <stdlib.h>
20 #include <fcntl.h>
21 #include <math.h>
22 #include <errno.h>
23 
24 /*
25 #include <allegro.h>
26 #include "svgaallg.h"
27 */
28 
29 #include "optable.h"
30 #include "edit_ram.h"
31 #include "view_zp.h"
32 
33 
34 /* Some defines */
35 
36 #define  _PC_ M.PC.W
37 
38 #define  OPBUF_SIZE    7  /* max size of opcodes */
39 
40 #define  MAX_TRY       5
41 
42 #define  NB_LINE       20
43 
44 #define PLAIN_RUN 0
45 #define STEPPING  1
46 #define TRACING   2
47 
48 extern UChar running_mode;
49 
50 int disassemble();
51 
52 #endif
53