Go to the documentation of this file.
8 #define MASK_LINEAR(addr) ((addr) & 0x000FFFFF)
9 #define RM_TO_LINEAR(addr) ((((addr) & 0xFFFF0000) >> 12) + ((addr) & 0xFFFF))
10 #define RM_OFFSET(addr) ((addr) & 0xF)
11 #define RM_SEGMENT(addr) (((addr) >> 4) & 0xFFFF)
12 #define SEGOFF_TO_RM(s, o) (((s) << 4) + (o))
14 #define SCREENLIST(w, h) ((h) | (w) << 16)
95 extern int fb_dos_get_mouse(
int *x,
int *y,
int *z,
int *buttons,
int *clip);
121 extern int fb_dos_init(
char *title,
int w,
int h,
int depth,
int refresh_rate,
int flags);