X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Disa%2FDisa.h;fp=Disa%2FDisa.h;h=dddc21d0b74f200ca6268b60535771f23f815968;hb=52ac6b1c8f65fe2477ffc3a7fc63ca8ae9d7e59f;hp=0000000000000000000000000000000000000000;hpb=d9d77995ec88700f438b3638df179a014bf4f6b3;p=cyclone68000.git diff --git a/Disa/Disa.h b/Disa/Disa.h new file mode 100644 index 0000000..dddc21d --- /dev/null +++ b/Disa/Disa.h @@ -0,0 +1,33 @@ + +// This file is part of the PicoDrive Megadrive Emulator + +// Copyright (c) 2011 FinalDave (emudave (at) gmail.com) + +// This code is licensed under the GNU General Public License version 2.0 and the MAME License. +// You can choose the license that has the most advantages for you. + +// SVN repository can be found at http://code.google.com/p/cyclone68000/ + +// Disa 68000 Disassembler + +#ifdef __cplusplus +extern "C" { +#endif + +#if defined(__GNUC__) || defined(_WIN32_WCE) +#define CPU_CALL +#else +#define CPU_CALL __fastcall +#endif + +extern unsigned int DisaPc; +extern char *DisaText; // Text buffer to write in + +extern unsigned short (CPU_CALL *DisaWord)(unsigned int a); +int DisaGetEa(char *t,int ea,int size); + +int DisaGet(); + +#ifdef __cplusplus +} // End of extern "C" +#endif