|
|
1.1 root 1: /* Copyright (c) 1992, 1993 NeXT Computer, Inc. All rights reserved.
2: *
3: * ATI.h - Definition of the ATi display driver class.
4: *
5: * HISTORY
6: * 12 Oct 92 Joe Pasqua
7: * Created.
8: * 01 June 93 Mike Paquette
9: * Rewrite: Convert from Corsair device driver to general MACH32 chipset
10: * driver.
11: * 7 July 1993 Derek B Clegg
12: * Cleaned up for external release.
13: */
14: #ifndef ATI_H__
15: #define ATI_H__
16:
17: #import <driverkit/IOFrameBufferDisplay.h>
18: #import "ATIModes.h"
19:
20: @interface ATI:IOFrameBufferDisplay
21: {
22: /* The flavor of ATI chipset which we have. */
23: ATIFlavor ati_flavor;
24:
25: /* Setup parameters. */
26: const ATI_CRTCSetup *CRTControllerSetup;
27:
28: /* The information for the selected display mode. */
29: const IODisplayInfo *displayMode;
30:
31: /* The transfer tables for this mode. */
32: unsigned int *transferTable;
33:
34: /* The number of entries in the transfer table. */
35: int transferTableCount;
36:
37: /* The current screen brightness. */
38: int brightnessLevel;
39:
40: unsigned int _ATI_reserved[8];
41: }
42: - (void)enterLinearMode;
43: - (void)revertToVGAMode;
44: - initFromDeviceDescription: deviceDescription;
45: - setTransferTable:(const unsigned int *)table count:(int)count;
46: @end
47:
48: #endif /* ATI_H__ */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.