Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

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