/*
* drivers/video/clgenfb.h - Cirrus Logic chipset constants
*
* Copyright 1999 Jeff Garzik <jgarzik@pobox.com>
*
* Original clgenfb author: Frank Neumann
*
* Based on retz3fb.c and clgen.c:
* Copyright (C) 1997 Jes Sorensen
* Copyright (C) 1996 Frank Neumann
*
***************************************************************
*
* Format this code with GNU indent '-kr -i8 -pcs' options.
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of this archive
* for more details.
*
*/
#ifndef __CLGENFB_H__
#define __CLGENFB_H__
/* OLD COMMENT: definitions for Piccolo/SD64 VGA controller chip */
/* OLD COMMENT: these definitions might most of the time also work */
/* OLD COMMENT: for other CL-GD542x/543x based boards.. */
/*** External/General Registers ***/
#define CL_POS102 0 x102 /* POS102 register */
#define CL_VSSM 0 x46e8 /* Adapter Sleep */
#define CL_VSSM2 0 x3c3 /* Motherboard Sleep */
/*** VGA Sequencer Registers ***/
/* the following are from the "extension registers" group */
#define CL_SEQR6 0 x6 /* Unlock ALL Extensions */
#define CL_SEQR7 0 x7 /* Extended Sequencer Mode */
#define CL_SEQR8 0 x8 /* EEPROM Control */
#define CL_SEQR9 0 x9 /* Scratch Pad 0 (do not access!) */
#define CL_SEQRA 0 xa /* Scratch Pad 1 (do not access!) */
#define CL_SEQRB 0 xb /* VCLK0 Numerator */
#define CL_SEQRC 0 xc /* VCLK1 Numerator */
#define CL_SEQRD 0 xd /* VCLK2 Numerator */
#define CL_SEQRE 0 xe /* VCLK3 Numerator */
#define CL_SEQRF 0 xf /* DRAM Control */
#define CL_SEQR10 0 x10 /* Graphics Cursor X Position */
#define CL_SEQR11 0 x11 /* Graphics Cursor Y Position */
#define CL_SEQR12 0 x12 /* Graphics Cursor Attributes */
#define CL_SEQR13 0 x13 /* Graphics Cursor Pattern Address Offset */
#define CL_SEQR14 0 x14 /* Scratch Pad 2 (CL-GD5426/'28 Only) (do not access!) */
#define CL_SEQR15 0 x15 /* Scratch Pad 3 (CL-GD5426/'28 Only) (do not access!) */
#define CL_SEQR16 0 x16 /* Performance Tuning (CL-GD5424/'26/'28 Only) */
#define CL_SEQR17 0 x17 /* Configuration ReadBack and Extended Control (CL-GF5428 Only) */
#define CL_SEQR18 0 x18 /* Signature Generator Control (Not CL-GD5420) */
#define CL_SEQR19 0 x19 /* Signature Generator Result Low Byte (Not CL-GD5420) */
#define CL_SEQR1A 0 x1a /* Signature Generator Result High Byte (Not CL-GD5420) */
#define CL_SEQR1B 0 x1b /* VCLK0 Denominator and Post-Scalar Value */
#define CL_SEQR1C 0 x1c /* VCLK1 Denominator and Post-Scalar Value */
#define CL_SEQR1D 0 x1d /* VCLK2 Denominator and Post-Scalar Value */
#define CL_SEQR1E 0 x1e /* VCLK3 Denominator and Post-Scalar Value */
#define CL_SEQR1F 0 x1f /* BIOS ROM write enable and MCLK Select */
/*** CRT Controller Registers ***/
#define CL_CRT22 0 x22 /* Graphics Data Latches ReadBack */
#define CL_CRT24 0 x24 /* Attribute Controller Toggle ReadBack */
#define CL_CRT26 0 x26 /* Attribute Controller Index ReadBack */
/* the following are from the "extension registers" group */
#define CL_CRT19 0 x19 /* Interlace End */
#define CL_CRT1A 0 x1a /* Interlace Control */
#define CL_CRT1B 0 x1b /* Extended Display Controls */
#define CL_CRT1C 0 x1c /* Sync adjust and genlock register */
#define CL_CRT1D 0 x1d /* Overlay Extended Control register */
#define CL_CRT1E 0 x1e /* Another overflow register */
#define CL_CRT25 0 x25 /* Part Status Register */
#define CL_CRT27 0 x27 /* ID Register */
#define CL_CRT51 0 x51 /* P4 disable "flicker fixer" */
/*** Graphics Controller Registers ***/
/* the following are from the "extension registers" group */
#define CL_GR9 0 x9 /* Offset Register 0 */
#define CL_GRA 0 xa /* Offset Register 1 */
#define CL_GRB 0 xb /* Graphics Controller Mode Extensions */
#define CL_GRC 0 xc /* Color Key (CL-GD5424/'26/'28 Only) */
#define CL_GRD 0 xd /* Color Key Mask (CL-GD5424/'26/'28 Only) */
#define CL_GRE 0 xe /* Miscellaneous Control (Cl-GD5428 Only) */
#define CL_GRF 0 xf /* Display Compression Control register */
#define CL_GR10 0 x10 /* 16-bit Pixel BG Color High Byte (Not CL-GD5420) */
#define CL_GR11 0 x11 /* 16-bit Pixel FG Color High Byte (Not CL-GD5420) */
#define CL_GR12 0 x12 /* Background Color Byte 2 Register */
#define CL_GR13 0 x13 /* Foreground Color Byte 2 Register */
#define CL_GR14 0 x14 /* Background Color Byte 3 Register */
#define CL_GR15 0 x15 /* Foreground Color Byte 3 Register */
/* the following are CL-GD5426/'28 specific blitter registers */
#define CL_GR20 0 x20 /* BLT Width Low */
#define CL_GR21 0 x21 /* BLT Width High */
#define CL_GR22 0 x22 /* BLT Height Low */
#define CL_GR23 0 x23 /* BLT Height High */
#define CL_GR24 0 x24 /* BLT Destination Pitch Low */
#define CL_GR25 0 x25 /* BLT Destination Pitch High */
#define CL_GR26 0 x26 /* BLT Source Pitch Low */
#define CL_GR27 0 x27 /* BLT Source Pitch High */
#define CL_GR28 0 x28 /* BLT Destination Start Low */
#define CL_GR29 0 x29 /* BLT Destination Start Mid */
#define CL_GR2A 0 x2a /* BLT Destination Start High */
#define CL_GR2C 0 x2c /* BLT Source Start Low */
#define CL_GR2D 0 x2d /* BLT Source Start Mid */
#define CL_GR2E 0 x2e /* BLT Source Start High */
#define CL_GR2F 0 x2f /* Picasso IV Blitter compat mode..? */
#define CL_GR30 0 x30 /* BLT Mode */
#define CL_GR31 0 x31 /* BLT Start/Status */
#define CL_GR32 0 x32 /* BLT Raster Operation */
#define CL_GR33 0 x33 /* another P4 "compat" register.. */
#define CL_GR34 0 x34 /* Transparent Color Select Low */
#define CL_GR35 0 x35 /* Transparent Color Select High */
#define CL_GR38 0 x38 /* Source Transparent Color Mask Low */
#define CL_GR39 0 x39 /* Source Transparent Color Mask High */
/*** Attribute Controller Registers ***/
#define CL_AR33 0 x33 /* The "real" Pixel Panning register (?) */
#define CL_AR34 0 x34 /* TEST */
#endif /* __CLGENFB_H__ */
Messung V0.5 in Prozent C=95 H=91 G=92
¤ Dauer der Verarbeitung: 0.14 Sekunden
(vorverarbeitet am 2026-06-08)
¤
*© Formatika GbR, Deutschland