Commit | Line | Data |
---|---|---|
7c599191 GM |
1 | /* |
2 | * This is a header file describing the interface via int 10H to the | |
3 | * video subsystem. | |
992de934 GM |
4 | * |
5 | * @(#)video.h 1.3 (Berkeley) %G% | |
7c599191 GM |
6 | */ |
7 | ||
8 | #define BIOS_VIDEO 0x10 | |
9 | ||
10 | typedef enum { | |
11 | SetMode = 0, | |
12 | SetCursorType, | |
13 | SetCursorPosition, | |
14 | ReadCursorPosition, | |
15 | ReadLightPenPosition, | |
16 | SelectActiveDisplayPage, | |
17 | ScrollActivePageUp, | |
18 | ScrollActivePageDown, | |
19 | ReadAttribute_Character, | |
2d734a9d GM |
20 | WriteAttribute_Character, |
21 | WriteCharacterOnly, | |
7c599191 GM |
22 | SetColorPalette, |
23 | WriteDot, | |
24 | ReadDot, | |
25 | WriteTeletypeToActivePage, | |
26 | CurrentVideoState, | |
27 | Reserved16, | |
28 | Reserved17, | |
29 | Reserved18, | |
30 | WriteString | |
31 | } VideoOperationsType; | |
32 | ||
33 | typedef enum { | |
34 | bw_40x25 = 0, | |
35 | color_40x25, | |
36 | bw_80x25, | |
37 | color_80x25, | |
38 | color_320x200, | |
39 | bw_320x200, | |
40 | bw_640x200, | |
41 | internal_bw_80x25 | |
42 | } VideoModeType; |