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