WWInterruptP.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef _WWInterruptP_h_INCLUDED_
  2. #define _WWInterruptP_h_INCLUDED_
  3. /*****************************************************************************/
  4. /* ここから */
  5. /*****************************************************************************/
  6. #include "WWInterrupt.h"
  7. /*****************************************************************************/
  8. /* クラスの定義 */
  9. /*****************************************************************************/
  10. typedef struct _WWInterruptVector {
  11. int number;
  12. WWInterruptCallback callback;
  13. int cs;
  14. int ds;
  15. } _WWInterruptVector;
  16. typedef struct _WWInterruptVector * WWInterruptVector;
  17. typedef struct _WWInterrupt {
  18. WWInterruptVector vector[8]; /* 割り込みは全部で8種類 */
  19. } _WWInterrupt;
  20. /*****************************************************************************/
  21. /* ここまで */
  22. /*****************************************************************************/
  23. #endif
  24. /*****************************************************************************/
  25. /* End of File. */
  26. /*****************************************************************************/