5b9072dfbdde74d3e5d27a5d38dfc4811628b0e4
[cyclone68000.git] / Pico / Disa.h
1 \r
2 // This file is part of the PicoDrive Megadrive Emulator\r
3 \r
4 // This code is licensed under the GNU General Public License version 2.0 and the MAME License.\r
5 // You can choose the license that has the most advantages for you.\r
6 \r
7 // SVN repository can be found at http://code.google.com/p/cyclone68000/\r
8 \r
9 // Disa 68000 Disassembler\r
10 \r
11 #ifdef __cplusplus\r
12 extern "C" {\r
13 #endif\r
14 \r
15 #if defined(__GNUC__) || defined(_WIN32_WCE)\r
16 #define CPU_CALL\r
17 #else\r
18 #define CPU_CALL __fastcall\r
19 #endif\r
20 \r
21 extern unsigned int DisaPc;\r
22 extern char *DisaText; // Text buffer to write in\r
23 \r
24 extern unsigned short (CPU_CALL *DisaWord)(unsigned int a);\r
25 int DisaGetEa(char *t,int ea,int size);\r
26 \r
27 int DisaGet();\r
28 \r
29 #ifdef __cplusplus\r
30 } // End of extern "C"\r
31 #endif\r