include ultrix -> vaxuba
[unix-history] / usr / src / usr.bin / tn3270 / distribution / sys_dos / video.h
CommitLineData
2d415723
KB
1/*
2 * Copyright (c) 1988 Regents of the University of California.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms are permitted
6 * provided that this notice is preserved and that due credit is given
7 * to the University of California at Berkeley. The name of the University
8 * may not be used to endorse or promote products derived from this
9 * software without specific prior written permission. This software
10 * is provided ``as is'' without express or implied warranty.
11 *
12 * @(#)video.h 3.2 (Berkeley) %G%
13 */
14
7c599191
GM
15/*
16 * This is a header file describing the interface via int 10H to the
17 * video subsystem.
18 */
19
20#define BIOS_VIDEO 0x10
21
22typedef enum {
23 SetMode = 0,
24 SetCursorType,
25 SetCursorPosition,
26 ReadCursorPosition,
27 ReadLightPenPosition,
28 SelectActiveDisplayPage,
29 ScrollActivePageUp,
30 ScrollActivePageDown,
31 ReadAttribute_Character,
2d734a9d
GM
32 WriteAttribute_Character,
33 WriteCharacterOnly,
7c599191
GM
34 SetColorPalette,
35 WriteDot,
36 ReadDot,
37 WriteTeletypeToActivePage,
38 CurrentVideoState,
39 Reserved16,
40 Reserved17,
41 Reserved18,
42 WriteString
43} VideoOperationsType;
44
45typedef enum {
46 bw_40x25 = 0,
47 color_40x25,
48 bw_80x25,
49 color_80x25,
50 color_320x200,
51 bw_320x200,
52 bw_640x200,
53 internal_bw_80x25
54} VideoModeType;