Rev 1649 | Rev 1673 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1649 | Rev 1672 | ||
---|---|---|---|
Line 470... | Line 470... | ||
470 | 470 | ||
471 | /* Initialize gcons */ |
471 | /* Initialize gcons */ |
472 | gcons_init(fb_info.phone); |
472 | gcons_init(fb_info.phone); |
473 | /* Synchronize, the gcons can have something in queue */ |
473 | /* Synchronize, the gcons can have something in queue */ |
474 | async_req(fb_info.phone, FB_FLUSH, 0, NULL); |
474 | async_req(fb_info.phone, FB_FLUSH, 0, NULL); |
475 | - | ||
- | 475 | /* Enable double buffering */ |
|
- | 476 | async_msg_2(fb_info.phone, FB_VIEWPORT_DB, (sysarg_t)-1, 1); |
|
476 | 477 | ||
477 | async_req_2(fb_info.phone, FB_GET_CSIZE, 0, 0, &(fb_info.rows), &(fb_info.cols)); |
478 | async_req_2(fb_info.phone, FB_GET_CSIZE, 0, 0, &(fb_info.rows), &(fb_info.cols)); |
478 | set_style_col(DEFAULT_FOREGROUND, DEFAULT_BACKGROUND); |
479 | set_style_col(DEFAULT_FOREGROUND, DEFAULT_BACKGROUND); |
479 | clrscr(); |
480 | clrscr(); |
480 | 481 |