FreeBASIC  0.91.0
gfx_vesa_core.c File Reference
#include "../fb_gfx.h"
#include "fb_gfx_dos.h"
#include <go32.h>
#include <sys/farptr.h>
Include dependency graph for gfx_vesa_core.c:

Go to the source code of this file.

Functions

void vesa_get_pm_functions (void)
 
static int vesa_get_mode_info (int mode)
 
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)
 
static void fb_dos_vesa_set_palette_int10 (void)
 
void fb_dos_vesa_set_palette (void)
 
void fb_dos_vesa_set_palette_end (void)
 

Variables

VesaPMInfofb_dos_vesa_pm_info = NULL
 
intptr_t fb_dos_vesa_pm_bank_switcher = 0
 
intptr_t fb_dos_vesa_pm_set_palette = 0
 
static int detected = FALSE
 

Function Documentation

void fb_dos_vesa_detect ( void  )

Definition at line 95 of file gfx_vesa_core.c.

Here is the call graph for this function:

Here is the caller graph for this function:

int* fb_dos_vesa_fetch_modes ( int  depth,
int *  size 
)

Definition at line 246 of file gfx_vesa_core.c.

Here is the call graph for this function:

int fb_dos_vesa_set_mode ( int  w,
int  h,
int  depth,
int  linear 
)

Definition at line 168 of file gfx_vesa_core.c.

Here is the caller graph for this function:

void fb_dos_vesa_set_palette ( void  )

Definition at line 345 of file gfx_vesa_core.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void fb_dos_vesa_set_palette_end ( void  )

Definition at line 350 of file gfx_vesa_core.c.

Here is the caller graph for this function:

static void fb_dos_vesa_set_palette_int10 ( void  )
static

Definition at line 276 of file gfx_vesa_core.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static int vesa_get_mode_info ( int  mode)
static

Definition at line 79 of file gfx_vesa_core.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void vesa_get_pm_functions ( void  )

Definition at line 16 of file gfx_vesa_core.c.

Here is the caller graph for this function:

Variable Documentation

int detected = FALSE
static

Definition at line 14 of file gfx_vesa_core.c.

intptr_t fb_dos_vesa_pm_bank_switcher = 0

Definition at line 11 of file gfx_vesa_core.c.

VesaPMInfo* fb_dos_vesa_pm_info = NULL

Definition at line 10 of file gfx_vesa_core.c.

intptr_t fb_dos_vesa_pm_set_palette = 0

Definition at line 12 of file gfx_vesa_core.c.