summaryrefslogtreecommitdiff
path: root/include/video.h
blob: a24035368cabeb20bb5cc7264da397919dd8a30d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
** MPC823 Video Controller
** =======================
** (C) 2000 by Paolo Scaffardi (arsenio@tin.it)
** AIRVENT SAM s.p.a - RIMINI(ITALY)
**
*/

#ifndef _VIDEO_H_
#define _VIDEO_H_

/* Video functions */

int	video_init	(void *videobase);
void	video_putc	(const char c);
void	video_puts	(const char *s);
void	video_printf	(const char *fmt, ...);
void	video_position_cursor (unsigned col, unsigned row);
int	video_display_bitmap (ulong, int, int);
int	video_get_screen_rows (void);
int	video_get_screen_columns (void);
int	video_get_pixel_width (void);
int	video_get_pixel_height(void);
int	video_clear(void);

#endif