6 #ifndef _IMPLEMENTATION_
8 asm (".set getControllerInfo,0x1000");
9 asm (".set getModeInfo,0x1004");
10 asm (".set findMode,0x1008");
11 asm (".set setVbeMode,0x100c");
12 asm (".set paletteWidth,0x1010");
13 asm (".set controllerinfo,0x1014");
14 asm (".set modeinfo,0x1018");
16 extern short (*getControllerInfo
)(void);
17 extern short (*getModeInfo
)(long mode
);
18 extern short (*setVbeMode
)(long mode
);
19 extern short (*paletteWidth
)(long req
, unsigned char *width
);
20 extern short (*findMode
)(int x
, int y
, int d
);
21 extern struct vbe_controller
*controllerinfo
;
22 extern struct vbe_mode
*modeinfo
;
28 unsigned short x_resolution
;
29 unsigned short y_resolution
;
30 unsigned char bits_per_pixel
;
31 unsigned char memory_model
;
34 extern short getControllerInfo(void);
35 extern short getModeInfo(long mode
);
36 extern short setVbeMode(long mode
);
37 extern short paletteWidth(long req
, unsigned char *width
);
38 extern short findMode(int x
, int y
, int d
);
39 extern struct vbe_controller controllerinfo
;
40 extern struct vbe_mode modeinfo
;
42 #endif /*_IMPLEMENTATION_ */