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