📄 r128_reg.h
字号:
#define R128_BRUSH_DATA58 0x1568#define R128_BRUSH_DATA59 0x156c#define R128_BRUSH_DATA6 0x1498#define R128_BRUSH_DATA60 0x1570#define R128_BRUSH_DATA61 0x1574#define R128_BRUSH_DATA62 0x1578#define R128_BRUSH_DATA63 0x157c#define R128_BRUSH_DATA7 0x149c#define R128_BRUSH_DATA8 0x14a0#define R128_BRUSH_DATA9 0x14a4#define R128_BRUSH_SCALE 0x1470#define R128_BRUSH_Y_X 0x1474#define R128_BUS_CNTL 0x0030# define R128_BUS_MASTER_DIS (1 << 6)# define R128_BUS_RD_DISCARD_EN (1 << 24)# define R128_BUS_RD_ABORT_EN (1 << 25)# define R128_BUS_MSTR_DISCONNECT_EN (1 << 28)# define R128_BUS_WRT_BURST (1 << 29)# define R128_BUS_READ_BURST (1 << 30)#define R128_BUS_CNTL1 0x0034# define R128_BUS_WAIT_ON_LOCK_EN (1 << 4)#define R128_CACHE_CNTL 0x1724#define R128_CACHE_LINE 0x0f0c /* PCI */#define R128_CAP0_TRIG_CNTL 0x0950 /* ? */#define R128_CAP1_TRIG_CNTL 0x09c0 /* ? */#define R128_CAPABILITIES_ID 0x0f50 /* PCI */#define R128_CAPABILITIES_PTR 0x0f34 /* PCI */#define R128_CLK_PIN_CNTL 0x0001 /* PLL */#define R128_CLOCK_CNTL_DATA 0x000c#define R128_CLOCK_CNTL_INDEX 0x0008# define R128_PLL_WR_EN (1 << 7)# define R128_PLL_DIV_SEL (3 << 8)#define R128_CLR_CMP_CLR_3D 0x1a24#define R128_CLR_CMP_CLR_DST 0x15c8#define R128_CLR_CMP_CLR_SRC 0x15c4#define R128_CLR_CMP_CNTL 0x15c0# define R128_SRC_CMP_EQ_COLOR (4 << 0)# define R128_SRC_CMP_NEQ_COLOR (5 << 0)# define R128_CLR_CMP_SRC_SOURCE (1 << 24)#define R128_CLR_CMP_MASK 0x15cc# define R128_CLR_CMP_MSK 0xffffffff#define R128_CLR_CMP_MASK_3D 0x1A28#define R128_COMMAND 0x0f04 /* PCI */#define R128_COMPOSITE_SHADOW_ID 0x1a0c#define R128_CONFIG_APER_0_BASE 0x0100#define R128_CONFIG_APER_1_BASE 0x0104#define R128_CONFIG_APER_SIZE 0x0108#define R128_CONFIG_BONDS 0x00e8#define R128_CONFIG_CNTL 0x00e0# define APER_0_BIG_ENDIAN_16BPP_SWAP (1 << 0)# define APER_0_BIG_ENDIAN_32BPP_SWAP (2 << 0)# define R128_CFG_VGA_RAM_EN (1 << 8)#define R128_CONFIG_MEMSIZE 0x00f8#define R128_CONFIG_MEMSIZE_EMBEDDED 0x0114#define R128_CONFIG_REG_1_BASE 0x010c#define R128_CONFIG_REG_APER_SIZE 0x0110#define R128_CONFIG_XSTRAP 0x00e4#define R128_CONSTANT_COLOR_C 0x1d34# define R128_CONSTANT_COLOR_MASK 0x00ffffff# define R128_CONSTANT_COLOR_ONE 0x00ffffff# define R128_CONSTANT_COLOR_ZERO 0x00000000#define R128_CRC_CMDFIFO_ADDR 0x0740#define R128_CRC_CMDFIFO_DOUT 0x0744#define R128_CRTC_CRNT_FRAME 0x0214#define R128_CRTC_DEBUG 0x021c#define R128_CRTC_EXT_CNTL 0x0054# define R128_CRTC_VGA_XOVERSCAN (1 << 0)# define R128_VGA_ATI_LINEAR (1 << 3)# define R128_XCRT_CNT_EN (1 << 6)# define R128_CRTC_HSYNC_DIS (1 << 8)# define R128_CRTC_VSYNC_DIS (1 << 9)# define R128_CRTC_DISPLAY_DIS (1 << 10)# define R128_CRTC_CRT_ON (1 << 15)# define R128_VGA_MEM_PS_EN (1 << 19)#define R128_CRTC_EXT_CNTL_DPMS_BYTE 0x0055# define R128_CRTC_HSYNC_DIS_BYTE (1 << 0)# define R128_CRTC_VSYNC_DIS_BYTE (1 << 1)# define R128_CRTC_DISPLAY_DIS_BYTE (1 << 2)#define R128_CRTC_GEN_CNTL 0x0050# define R128_CRTC_DBL_SCAN_EN (1 << 0)# define R128_CRTC_INTERLACE_EN (1 << 1)# define R128_CRTC_CSYNC_EN (1 << 4)# define R128_CRTC_CUR_EN (1 << 16)# define R128_CRTC_CUR_MODE_MASK (7 << 17)# define R128_CRTC_ICON_EN (1 << 20)# define R128_CRTC_EXT_DISP_EN (1 << 24)# define R128_CRTC_EN (1 << 25)# define R128_CRTC_DISP_REQ_EN_B (1 << 26)#define R128_CRTC_GUI_TRIG_VLINE 0x0218#define R128_CRTC_H_SYNC_STRT_WID 0x0204# define R128_CRTC_H_SYNC_STRT_PIX (0x07 << 0)# define R128_CRTC_H_SYNC_STRT_CHAR (0x1ff << 3)# define R128_CRTC_H_SYNC_STRT_CHAR_SHIFT 3# define R128_CRTC_H_SYNC_WID (0x3f << 16)# define R128_CRTC_H_SYNC_WID_SHIFT 16# define R128_CRTC_H_SYNC_POL (1 << 23)#define R128_CRTC_H_TOTAL_DISP 0x0200# define R128_CRTC_H_TOTAL (0x01ff << 0)# define R128_CRTC_H_TOTAL_SHIFT 0# define R128_CRTC_H_DISP (0x00ff << 16)# define R128_CRTC_H_DISP_SHIFT 16#define R128_CRTC_OFFSET 0x0224#define R128_CRTC_OFFSET_CNTL 0x0228#define R128_CRTC_PITCH 0x022c#define R128_CRTC_STATUS 0x005c# define R128_CRTC_VBLANK_SAVE (1 << 1)#define R128_CRTC_V_SYNC_STRT_WID 0x020c# define R128_CRTC_V_SYNC_STRT (0x7ff << 0)# define R128_CRTC_V_SYNC_STRT_SHIFT 0# define R128_CRTC_V_SYNC_WID (0x1f << 16)# define R128_CRTC_V_SYNC_WID_SHIFT 16# define R128_CRTC_V_SYNC_POL (1 << 23)#define R128_CRTC_V_TOTAL_DISP 0x0208# define R128_CRTC_V_TOTAL (0x07ff << 0)# define R128_CRTC_V_TOTAL_SHIFT 0# define R128_CRTC_V_DISP (0x07ff << 16)# define R128_CRTC_V_DISP_SHIFT 16#define R128_CRTC_VLINE_CRNT_VLINE 0x0210# define R128_CRTC_CRNT_VLINE_MASK (0x7ff << 16)#define R128_CRTC2_CRNT_FRAME 0x0314#define R128_CRTC2_DEBUG 0x031c#define R128_CRTC2_GEN_CNTL 0x03f8#define R128_CRTC2_GUI_TRIG_VLINE 0x0318#define R128_CRTC2_H_SYNC_STRT_WID 0x0304#define R128_CRTC2_H_TOTAL_DISP 0x0300#define R128_CRTC2_OFFSET 0x0324#define R128_CRTC2_OFFSET_CNTL 0x0328#define R128_CRTC2_PITCH 0x032c#define R128_CRTC2_STATUS 0x03fc#define R128_CRTC2_V_SYNC_STRT_WID 0x030c#define R128_CRTC2_V_TOTAL_DISP 0x0308#define R128_CRTC2_VLINE_CRNT_VLINE 0x0310#define R128_CRTC8_DATA 0x03d5 /* VGA, 0x3b5 */#define R128_CRTC8_IDX 0x03d4 /* VGA, 0x3b4 */#define R128_CUR_CLR0 0x026c#define R128_CUR_CLR1 0x0270#define R128_CUR_HORZ_VERT_OFF 0x0268#define R128_CUR_HORZ_VERT_POSN 0x0264#define R128_CUR_OFFSET 0x0260# define R128_CUR_LOCK (1 << 31)#define R128_DAC_CNTL 0x0058# define R128_DAC_RANGE_CNTL (3 << 0)# define R128_DAC_BLANKING (1 << 2)# define R128_DAC_CRT_SEL_CRTC2 (1 << 4)# define R128_DAC_PALETTE_ACC_CTL (1 << 5)# define R128_DAC_8BIT_EN (1 << 8)# define R128_DAC_VGA_ADR_EN (1 << 13)# define R128_DAC_MASK_ALL (0xff << 24)#define R128_DAC_CRC_SIG 0x02cc#define R128_DAC_DATA 0x03c9 /* VGA */#define R128_DAC_MASK 0x03c6 /* VGA */#define R128_DAC_R_INDEX 0x03c7 /* VGA */#define R128_DAC_W_INDEX 0x03c8 /* VGA */#define R128_DDA_CONFIG 0x02e0#define R128_DDA_ON_OFF 0x02e4#define R128_DEFAULT_OFFSET 0x16e0#define R128_DEFAULT_PITCH 0x16e4#define R128_DEFAULT_SC_BOTTOM_RIGHT 0x16e8# define R128_DEFAULT_SC_RIGHT_MAX (0x1fff << 0)# define R128_DEFAULT_SC_BOTTOM_MAX (0x1fff << 16)#define R128_DESTINATION_3D_CLR_CMP_VAL 0x1820#define R128_DESTINATION_3D_CLR_CMP_MSK 0x1824#define R128_DEVICE_ID 0x0f02 /* PCI */#define R128_DP_BRUSH_BKGD_CLR 0x1478#define R128_DP_BRUSH_FRGD_CLR 0x147c#define R128_DP_CNTL 0x16c0# define R128_DST_X_LEFT_TO_RIGHT (1 << 0)# define R128_DST_Y_TOP_TO_BOTTOM (1 << 1)#define R128_DP_CNTL_XDIR_YDIR_YMAJOR 0x16d0# define R128_DST_Y_MAJOR (1 << 2)# define R128_DST_Y_DIR_TOP_TO_BOTTOM (1 << 15)# define R128_DST_X_DIR_LEFT_TO_RIGHT (1 << 31)#define R128_DP_DATATYPE 0x16c4# define R128_HOST_BIG_ENDIAN_EN (1 << 29)#define R128_DP_GUI_MASTER_CNTL 0x146c# define R128_GMC_SRC_PITCH_OFFSET_CNTL (1 << 0)# define R128_GMC_DST_PITCH_OFFSET_CNTL (1 << 1)# define R128_GMC_SRC_CLIPPING (1 << 2)# define R128_GMC_DST_CLIPPING (1 << 3)# define R128_GMC_BRUSH_DATATYPE_MASK (0x0f << 4)# define R128_GMC_BRUSH_8X8_MONO_FG_BG (0 << 4)# define R128_GMC_BRUSH_8X8_MONO_FG_LA (1 << 4)# define R128_GMC_BRUSH_1X8_MONO_FG_BG (4 << 4)# define R128_GMC_BRUSH_1X8_MONO_FG_LA (5 << 4)# define R128_GMC_BRUSH_32x1_MONO_FG_BG (6 << 4)# define R128_GMC_BRUSH_32x1_MONO_FG_LA (7 << 4)# define R128_GMC_BRUSH_32x32_MONO_FG_BG (8 << 4)# define R128_GMC_BRUSH_32x32_MONO_FG_LA (9 << 4)# define R128_GMC_BRUSH_8x8_COLOR (10 << 4)# define R128_GMC_BRUSH_1X8_COLOR (12 << 4)# define R128_GMC_BRUSH_SOLID_COLOR (13 << 4)# define R128_GMC_BRUSH_NONE (15 << 4)# define R128_GMC_DST_8BPP_CI (2 << 8)# define R128_GMC_DST_15BPP (3 << 8)# define R128_GMC_DST_16BPP (4 << 8)# define R128_GMC_DST_24BPP (5 << 8)# define R128_GMC_DST_32BPP (6 << 8)# define R128_GMC_DST_8BPP_RGB (7 << 8)# define R128_GMC_DST_Y8 (8 << 8)# define R128_GMC_DST_RGB8 (9 << 8)# define R128_GMC_DST_VYUY (11 << 8)# define R128_GMC_DST_YVYU (12 << 8)# define R128_GMC_DST_AYUV444 (14 << 8)# define R128_GMC_DST_ARGB4444 (15 << 8)# define R128_GMC_DST_DATATYPE_MASK (0x0f << 8)# define R128_GMC_DST_DATATYPE_SHIFT 8# define R128_GMC_SRC_DATATYPE_MASK (3 << 12)# define R128_GMC_SRC_DATATYPE_MONO_FG_BG (0 << 12)# define R128_GMC_SRC_DATATYPE_MONO_FG_LA (1 << 12)# define R128_GMC_SRC_DATATYPE_COLOR (3 << 12)# define R128_GMC_BYTE_PIX_ORDER (1 << 14)# define R128_GMC_BYTE_MSB_TO_LSB (0 << 14)# define R128_GMC_BYTE_LSB_TO_MSB (1 << 14)# define R128_GMC_CONVERSION_TEMP (1 << 15)# define R128_GMC_CONVERSION_TEMP_6500 (0 << 15)# define R128_GMC_CONVERSION_TEMP_9300 (1 << 15)# define R128_GMC_ROP3_MASK (0xff << 16)# define R128_DP_SRC_SOURCE_MASK (7 << 24)# define R128_DP_SRC_SOURCE_MEMORY (2 << 24)# define R128_DP_SRC_SOURCE_HOST_DATA (3 << 24)# define R128_GMC_3D_FCN_EN (1 << 27)# define R128_GMC_CLR_CMP_CNTL_DIS (1 << 28)# define R128_GMC_AUX_CLIP_DIS (1 << 29)# define R128_GMC_WR_MSK_DIS (1 << 30)# define R128_GMC_LD_BRUSH_Y_X (1 << 31)# define R128_ROP3_ZERO 0x00000000# define R128_ROP3_DSa 0x00880000# define R128_ROP3_SDna 0x00440000# define R128_ROP3_S 0x00cc0000# define R128_ROP3_DSna 0x00220000# define R128_ROP3_D 0x00aa0000# define R128_ROP3_DSx 0x00660000# define R128_ROP3_DSo 0x00ee0000# define R128_ROP3_DSon 0x00110000# define R128_ROP3_DSxn 0x00990000# define R128_ROP3_Dn 0x00550000# define R128_ROP3_SDno 0x00dd0000# define R128_ROP3_Sn 0x00330000# define R128_ROP3_DSno 0x00bb0000# define R128_ROP3_DSan 0x00770000# define R128_ROP3_ONE 0x00ff0000# define R128_ROP3_DPa 0x00a00000# define R128_ROP3_PDna 0x00500000# define R128_ROP3_P 0x00f00000# define R128_ROP3_DPna 0x000a0000# define R128_ROP3_D 0x00aa0000# define R128_ROP3_DPx 0x005a0000# define R128_ROP3_DPo 0x00fa0000# define R128_ROP3_DPon 0x00050000# define R128_ROP3_PDxn 0x00a50000# define R128_ROP3_PDno 0x00f50000# define R128_ROP3_Pn 0x000f0000# define R128_ROP3_DPno 0x00af0000# define R128_ROP3_DPan 0x005f0000
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -