EMILE/second/vga.h
Laurent Vivier 20e785f628 Define vga_set_palette() to define current display palette.
Signed-off-by: Laurent Vivier <Laurent@lvivier.info>
2008-09-17 14:53:27 +02:00

31 lines
638 B
C

/*
*
* (c) 2004-2007 Laurent Vivier <Laurent@lvivier.info>
*
*/
#ifndef __VGA_H__
#define __VGA_H__
#include <macos/types.h>
#include <macos/video.h>
#include "head.h"
extern int vga_init(char *mode);
extern void vga_put(char c);
extern void vga_print(char *s);
extern void vga_cursor_refresh(void);
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();
extern int vga_is_available(void);
extern void vga_set_palette(RGBColor *palette);
#endif