home *** CD-ROM | disk | FTP | other *** search
/ ftp.whtech.com / ftp.whtech.com.7z / ftp.whtech.com / emulators / v9t9 / linux / sources / V9t9 / source / moduleconfig.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-10-19  |  2.6 KB  |  167 lines

  1. #ifndef __MODULECONFIG_H__
  2. #define __MODULECONFIG_H__
  3.  
  4. #include "v9t9_module.h"
  5.  
  6. #include "centry.h"
  7.  
  8. extern vmModule emulate9900CPU;
  9.  
  10. #if defined(EMU_DISK_DSR)
  11. extern vmModule emuDiskDSR;
  12. #endif
  13.  
  14. #if defined(REAL_DISK_DSR)
  15. extern vmModule realDiskDSR;
  16. #endif
  17.  
  18. #if defined(REAL_RS232_DSR)
  19. extern vmModule realRS232DSR;
  20. #endif
  21.  
  22. #if defined(LINUX_SVGA_VIDEO)
  23. extern vmModule svgaVideo;
  24. #endif
  25.  
  26. #if defined(X_WIN_VIDEO)
  27. extern vmModule X_Video;
  28. #endif
  29.  
  30. #if defined(GTK_VIDEO) //&& defined(WIN32_VIDEO)
  31. extern vmModule gtkVideo;
  32. #endif
  33.  
  34. #if defined(WIN32_VIDEO)
  35. extern vmModule win32DrawDibVideo;
  36. extern vmModule win32DirectDrawVideo;
  37. #endif
  38.  
  39. #if defined(NULL_VIDEO)
  40. extern vmModule nullVideo;
  41. #endif
  42.  
  43. #if defined(LINUX_SVGA_KEYBOARD)
  44. extern vmModule linuxKeyboard;
  45. #endif
  46.  
  47. #if defined(X_WIN_KEYBOARD)
  48. extern vmModule X_Keyboard;
  49. #endif
  50.  
  51. #if defined(GTK_KEYBOARD) //&& !defined(WIN32_KEYBOARD)
  52. extern vmModule gtkKeyboard;
  53. #endif
  54.  
  55. #if defined(WIN32_KEYBOARD)
  56. extern vmModule    win32Keyboard;
  57. #endif
  58.  
  59. #if defined(NULL_KEYBOARD)
  60. extern vmModule nullKeyboard;
  61. #endif
  62.  
  63. #if defined(LINUX_SPEAKER_SOUND)
  64. extern vmModule linuxSpeakerSound;
  65. #endif
  66.  
  67. #if defined(OSS_SOUND)
  68. extern vmModule ossSound;
  69. #endif
  70.  
  71. #if defined(ALSA_SOUND)
  72. extern vmModule alsaSound;
  73. #endif
  74.  
  75. #if defined(ESD_SOUND)
  76. extern vmModule esdSound;
  77. #endif
  78.  
  79. #if defined(WIN32_SOUND)
  80. extern vmModule win32Sound;
  81. #endif
  82.  
  83. #if defined(NULL_SOUND)
  84. extern vmModule nullSound;
  85. #endif
  86.  
  87. /******************************/
  88.  
  89. #ifdef __V9t9__
  90.  
  91. static vmModule *installed_modules[] =
  92. {
  93.     &emulate9900CPU,
  94.  
  95. #if defined(REAL_DISK_DSR)
  96.     &realDiskDSR,
  97. #endif
  98. #if defined(EMU_DISK_DSR)
  99.     &emuDiskDSR,
  100. #endif
  101. #if defined(REAL_RS232_DSR)
  102.     &realRS232DSR,
  103. #endif
  104.     
  105. #if defined(GTK_VIDEO) //&& !defined(WIN32_VIDEO)
  106.     >kVideo,
  107. #endif
  108. #if defined(X_WIN_VIDEO)
  109.     &X_Video,
  110. #endif
  111. #if defined(LINUX_SVGA_VIDEO)
  112.     &svgaVideo,
  113. #endif        
  114. #if defined(WIN32_VIDEO)
  115.     &win32DrawDibVideo,
  116.     &win32DirectDrawVideo,
  117. #endif
  118. #if defined(NULL_VIDEO)
  119.     &nullVideo,
  120. #endif
  121.  
  122. #if defined(GTK_KEYBOARD) //&& !defined(WIN32_KEYBOARD)
  123.     >kKeyboard,
  124. #endif
  125. #if defined(X_WIN_KEYBOARD)
  126.     &X_Keyboard,
  127. #endif
  128. #if defined(LINUX_SVGA_KEYBOARD)
  129.     &linuxKeyboard,
  130. #endif
  131. #if defined(WIN32_KEYBOARD)
  132.     &win32Keyboard,
  133. #endif
  134. #if defined(NULL_KEYBOARD)
  135.     &nullKeyboard,
  136. #endif
  137.  
  138.     // order is important here; the first
  139.     // registered module matched is used by default
  140. #if defined(ALSA_SOUND)
  141.     &alsaSound,
  142. #endif
  143. #if defined(OSS_SOUND)
  144.     &ossSound,
  145. #endif
  146. #if defined(ESD_SOUND)
  147.     &esdSound,
  148. #endif
  149. #if defined(LINUX_SPEAKER_SOUND)
  150.     &linuxSpeakerSound,
  151. #endif
  152. #if defined(WIN32_SOUND)
  153.     &win32Sound,
  154. #endif
  155. #if defined(NULL_SOUND)
  156.     &nullSound,
  157. #endif        
  158.  
  159.     NULL
  160. };
  161.  
  162. #endif
  163.  
  164. #include "cexit.h"
  165.  
  166. #endif
  167.