148757Sbostic /*- 2*62343Sbostic * Copyright (c) 1988, 1993 3*62343Sbostic * The Regents of the University of California. All rights reserved. 433814Sbostic * 548757Sbostic * %sccs.include.redist.c% 633814Sbostic * 7*62343Sbostic * @(#)video.h 8.1 (Berkeley) 06/06/93 833814Sbostic */ 933814Sbostic 1033814Sbostic /* 1131119Sminshall * This is a header file describing the interface via int 10H to the 1231119Sminshall * video subsystem. 1331119Sminshall */ 1431119Sminshall 1531119Sminshall #define BIOS_VIDEO 0x10 1631119Sminshall 1731119Sminshall typedef enum { 1831119Sminshall SetMode = 0, 1931119Sminshall SetCursorType, 2031119Sminshall SetCursorPosition, 2131119Sminshall ReadCursorPosition, 2231119Sminshall ReadLightPenPosition, 2331119Sminshall SelectActiveDisplayPage, 2431119Sminshall ScrollActivePageUp, 2531119Sminshall ScrollActivePageDown, 2631119Sminshall ReadAttribute_Character, 2731121Sminshall WriteAttribute_Character, 2831121Sminshall WriteCharacterOnly, 2931119Sminshall SetColorPalette, 3031119Sminshall WriteDot, 3131119Sminshall ReadDot, 3231119Sminshall WriteTeletypeToActivePage, 3331119Sminshall CurrentVideoState, 3431119Sminshall Reserved16, 3531119Sminshall Reserved17, 3631119Sminshall Reserved18, 3731119Sminshall WriteString 3831119Sminshall } VideoOperationsType; 3931119Sminshall 4031119Sminshall typedef enum { 4131119Sminshall bw_40x25 = 0, 4231119Sminshall color_40x25, 4331119Sminshall bw_80x25, 4431119Sminshall color_80x25, 4531119Sminshall color_320x200, 4631119Sminshall bw_320x200, 4731119Sminshall bw_640x200, 4831119Sminshall internal_bw_80x25 4931119Sminshall } VideoModeType; 50