video.h 748 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. ** MPC823 Video Controller
  3. ** =======================
  4. ** (C) 2000 by Paolo Scaffardi (arsenio@tin.it)
  5. ** AIRVENT SAM s.p.a - RIMINI(ITALY)
  6. **
  7. */
  8. #ifndef _VIDEO_H_
  9. #define _VIDEO_H_
  10. /* Video functions */
  11. int drv_video_init(void);
  12. int video_init (void *videobase);
  13. void video_putc (const char c);
  14. void video_puts (const char *s);
  15. void video_printf (const char *fmt, ...);
  16. //copy from mtk u-boot-1.1.6 /include/video.h
  17. void video_clean_screen(void);
  18. void video_set_cursor(int row, int col);
  19. int video_get_rows(void);
  20. int video_get_colums(void);
  21. void video_set_fg_color(unsigned char r, unsigned char g, unsigned char b);
  22. void video_set_bg_color(unsigned char r, unsigned char g, unsigned char b);
  23. void video_set_default_color(void);
  24. #endif