wwbios.h 630 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #ifndef _WWBIOS_H
  2. #define _WWBIOS_H
  3. #include <stdlib.h>
  4. #include "../cpu/mytypes.h"
  5. #include "../cpu/global.h"
  6. #include "../cpu/cpu.h"
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10. enum {
  11. INT_BIOS_EXIT=0x10,
  12. INT_KEY,
  13. INT_DISP,
  14. INT_TEXT,
  15. INT_SERIAL,
  16. INT_SOUND,
  17. INT_TIMER,
  18. INT_SYSTEM,
  19. INT_BANK,
  20. };
  21. void int_handler(int no);
  22. void key_handler(int func_no);
  23. void disp_handler(int func_no);
  24. void text_handler(int func_no);
  25. void serial_handler(int func_no);
  26. void sound_handler(int func_no);
  27. void timer_handler(int func_no);
  28. void system_handler(int func_no);
  29. void bank_handler(int func_no);
  30. #ifdef __cplusplus
  31. }
  32. #endif
  33. #endif