2004-06-22 21:21:32 +00:00
|
|
|
/*
|
|
|
|
*
|
2007-05-30 21:59:00 +00:00
|
|
|
* (c) 2004-2007 Laurent Vivier <Laurent@lvivier.info>
|
2004-06-22 21:21:32 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __VGA_H__
|
|
|
|
#define __VGA_H__
|
|
|
|
|
2007-09-11 23:10:06 +00:00
|
|
|
#include "head.h"
|
|
|
|
|
2007-09-16 15:10:49 +00:00
|
|
|
extern int vga_init(char *mode);
|
2004-06-22 21:21:32 +00:00
|
|
|
|
|
|
|
extern void vga_put(char c);
|
|
|
|
extern void vga_print(char *s);
|
2005-08-26 09:25:47 +00:00
|
|
|
extern void vga_cursor_refresh(void);
|
2004-06-22 21:21:32 +00:00
|
|
|
|
|
|
|
extern unsigned long vga_get_videobase();
|
|
|
|
extern unsigned long vga_get_row_bytes();
|
|
|
|
extern unsigned long vga_get_depth();
|
|
|
|
extern unsigned long vga_get_width();
|
|
|
|
extern unsigned long vga_get_height();
|
|
|
|
extern unsigned long vga_get_video();
|
2007-09-11 23:00:07 +00:00
|
|
|
extern int vga_is_available(void);
|
2004-06-22 21:21:32 +00:00
|
|
|
|
|
|
|
#endif
|