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

Go to the source code of this file.

Macros

#define CRT_PARM_LENGTH   10
 

Functions

static int driver_init (char *title, int w, int h, int depth, int refresh_rate, int flags)
 
static void driver_update (void)
 
static void end_of_driver_update (void)
 
static int * driver_fetch_modes (int depth, int *size)
 

Variables

GFXDRIVER fb_gfxDriverModeX
 
static int modes []
 
static unsigned short CRTParams []
 

Macro Definition Documentation

#define CRT_PARM_LENGTH   10

Definition at line 53 of file gfx_driver_modex.c.

Function Documentation

static int * driver_fetch_modes ( int  depth,
int *  size 
)
static

Definition at line 122 of file gfx_driver_modex.c.

static int driver_init ( char *  title,
int  w,
int  h,
int  depth,
int  refresh_rate,
int  flags 
)
static

Definition at line 55 of file gfx_driver_modex.c.

Here is the call graph for this function:

static void driver_update ( void  )
static

Definition at line 96 of file gfx_driver_modex.c.

Here is the caller graph for this function:

static void end_of_driver_update ( void  )
static

Definition at line 120 of file gfx_driver_modex.c.

Here is the caller graph for this function:

Variable Documentation

unsigned short CRTParams[]
static
Initial value:
= {
0x0D06,
0x3E07,
0x4109,
0xEA10,
0xAC11,
0xDF12,
0x0014,
0xE715,
0x0616,
0xE317
}

Definition at line 40 of file gfx_driver_modex.c.

int modes[]
static
Initial value:
= {
SCREENLIST(320, 240),
}

Definition at line 36 of file gfx_driver_modex.c.