FDOSTUI
FreeDOS Text User Interface
video.h
1 /*
2  VIDEO.H
3 
4  Adapted from the work of Jerome Shidel INFO.PAS.
5 
6  Copyright 1990-2015, Jerome Shidel.
7 
8  This project and related files are subject to the terms of the Mozilla
9  Public License, v. 2.0. If a copy of the MPL was not distributed with
10  this file, You can obtain one at http://mozilla.org/MPL/2.0/.
11 */
12 #ifndef __video_h__
13 
14 enum video_card
15 {
16  VIDEO_CARD_VESA = 9,
17  VIDEO_CARD_VGA = 8,
18  VIDEO_CARD_MCGA = 7,
19  VIDEO_CARD_EGA = 6,
20  VIDEO_CARD_CGA = 5,
21  VIDEO_CARD_INCOLOR = 4,
22  VIDEO_CARD_HGCPLUS = 3,
23  VIDEO_CARD_HGC = 2,
24  VIDEO_CARD_MDA = 1,
25  VIDEO_CARD_NONE = 0
26 };
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
32 extern enum video_card
33 video_detect();
34 
35 #ifdef __cplusplus
36 }
37 #endif
38 
39 #define __video_h__
40 #endif