File:  [NeXTSTEP 3.3 examples] / Examples / DriverKit / ATI / ATI_reloc.tproj / ATI.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:49:02 2018 UTC (8 years, 1 month ago) by root
Branches: NeXT, MAIN
CVS tags: NeXTSTEP33, HEAD
Sample Programs from NeXSTEP 3.3

/* Copyright (c) 1992, 1993 NeXT Computer, Inc.  All rights reserved. 
 *
 * ATI.h - Definition of the ATi display driver class.
 *
 * HISTORY
 * 12 Oct 92	Joe Pasqua
 *      Created. 
* 01 June 93	Mike Paquette
 *	Rewrite: Convert from Corsair device driver to general MACH32 chipset
 * 		driver.
 *  7 July 1993	Derek B Clegg
 *	Cleaned up for external release.
 */
#ifndef ATI_H__
#define ATI_H__

#import <driverkit/IOFrameBufferDisplay.h>
#import "ATIModes.h"

@interface ATI:IOFrameBufferDisplay
{
    /* The flavor of ATI chipset which we have. */
    ATIFlavor ati_flavor;

    /* Setup parameters. */
    const ATI_CRTCSetup *CRTControllerSetup;

    /* The information for the selected display mode. */
    const IODisplayInfo *displayMode;

    /* The transfer tables for this mode. */
    unsigned int *transferTable;

    /* The number of entries in the transfer table. */
    int transferTableCount;

    /* The current screen brightness. */
    int brightnessLevel;

    unsigned int _ATI_reserved[8];
}
- (void)enterLinearMode;
- (void)revertToVGAMode;
- initFromDeviceDescription: deviceDescription;
- setTransferTable:(const unsigned int *)table count:(int)count;
@end

#endif	/* ATI_H__ */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.