6003a768 |
1 | \r |
4abeeb4b |
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 |
15eb0001 |
9 | // Disa 68000 Disassembler\r |
6003a768 |
10 | \r |
11 | #ifdef __cplusplus\r |
12 | extern "C" {\r |
13 | #endif\r |
14 | \r |
15eb0001 |
15 | #if defined(__GNUC__) || defined(_WIN32_WCE)\r |
6003a768 |
16 | #define CPU_CALL\r |
15eb0001 |
17 | #else\r |
18 | #define CPU_CALL __fastcall\r |
19 | #endif\r |
6003a768 |
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 |