4 #include <aros/multiboot.h>
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
;
24 extern void *_binary_vesa_size
, *_binary_vesa_start
;
30 unsigned short x_resolution
;
31 unsigned short y_resolution
;
32 unsigned char bits_per_pixel
;
33 unsigned char memory_model
;
36 extern short getControllerInfo(void);
37 extern short getModeInfo(long mode
);
38 extern short setVbeMode(long mode
);
39 extern short paletteWidth(long req
, unsigned char *width
);
40 extern short findMode(int x
, int y
, int d
);
41 extern struct vbe_controller controllerinfo
;
42 extern struct vbe_mode modeinfo
;
44 #endif /*_IMPLEMENTATION_ */