|
|
1.1 ! root 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) 3/28/88 ! 13: */ ! 14: ! 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: ! 22: typedef enum { ! 23: SetMode = 0, ! 24: SetCursorType, ! 25: SetCursorPosition, ! 26: ReadCursorPosition, ! 27: ReadLightPenPosition, ! 28: SelectActiveDisplayPage, ! 29: ScrollActivePageUp, ! 30: ScrollActivePageDown, ! 31: ReadAttribute_Character, ! 32: WriteAttribute_Character, ! 33: WriteCharacterOnly, ! 34: SetColorPalette, ! 35: WriteDot, ! 36: ReadDot, ! 37: WriteTeletypeToActivePage, ! 38: CurrentVideoState, ! 39: Reserved16, ! 40: Reserved17, ! 41: Reserved18, ! 42: WriteString ! 43: } VideoOperationsType; ! 44: ! 45: typedef 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;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.