game16.h
上传用户:poi891205
上传日期:2013-07-15
资源大小:9745k
文件大小:1k
源码类别:

DVD

开发平台:

C/C++

  1. //---------------------------------------------------------------------------
  2. // game16.h
  3. // 
  4. // Purpose: 16-bits Game Library Include file
  5. //
  6. //---------------------------------------------------------------------------
  7. #ifndef GAME16_H
  8. #define GAME16_H
  9. extern void (*game16_field_start)(int is_top_field);
  10. extern int (*game16_field_end)();
  11. #ifdef MP_BOARD_256_PIN_NON_SHARE
  12. #define SPG_GAME_CLK 99  // pin 232
  13. #define SPG_GAME_LAT 96  // pin 229
  14. #define SPG_GAME_PAD0 98  // pin 231
  15. #define SPG_GAME_PAD1 97  // pin 230
  16. #else
  17. #ifdef IC_8202E_216_PIN_NON_SHARE_CD_DVD_MP_BOARD  // chyeh 2005/01/19
  18. #define SPG_GAME_CLK 11  //pin 59
  19. #define SPG_GAME_LAT 10  //pin 58
  20. #define SPG_GAME_PAD0 15  //pin 65
  21. #define SPG_GAME_PAD1 16  //pin 66
  22. #else
  23. #define SPG_GAME_CLK 11  //pin 59
  24. #define SPG_GAME_LAT 12  //pin 61
  25. #define SPG_GAME_PAD0 13  //pin 62
  26. #define SPG_GAME_PAD1 14  //pin 63
  27. #endif
  28. #endif
  29. #endif /* GAME16_H */