20 { 0, 0, 0, 0, 1, -1 , -1 , 0, 0 },
24 { 0, 0, 0, 0, 1, -1 , -1 , 0, 0 },
25 { 0, 0, 0, 0, 1, -1 , -1 , 0, 0 },
26 { 0, 0, 0, 0, 1, -1 , -1 , 0, 0 },
27 { 0, 0, 0, 0, 1, -1 , -1 , 0, 0 },
54 int depth,
int scanline_size,
55 int num_pages,
int refresh_rate,
57 int flags,
float aspect,
58 int text_w,
int text_h
100 set_mode( 0, 0, 0, 0, 0, 1, 0, 0, 0,
SCREEN_EXIT, 0.0, 0, 0 );
146 FB_WCHAR ch,
unsigned fg,
unsigned bg )
149 int clear_w = x2 - x1;
151 int move_w = text_w - clear_w;
155 for( y=y1; y!=y2; ++y ) {
170 int depth,
int scanline_size,
171 int num_pages,
int refresh_rate,
173 int flags,
float aspect,
174 int text_w,
int text_h
180 char *c, *driver_name;
189 if( (mode == 0) || (w == 0) ) {
257 __fb_gfx->
page = (
unsigned char **)malloc(
sizeof(
unsigned char *) * num_pages);
258 for (i = 0; i < num_pages; i++) {
260 int p_size = (
sizeof(
void *) + 0xF) & 0xF;
262 __fb_gfx->
page[i] = (
unsigned char *)(((intptr_t)tmp + p_size + 0xF) & ~0xF);
299 driver_name = getenv(
"FBGFX");
300 if ((flags ==
DRIVER_NULL) || ((driver_name) && (!strcasecmp(driver_name,
"null"))))
303 for (try_count = (driver_name ? 4 : 2); try_count; try_count--) {
306 if ((driver_name) && !(try_count & 0x1) && (strcasecmp(driver_name, driver->
name))) {
340 for (i = 0; i < num_pages; i++) {
371 int mode,
int depth,
int num_pages,
372 int flags,
int refresh_rate
378 const MODEINFO *info = &mode_info[mode];
381 if( (mode > 0) && (info->
w == 0) )
400 if( num_pages <= 0 ) {
407 num_pages, refresh_rate,
425 if( visible >= 0 || active >= 0 )
434 int depth,
int num_pages,
435 int flags,
int refresh_rate
438 if ((w <= 0) || (h <= 0))
455 if( num_pages <= 0 ) {
462 num_pages, refresh_rate,