1 /* 2 * This is a header file describing the interface via int 10H to the 3 * video subsystem. 4 * 5 * @(#)video.h 3.1 (Berkeley) 08/11/87 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, 20 WriteAttribute_Character, 21 WriteCharacterOnly, 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; 43