1 /*- 2 * Copyright (c) 1988, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)video.h 8.1 (Berkeley) 06/06/93 8 */ 9 10 /* 11 * This is a header file describing the interface via int 10H to the 12 * video subsystem. 13 */ 14 15 #define BIOS_VIDEO 0x10 16 17 typedef enum { 18 SetMode = 0, 19 SetCursorType, 20 SetCursorPosition, 21 ReadCursorPosition, 22 ReadLightPenPosition, 23 SelectActiveDisplayPage, 24 ScrollActivePageUp, 25 ScrollActivePageDown, 26 ReadAttribute_Character, 27 WriteAttribute_Character, 28 WriteCharacterOnly, 29 SetColorPalette, 30 WriteDot, 31 ReadDot, 32 WriteTeletypeToActivePage, 33 CurrentVideoState, 34 Reserved16, 35 Reserved17, 36 Reserved18, 37 WriteString 38 } VideoOperationsType; 39 40 typedef enum { 41 bw_40x25 = 0, 42 color_40x25, 43 bw_80x25, 44 color_80x25, 45 color_320x200, 46 bw_320x200, 47 bw_640x200, 48 internal_bw_80x25 49 } VideoModeType; 50