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

  1. #ifndef __MAIN_H__
  2. #define __MAIN_H__
  3.  
  4. #include "log.h"
  5.  
  6. //    Intercept commands from user (Interactive=on)
  7. void    system_getcommands(void);
  8.  
  9. //    Initialize timer to TM_HZ hertz
  10. void    system_timer_init(void);
  11. void    system_timer_install(void);
  12. void    system_timer_uninstall(void);
  13.  
  14. //    emit text to log (do not add newline)
  15. void    system_log(u32 srcflags, const char *text);
  16.  
  17. //    Emit a status item for UI.  
  18. void    system_report_status(status_item item, va_list va);
  19.  
  20. //    signal to inform frontend that debugger is enabled/disabled
  21. //    or paused/running.  Do not call debugger_enable or execution_pause
  22. //    in here!
  23. void    system_debugger_enabled(bool enabled);
  24. void    system_execution_paused(bool paused);
  25.  
  26. #endif
  27.  
  28.