📄 pdpdefs.h
字号:
/**************************************************************************
Name : pdpregs.h
Title : PDP Register Read/write functions
Author : Paul Buxton
Created : 6 March 2003
Copyright : 2003 by Imagination Technologies Limited. All rights reserved.
: No part of this software, either material or conceptual
: may be copied or distributed, transmitted, transcribed,
: stored in a retrieval system or translated into any
: human or computer language in any form by any means,
: electronic, mechanical, manual or other-wise, or
: disclosed to third parties without the express written
: permission of Imagination Technologies Limited, Unit 8, HomePark
: Industrial Estate, King's Langley, Hertfordshire,
: WD4 8LZ, U.K.
Description : Register Control for PDP
Platform : WinCE
Version : $Revision: 1.1 $
Modifications :
$Log: pdpdefs.h $
--- Revision Logs Removed ---
--- Revision Logs Removed ---
**************************************************************************/
#define PDP_STR1SIZE 0x0000
#define PDP_STR2SIZE 0x0004
#define PDP_STR1BLEND 0x0020
#define PDP_STR2BLEND 0x0024
#define PDP_STR1MASK 0x0040
#define PDP_STR2MASK 0x0044
#define PDP_STR1BASE 0x0060
#define PDP_STR2BASE 0x0064
#define PDP_STR2UBASE 0x0084
#define PDP_STR2VBASE 0x00a4
#define PDP_STR1START 0x00c0
#define PDP_STR2START 0x00c4
#define PDP_CURBASE 0x0100
#define PDP_CURSIZE 0x0110
#define PDP_CURPOS 0x0120
#define PDP_CURBLEND 0x0130
#define PDP_CURMASK 0x0140
#define PDP_SYNCCTRL 0x0154
#define PDP_UPDATECTRL 0x030c
#define PDP_HT1 0x0158
#define PDP_HT2 0x015c
#define PDP_HT3 0x0160
#define PDP_VT1 0x0164
#define PDP_VT2 0x0168
#define PDP_VT3 0x016c
#define PDP_VEVENT 0x0310
#define PDP_HDE 0x0314
#define PDP_VDE 0x0318
#define PDP_OUTPUTMASK 0x031c
#define PDP_BORDER 0x0170
#define PDP_BACKGROUND 0x0174
#define PDP_LINECOUNT 0x0308
#define PDP_VIDCLIP 0x018c
#define PDP_VSCALE 0x0190
#define PDP_VINITIAL 0x0194
#define PDP_VCOEFF0 0x0198
#define PDP_VCOEFF1 0x019c
#define PDP_VCOEFF2 0x01a0
#define PDP_VCOEFF3 0x01a4
#define PDP_VCOEFF4 0x01a8
#define PDP_HSCALE 0x01b0
#define PDP_HCOEFF0 0x01b4
#define PDP_HCOEFF1 0x01b8
#define PDP_HCOEFF2 0x01bc
#define PDP_HCOEFF3 0x01c0
#define PDP_HCOEFF4 0x01c4
#define PDP_HCOEFF5 0x01c8
#define PDP_HCOEFF6 0x01cc
#define PDP_HCOEFF7 0x01d0
#define PDP_HCOEFF8 0x01d4
#define PDP_SCALESIZE 0x01d8
#define PDP_VIDGAMMA0 0x0200
#define PDP_VIDGAMMA1 0x0204
#define PDP_VIDGAMMA2 0x0208
#define PDP_VIDGAMMA3 0x020c
#define PDP_VIDGAMMA4 0x0210
#define PDP_VIDGAMMA5 0x0214
#define PDP_VIDGAMMA6 0x0218
#define PDP_VIDGAMMA7 0x021c
#define PDP_VIDGAMMA8 0x0220
#define PDP_VIDGAMMA9 0x0224
#define PDP_VIDGAMMA10 0x0228
#define PDP_VIDGAMMA11 0x022c
#define PDP_VIDGAMMA12 0x0230
#define PDP_VIDGAMMA13 0x0234
#define PDP_VIDGAMMA14 0x0238
#define PDP_VIDGAMMA15 0x023c
#define PDP_VIDGAMMA16 0x0240
#define PDP_GAMMA0 0x0250
#define PDP_GAMMA1 0x0254
#define PDP_GAMMA2 0x0258
#define PDP_GAMMA3 0x025c
#define PDP_GAMMA4 0x0260
#define PDP_GAMMA5 0x0264
#define PDP_GAMMA6 0x0268
#define PDP_GAMMA7 0x026c
#define PDP_GAMMA8 0x0270
#define PDP_GAMMA9 0x0274
#define PDP_GAMMA10 0x0278
#define PDP_GAMMA11 0x027c
#define PDP_GAMMA12 0x0280
#define PDP_GAMMA13 0x0284
#define PDP_GAMMA14 0x0288
#define PDP_GAMMA15 0x028c
#define PDP_GAMMA16 0x0290
#define PDP_CSC0 0x0330
#define PDP_CSC1 0x0334
#define PDP_CSC2 0x0338
#define PDP_CSC3 0x033c
#define PDP_CSC4 0x0340
#define PDP_LISTCONTROL 0x0304
#define PDP_LISTSTATUS 0x0300
#define PDP_MEMCTL 0x0188
#define PDP_PALETTEDATA 0x0150
#define PDP_INTSTATUS 0x0178
#define PDP_INTENABLE 0x017c
#define PDP_INTCONTROL 0x0180
#define PDP_SIGNATURE 0x0184
#define PDP_PDPID 0x03fc
/********************************************************* Interrupt defines */
#define PDP_INTERRUPT_ALL (0x7)
#define PDP_INTERRUPT_VBLANK (0x4)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -