2 ** MPC823 Video Controller
3 ** =======================
4 ** (C) 2000 by Paolo Scaffardi (arsenio@tin.it)
5 ** AIRVENT SAM s.p.a - RIMINI(ITALY)
14 int video_init (void *videobase);
15 void video_putc (const char c);
16 void video_puts (const char *s);
19 * Display a BMP format bitmap on the screen
21 * @param bmp_image Address of BMP image
22 * @param x X position to draw image
23 * @param y Y position to draw image
25 int video_display_bitmap(ulong bmp_image, int x, int y);
28 * Get the width of the screen in pixels
30 * @return width of screen in pixels
32 int video_get_pixel_width(void);
35 * Get the height of the screen in pixels
37 * @return height of screen in pixels
39 int video_get_pixel_height(void);
42 * Get the number of text lines/rows on the screen
44 * @return number of rows
46 int video_get_screen_rows(void);
49 * Get the number of text columns on the screen
51 * @return number of columns
53 int video_get_screen_columns(void);
56 * Set the position of the text cursor
58 * @param col Column to place cursor (0 = left side)
59 * @param row Row to place cursor (0 = top line)
61 void video_position_cursor(unsigned col, unsigned row);
63 /* Clear the display */
64 void video_clear(void);