#include <dpmi.h>
#include "vesa.h"
Go to the source code of this file.
|
int | fb_dos_get_mouse (int *x, int *y, int *z, int *buttons, int *clip) |
|
void | fb_dos_set_mouse (int x, int y, int cursor, int clip) |
|
int | fb_dos_update_mouse (void) |
|
void | fb_dos_vga_wait_vsync (void) |
|
void | fb_dos_vga_set_palette (void) |
|
void | fb_dos_vesa_detect (void) |
|
int | fb_dos_vesa_set_mode (int w, int h, int depth, int linear) |
|
int * | fb_dos_vesa_fetch_modes (int depth, int *size) |
|
void | vesa_get_pm_functions (void) |
|
void | fb_dos_vesa_set_palette (void) |
|
void | fb_dos_vesa_set_palette_end (void) |
|
void | fb_dos_set_palette (int idx, int r, int g, int b) |
|
void | fb_dos_detect (void) |
|
int | fb_dos_init (char *title, int w, int h, int depth, int refresh_rate, int flags) |
|
void | fb_dos_exit (void) |
|
void | fb_dos_set_window_title (char *title) |
|
void | fb_dos_lock (void) |
|
void | fb_dos_unlock (void) |
|
#define MASK_LINEAR |
( |
|
addr) | |
((addr) & 0x000FFFFF) |
#define RM_OFFSET |
( |
|
addr) | |
((addr) & 0xF) |
#define RM_SEGMENT |
( |
|
addr) | |
(((addr) >> 4) & 0xFFFF) |
#define RM_TO_LINEAR |
( |
|
addr) | |
((((addr) & 0xFFFF0000) >> 12) + ((addr) & 0xFFFF)) |
#define SCREENLIST |
( |
|
w, |
|
|
|
h |
|
) |
| ((h) | (w) << 16) |
#define SEGOFF_TO_RM |
( |
|
s, |
|
|
|
o |
|
) |
| (((s) << 4) + (o)) |
void fb_dos_detect |
( |
void |
) | |
|
void fb_dos_exit |
( |
void |
) | |
|
int fb_dos_get_mouse |
( |
int * |
x, |
|
|
int * |
y, |
|
|
int * |
z, |
|
|
int * |
buttons, |
|
|
int * |
clip |
|
) |
| |
int fb_dos_init |
( |
char * |
title, |
|
|
int |
w, |
|
|
int |
h, |
|
|
int |
depth, |
|
|
int |
refresh_rate, |
|
|
int |
flags |
|
) |
| |
void fb_dos_lock |
( |
void |
) | |
|
void fb_dos_set_mouse |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
cursor, |
|
|
int |
clip |
|
) |
| |
void fb_dos_set_palette |
( |
int |
idx, |
|
|
int |
r, |
|
|
int |
g, |
|
|
int |
b |
|
) |
| |
void fb_dos_set_window_title |
( |
char * |
title) | |
|
void fb_dos_unlock |
( |
void |
) | |
|
int fb_dos_update_mouse |
( |
void |
) | |
|
void fb_dos_vesa_detect |
( |
void |
) | |
|
int* fb_dos_vesa_fetch_modes |
( |
int |
depth, |
|
|
int * |
size |
|
) |
| |
int fb_dos_vesa_set_mode |
( |
int |
w, |
|
|
int |
h, |
|
|
int |
depth, |
|
|
int |
linear |
|
) |
| |
void fb_dos_vesa_set_palette |
( |
void |
) | |
|
void fb_dos_vesa_set_palette_end |
( |
void |
) | |
|
void fb_dos_vga_set_palette |
( |
void |
) | |
|
void fb_dos_vga_wait_vsync |
( |
void |
) | |
|
void vesa_get_pm_functions |
( |
void |
) | |
|
intptr_t fb_dos_vesa_pm_bank_switcher |
intptr_t fb_dos_vesa_pm_set_palette |