kolibrios-gitea/programs/emulator/dgen-sdl-1.33/cyclone/Disa/Disa.h

34 lines
773 B
C
Raw Normal View History

// 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