26 lines
577 B
C
26 lines
577 B
C
// vesafb.h
|
|
// Author: Josh Holtrop
|
|
// Date: 03/19/05
|
|
// Modified: 03/19/05
|
|
|
|
#ifndef __HOS_VESAFB__
|
|
#define __HOS_VESAFB__ __HOS_VESAFB__
|
|
|
|
#include "hos_defines.h"
|
|
|
|
#define VESAFB_VID_ADDR 0xF0000000
|
|
|
|
int vesafb_init(int width, int height, int bpp);
|
|
void vesafb_clear();
|
|
void vesafb_update_cursor(int position);
|
|
void vesafb_draw_cursor(int position, int onoff);
|
|
void vesafb_pset(int x, int y, int onoff);
|
|
int vesafb_getWidth();
|
|
int vesafb_getHeight();
|
|
void vesafb_draw_char(int position, u16_t chr);
|
|
int vesafb_draw(u16_t *buffer, int buff_len, int cursor_position);
|
|
|
|
#endif
|
|
|
|
|