28 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
29 |
* |
* |
30 |
* |
* |
31 |
* $Id: devices.h,v 1.212 2006/06/16 18:31:26 debug Exp $ |
* $Id: devices.h,v 1.213 2006/07/08 12:30:03 debug Exp $ |
32 |
* |
* |
33 |
* Memory mapped devices. |
* Memory mapped devices. |
34 |
* |
* |
215 |
/* Extra flags: */ |
/* Extra flags: */ |
216 |
#define VFB_REVERSE_START 0x10000 |
#define VFB_REVERSE_START 0x10000 |
217 |
struct vfb_data { |
struct vfb_data { |
218 |
|
struct memory *memory; |
219 |
int vfb_type; |
int vfb_type; |
220 |
|
|
221 |
int vfb_scaledown; |
int vfb_scaledown; |
241 |
/* RGB palette for <= 8 bit modes: (r,g,b bytes for each) */ |
/* RGB palette for <= 8 bit modes: (r,g,b bytes for each) */ |
242 |
unsigned char rgb_palette[256 * 3]; |
unsigned char rgb_palette[256 * 3]; |
243 |
|
|
244 |
|
char *name; |
245 |
|
char title[100]; |
246 |
|
|
247 |
void (*redraw_func)(struct vfb_data *, int, int); |
void (*redraw_func)(struct vfb_data *, int, int); |
248 |
|
|
249 |
/* These should always be in sync: */ |
/* These should always be in sync: */ |