-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdis.h
More file actions
52 lines (34 loc) · 795 Bytes
/
dis.h
File metadata and controls
52 lines (34 loc) · 795 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/****************************************************************************
dis.h
Data for TG Disassembler
****************************************************************************/
#ifndef _INCLUDE_DIS_H
#define _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