Reverse-engineered from Windows Mobile drivers (ace_ddi.dll, ahioem.dll, ati_mid.dll, cif.dll, wavedev.dll, SDHC.dll).
All MMIO register offsets below are 32-bit (or 16-bit for SDIO) relative to the ATI register base (AtiVirtReg, physical 0x08000000).
| Offset | Register Name | Bitfields & Function |
|---|---|---|
0x002C |
ASIC_MASTER_CFG |
Bit 16 (0x00010000): Master configuration unlock/enable (cleared to 0 at init). |
0x0080 |
CLK_TOP_CTRL |
Bit 7 (0x0080): Master clock reference / PLL bypass control. |
0x0088 |
PLL_CNTL |
Bit 0 (0x01): Main PLL power-down / bypass (1 = PLL off / direct clock in standby/suspend, 0 = PLL active). |
0x008C |
SCLK_DIV_CNTL |
Bits 1..0 (0x03): CLK_SRC_SEL (0 = Bypass/XTAL, 1 = PLL)Bits 5..2 ( 0x3C): DIV_3 (4-bit peripheral/PCLK divider)Bits 9..6 ( 0x03C0): DIV_2 (4-bit memory MCLK divider)Bits 14..11 ( 0x7800): DIV_1 (4-bit system SCLK divider)Bits 21..16 ( 0x003F0000): Clock mode config (0x010000 std)Bit 27 ( 0x08000000): Extended clock boost. |
0x0090 |
CLK_PIN_CTRL |
Bit 9 (0x0200): External/peripheral clock output enableBit 21 ( 0x00200000): Continuous SDIO clock output enable (for SDIO CMD52/CMD53). |
0x0098 |
PWR_MGT_CNTL |
Bit 0 (0x01): Dynamic clock gating enableBit 1 ( 0x02): Deep sleep enableBits 3..2 ( 0x0C): Core power state (0x0 = Active, 0x4 = Standby, 0x8 = Mode 4, 0xC = Suspend)Bits 5..4 ( 0x30): Memory/core power mode (0x10 or 0x30)Bits 7..6 ( 0xC0): Extended low-power sub-states. |
0x009C |
SCLK_CNTL |
Bits 4, 5, 8 (0x0130): Core/bus base clocksBit 10 ( 0x0400): Deep sleep clock gate / self-refreshBits 12, 15 ( 0x9000): Multimedia engine clocks. |
0x00B8 |
SYS_PWR_MISC |
Bit 2 (0x04): Auxiliary power state retention between light and deep sleep. |
0x00C4 |
DISP_CLK_DRIVE_CFG |
Bit 0 (0x01): Secondary interface enableBit 2 ( 0x04): Extended 5-bit skew modeBits 7..3 ( 0xF8): Frequency threshold steps (>64, 260, 520, 780)Bits 15..11 & 23..19: Clock skew / drive timing. |
0x00D8 |
PLL_DIV_CFG |
Bits 6..0 (0x7F): PLL Channel 1 divider/multiplierBits 14..8 ( 0x7F00): PLL Channel 2 divider/multiplierBits 26..20 ( 0x07F00000): PLL Channel 3 divider/multiplier. |
0x00DC |
PLL_MODE_CNTL |
Bits 1..0 (0x03): PLL mode enableBit 3 ( 0x08): Charge pump / loop enableBits 9..7 ( 0x0380): PLL clock outputs enableBits 20..15: PLL frequency profiles ( 0..5)Bit 25 ( 0x02000000): Extended output select. |
0x0A54 |
PWR_DOMAIN_CTRL |
Bits 15..0 (0x0101) & Bits 31..16 (0x01010000): Independent power gating for internal media blocks. |
0x1108 |
TIMER_CNT_VAL |
Hardware timer current count value. |
0x110C |
TIMER_COMPARE |
Timer period reload value (calibrated to 100 µs / 10 kHz base from SCLK). |
0x1114 |
TIMER_CNTL |
Bit 0 (0x01): Hardware timer enable (1 = Run, 0 = Stop). |
| Offset | Register Name | Bitfields & Function |
|---|---|---|
0x018C |
MC_SDRAM_MODE |
Bit 0 (0x01): Memory controller enable (0x00E00011 on resume)Bit 4 ( 0x10): SDRAM active / exit self-refreshBits 19..18 ( 0x000C0000): Enter SDRAM self-refresh (0x80000 on suspend). |
0x0194 |
MC_REFRESH_CNTL |
Bits 31..24: SDRAM refresh period counter (computed from MCLK) Bits 15..0: Refresh timing parameters ( 0x2A4A). |
0x0198 |
MC_TIMING_CFG |
Bit 31 (0x80000000): SDRAM Load Mode Register / Init pulse (1 then 0)Bits 24..0: CAS/RAS timing parameters ( 0x00600021 / 0x01600021 / 0x01700031). |
0x019C |
MC_ARB_PRIORITY |
Memory arbitration and DMA channel priority configuration. |
0x01A0 |
MC_EXT_MEM_CFG |
Bit 8 (0x0100): External memory bus enableBits 24..16: SDRAM bank/row/column geometry (supports 17 profiles 0x00..0x10). |
0x01B8 |
MC_STATUS |
Bit 0 (0x01): Memory Ready / Init CompleteBit 4 ( 0x10): Memory Controller Idle (polled before suspend). |
0x01C4 |
HIF_BUS_SLEEP |
Bit 0 (0x01): Host interface bus isolation during suspend (1 = isolated). |
0x01CC |
HIF_BUS_TIMING_0 |
PXA270 static bus wait-states / strobe timing 0. |
0x01F4 |
HIF_BUS_TIMING_1 |
PXA270 static bus wait-states / strobe timing 1. |
| Offset | Register Name | Access | Bitfields & Function |
|---|---|---|---|
0x0200 |
GEN_INT_MASK |
R/W | Interrupt enable mask (1 = Enabled, 0 = Masked). |
0x0204 |
GEN_INT_STATUS |
R / W1C | Active interrupt status. Writing 1 clears pending flags.• Bit 0 ( 0x00000001): VSYNC_INT (Display Frame / VBlank interrupt)• Bit 25 ( 0x02000000): SDIO_INT (SD/MMC Host Controller global interrupt). |
0x00 – 0x79) & 4-Channel PWMThe W2284 exposes 3 discontinuous GPIO banks (0x00..0x1F, 0x40..0x4F, 0x60..0x79). Note that on this controller, Output Enable (OE) is active-low (0 = Output, 1 = Input/High-Z).
0x00 – 0x1F / Pins 0–31)0x041C (GPIO_A_MUX_LOW, pins 0x00..0x0F) & 0x0420 (GPIO_A_MUX_HIGH, pins 0x10..0x1F): 0 = GPIO, 1 = Alternate function.0x0424 (GPIO_A_OUT_OE_LOW, pins 0x00..0x0F) & 0x042C (GPIO_A_OUT_OE_HIGH, pins 0x10..0x1F):DATA_OUT (pin & 0xF)OE ((pin & 0xF) + 16, 0 = Out, 1 = In)0x0428 (GPIO_A_IN_LOW, pins 0x00..0x0F) & 0x0430 (GPIO_A_IN_HIGH, pins 0x10..0x1F): Physical pin input state (DATA_IN).0x044C (GPIO_A_PIN_SEL_LO) & 0x0450 (GPIO_A_PIN_SEL_HI): PWM alternate function muxing for pins 0x0D..0x13.0x0480 (GPIO_A_OD_CTRL, pins 0x00..0x13): Open-drain / interrupt mode control.0x40 – 0x4F / Pins 64–79 — I2C Bus 1 & SD/MMC Bus)0x0830 (GPIO_B_MUX): 0 = GPIO, 1 = Alternate function:0x00030000): Mux pins 0x40/0x41 for I2C Bus 1 (SCL1/SDA1).0x00FF0000): Mux pins 0x40..0x47 for 4-bit SD/MMC peripheral bus (SD_CLK, SD_CMD, SD_DAT0..3).0x0834 (GPIO_B_OUT_OE): Bits 15..0 = DATA_OUT, Bits 31..16 = OE (0 = Out, 1 = In).0x0838 (GPIO_B_IN_PULL): Bits 15..0 = DATA_IN (physical state), Bits 31..16 = Pull-up / drive control.0x60 – 0x79 / Pins 96–121 — Camera CIF & LCD Muxed Pins)0x0408 (GPIO_C_OE, pins 0x60..0x71): 0 = Output, 1 = Input.0x040C (GPIO_C_OUT, pins 0x60..0x71): Output data.0x0410 (GPIO_C_CTRL_0), 0x0414 (GPIO_C_CTRL_76), 0x0418 (GPIO_C_CTRL_78): Dedicated control for pins 0x72..0x79.0x0470 (GPIO_C_DIR_EXT) & 0x0478 (GPIO_C_OD_CTRL): Extended direction and open-drain control.0x048C (GPIO_C_MUX): 1 = GPIO mode, 0 = Camera/LCD bus (Bit 31 = global enable on certain revisions).0x0490 (GPIO_C_IN): Physical pin input state (DATA_IN, bits 25..0).0x0494 (GPIO_C_SHADOW_OUT): Output shadow register.GPIO 0x08: Display / LCD mode switch (ati_midDispModeSet sets OUT = 1, MUX = 0 for LCD).GPIO 0x01, 0x02, 0x08, 0x0B: Exposed via ati_midGpio for board-level control.GPIO 0x0D – 0x13: 4-channel PWM outputs (0x10 = PWM Ch1, 0x0D/0x11 = Ch2, 0x0E/0x12 = Ch3, 0x0F/0x13 = Ch4).GPIO 0x40 – 0x47: Secondary I2C Bus 1 (0x40/0x41) and 4-bit miniSD Bus (SD_CLK, SD_CMD, SD_DAT0..3).0x0764 – 0x0794)0x0764 (PWM_MASTER_CNTL): Bit 0 (0x01) = Global PWM clock enable.0x0770 (PWM_CH1), 0x0788 (PWM_CH2), 0x078C (PWM_CH3), 0x0790 (PWM_CH4): Bit 24 = Channel Enable, Bits 23..16 = Duty/Prescaler, Bits 15..0 = Period [15:0].0x0794 (PWM_PERIOD_HI): Upper 8 bits [23:16] of period for Ch1 (bits 7..0), Ch2 (15..8), Ch3 (23..16), Ch4 (31..24).0x0F08 – 0x0F18)Supports 2 I2C buses (Bus 0 and Bus 1) with a 16-byte hardware FIFO and no dedicated slave-address register (the 8-bit I2C slave address is pushed as the first byte into the FIFO).
| Offset | Register Name | Bitfields & Function |
|---|---|---|
0x0F08 |
I2C_CNTL_0 |
Bit 0 (0x0001): DONE status (W1C)Bit 1 ( 0x0002): NACK error status (W1C)Bit 2 ( 0x0004): TIMEOUT / Bus error status (W1C)Bits 7..0: Block enable ( 0xE7 at init)Bit 8 ( 0x0100): Send STOP conditionBit 9 ( 0x0200): Repeat/10-bit mode controlBit 10 ( 0x0400): Direction (0 = Write, 1 = Read)Bit 12 ( 0x1000): GO / BUSY (write 1 to start transaction, polls until 0)Bits 22..16 ( 0x7F0000): DIV_LOW (7-bit clock divider, default 0x15)Bits 30..24 ( 0x7F000000): DIV_HIGH (7-bit clock divider, default 0x16).Formula: F_SCL = F_SYS_CLK / (4 * DIV_LOW * DIV_HIGH) (Max 400 kHz). |
0x0F0C |
I2C_CNTL_1 |
Bits 4..0 (0x1F): DATA_LEN (0..16 bytes)Bits 10..8 ( 0x0700): REG_LEN (0..2 sub-address bytes; total REG_LEN + DATA_LEN <= 16)Bit 28 ( 0x10000000): Master I2C enable. |
0x0F10 |
I2C_DATA_FIFO |
Bits 7..0: 16-byte hardware TX/RX FIFO port. |
0x0F18 |
I2C_TIMING_BUS |
Bits 10..0 (0x07FF): Hold/Setup timing (0x583)Bit 11 ( 0x0800): Bus select (0 = I2C Bus 0, 1 = I2C Bus 1 on GPIO 0x40/0x41). |
• ATI I2C Bus 0 (100 kHz):
• 0x21 (8-bit write 0x42): OmniVision OV7670 (Front VGA Camera, PID = 0x76).
• 0x2D (8-bit write 0x5A): Samsung S5K3BAFB / S5K3C1FX (Rear 3MP Camera Sensor, page-switched via reg 0xFC).
• 0x60 (8-bit write 0xC0): Fujitsu M6Mo Camera ISP DSP + MD118B VCM Autofocus (Rear 3MP Camera; reg 0x31=1 triggers AF, 0x36=0 resets lens, 0x4C==1 AF locked).
• 0x1A (8-bit write 0x34): Auxiliary audio/codec control interface (16-bit word writes).
• PXA270 Primary I2C Bus (I2C1:):
• 0x12 (8-bit write 0x24): Asahi Kasei AK4641 Stereo Audio Codec.
Offset Register Name Bitfields & Function
0x04B0 CIF_DMA_STATUS Bit 16 (0x00010000): DMA_IDLE flag (polled after stopping capture).
0x04B4 CIF_DMA_CNTL Bit 0 (0x01): Camera DMA channel arm/reset pulse.
0x04D0 CIF_DMA_INT_CNTL 0x000007F1 when active (bits 10..4 = DMA events, bit 0 = enable), 0x00000001 when idle.
0x064C VID_SCALER_MODE Bits 1..0 (0x03): Video/Scaler format mode.
0x0650 VID_SCALER0_INT 0x00001FF1 when active, 0x00000001 when idle.
0x0654 VID_SCALER_STATUS Bit 0 (0x01): Scaler busy flag (0 = idle).
0x06F0 VID_SCALER1_INT 0x00001FF1 when active, 0x00000001 when idle.
0x0778 CIF_SYNC_POL Bits 1..0 (0x03): Sensor HSYNC/VSYNC/PCLK polarity (0..3).
0x07A4 CIF_CAPTURE_CNTL Bit 0 (0x01): Capture enable
Bits 2..1 (0x06): Capture mode (0x0 = Stop, 0x2 = Single/Preview, 0x6 = Continuous/Video).
0x07C4 CIF_RESET_CLK_CNTL Bit 0 (0x01): CIF stream enable
Bits 4, 2, 1 (0x16): CIF internal clock freeze/reset during reconfiguration.
0x07C8 CIF_GPIO_LOCK Bit 0 (0x01) + masks 0x70, 0x7000, 0x70000: Locks GPIO 0x60..0x79 to CIF camera bus when active.
Integrated 16-bit SD/MMC/SDIO host controller mapped at 0x2000 relative to the ATI register base (data/clock lines on ATI GPIO Bank B 0x40..0x47, card 3.3V power on CPLD Reg 4 Bit 6).
Offset Register Name Width Bitfields & Function
0x090C SDIO_LOW_SPEED_CTRL 32-bit Bit 2 (0x00000004): 1 when SD clock < 1 MHz (identification mode), 0 for high speed.
0x0910 SDIO_SYS_CLK_CFG 32-bit Bit 25 (0x02000000): Extended clock divider / boost enable.
0x2000 SDIO_CMD_CTRL 16-bit Bits 5..0 (0x003F): Command opcode (CMD0..CMD63)
Bits 10..8 (0x0700): Response type (0x300=None, 0x400=48-bit R1/R6/R7, 0x500=136-bit R2, 0x600=48-bit no-CRC R3, 0x700=48-bit Busy R1b)
Bit 11 (0x0800): DATA_PRESENT
Bit 12 (0x1000): DATA_DIR (1=Read, 0=Write)
Bit 13 (0x2000): MULTI_BLOCK
Bit 14 (0x4000): CMD_START / GO.
0x2004 SDIO_CAPABILITIES 16-bit Controller capabilities / slot version (0x0200 on power-on).
0x2008 SDIO_ARG_LOW 16-bit Command argument bits [15:0].
0x200C SDIO_ARG_HIGH 16-bit Command argument bits [31:16].
0x2010 SDIO_TRANS_MODE 16-bit Bit 8 (0x0100): Auto-CMD12 / Multi-block counter enable.
0x2014 SDIO_BLOCK_COUNT 16-bit Number of blocks for multi-block transfer.
0x2038 SDIO_NORM_INT_STATUS 16-bit Write-0-to-Clear:
• Bit 0 (0x0001): CMD_COMPLETE
• Bit 2 (0x0004): TRANSFER_COMPLETE
• Bit 3 (0x0008): CARD_REMOVAL
• Bit 4 (0x0010): CARD_INSERTION
• Bit 5 (0x0020): CARD_PRESENT (1 = card inserted)
• Bit 8 (0x0100): CARD_INTERRUPT (SDIO IRQ).
0x203C SDIO_ERR_INT_STATUS 16-bit Write-0-to-Clear:
• Bit 0 (0x0001): CMD_TIMEOUT
• Bit 1 (0x0002): CMD_CRC
• Bit 2 (0x0004): CMD_END_BIT
• Bit 3 (0x0008): CMD_INDEX
• Bit 4 (0x0010): DATA_TIMEOUT
• Bit 5 (0x0020): DATA_CRC
• Bit 6 (0x0040): DATA_END_BIT
• Bits 9..8 (0x0300): FIFO/DMA error
• Bit 14 (0x4000): Controller busy.
0x2040 SDIO_NORM_INT_MASK 16-bit Interrupt enable mask for 0x2038.
0x2044 SDIO_ERR_INT_MASK 16-bit Interrupt enable mask for 0x203C.
0x2048 SDIO_CLK_DIV 16-bit 8-bit SD clock divider (0x78 = ~400 kHz, 0x04 = 12 MHz, 0x02 = 24 MHz).
0x204C SDIO_BLOCK_SIZE 16-bit Bits 9..0 (0x03FF): Transfer block size in bytes (0 defaults to 512).
0x2050 SDIO_TIMEOUT_CTRL 16-bit Bits 3..0 (0x000F): Data timeout exponent
Bit 15 (0x8000): Controller enable / timeout active.
0x2060 SDIO_DATA_FIFO 32-bit Hardware data FIFO port (32-bit / 16-bit PIO access).
0x2068 SDIO_DMA_CTRL 16-bit SDIO DMA transfer control (Bit 0 = Enable).
0x206C SDIO_DMA_COUNT 16-bit SDIO DMA transfer byte/block counter.
0x2070 SDIO_DMA_ACK 16-bit SDIO DMA completion acknowledge (Bit 0).
0x21C0 SDIO_SOFT_RESET 16-bit Software reset: write 0x0000, delay 2 ms, write 0x0007.
0x21C4 SDIO_GLOBAL_INT_MASK 16-bit Global SDIO block interrupt enable mask.
Domain Pin / Bit Function on HTC Athena
PXA270 GPIO GPIO 9 Camera Sensor Reset (CAM_RST, active-low)
PXA270 GPIO GPIO 22 Rear 3MP Camera + MD118B VCM Power (CAM_3MP_PWR, active-high)
PXA270 GPIO GPIO 23 Camera Select / Front VGA Power (1 = Front VGA, 0 = Rear 3MP)
PXA270 GPIO GPIO 28 External Stereo Speaker Amplifier Enable (1 = Amp ON, 0 = Mute)
PXA270 GPIO GPIO 29 / 30 AK4641 Audio I2S Data (SDATA_IN / SDATA_OUT)
CPLD EGPIO Reg 1, Bit 4 (0x10) AK4641 Audio Codec Power (1 = ON, 0 = OFF)
CPLD EGPIO Reg 1, Bit 7 (0x80) Camera Analog Power Rail (1 = ON, 0 = OFF)
CPLD EGPIO Reg 2, Bit 0 (0x01) Camera Standby (0 = Active, 1 = Standby)
CPLD EGPIO Reg 4, Bit 6 (0x40) miniSD Card 3.3V Power (SD_PWR, active-low: 0 = ON, 1 = OFF)
Mapped relative to the ATI register aperture (AtiVirtReg + 0x10000, physical 0x08010000). Internal SRAM framebuffer is mapped at offset 0x00100000 (MEM_INT_SIZE = 192 KB) and external SDRAM framebuffer at 0x00800000 (MEM_EXT_BASE_VALUE).
| Offset | Register Name | Bitfields & Function |
|---|---|---|
0x0000 |
CHIP_ID |
Chip identifier (0x57491002 = ATI Imageon W2284, 0x57411002 = W2282). |
0x0004 |
REVISION_ID |
Hardware silicon revision ID. |
0x0188 |
MC_FB_LOCATION |
Bits 15..0: MC_FB_START (addr >> 8)Bits 31..16: MC_FB_TOP (addr >> 8). |
0x0190 |
MC_EXT_MEM_LOCATION |
Bits 15..0: MC_EXT_MEM_START (addr >> 8)Bits 31..16: MC_EXT_MEM_TOP (addr >> 8). |
0x0400 |
LCD_FORMAT |
LCD panel pixel format and color depth configuration. |
0x0404 |
LCD_BACKGROUND_COLOR |
Default background color (0x0000FF00 at init). |
0x0408 |
LCDD_CNTL1 |
LCD data bus control 1 (pin drive / polarity). |
0x0410 |
GENLCD_CNTL1 |
General LCD interface control 1. |
0x0414 |
GENLCD_CNTL2 |
General LCD interface control 2. |
0x0418 |
GENLCD_CNTL3 |
General LCD interface control 3. |
0x0488 |
LCDD_CNTL2 |
LCD data bus control 2. |
0x04B0 |
GRAPHIC_CTRL |
Bits 2..0: COLOR_DEPTH (6 = 16-bit RGB565)Bits 4..3: PORTRAIT_MODE (0=0°, 1=90°, 2=270°, 3=180°)Bit 5: LOW_POWER_ONBits 9..6: REQ_FREQBit 10: EN_CRTC (1 = Enable CRTC)Bit 11: EN_GRAPHIC_REQBit 12: EN_GRAPHIC_CRTCBits 21..13: TOTAL_REQ_GRAPHIC (xres >> 1)Bit 22: LCD_PCLK_ONBit 23: LCD_SCLK_ONBit 24: PCLK_RUNNING (RO)Bit 25: SCLK_RUNNING (RO). |
0x04BC |
GRAPHIC_OFFSET |
Framebuffer start address in W2284 memory space (e.g., 0x00800000, 4-byte aligned). |
0x04D4 |
GRAPHIC_PITCH |
Line stride in bytes (xres * bytes_per_pixel). |
0x04D8 |
ACTIVE_H_DISP |
Bits 9..0: ACTIVE_H_START (left_margin)Bits 25..16: ACTIVE_H_END (left_margin + xres). |
0x04DC |
ACTIVE_V_DISP |
Bits 9..0: ACTIVE_V_START (upper_margin)Bits 25..16: ACTIVE_V_END (upper_margin + yres). |
0x04E0 |
GRAPHIC_H_DISP |
Bits 9..0: GRAPHIC_H_STARTBits 25..16: GRAPHIC_H_END. |
0x04E4 |
GRAPHIC_V_DISP |
Bits 9..0: GRAPHIC_V_STARTBits 25..16: GRAPHIC_V_END. |
0x04F0 |
CRTC_TOTAL |
Bits 9..0: CRTC_H_TOTAL (left + xres + right)Bits 25..16: CRTC_V_TOTAL (upper + yres + lower). |
0x04F4 |
CRTC_SS |
Horizontal sync pulse (SS_START, SS_END, polarity & enable). |
0x04F8 |
CRTC_LS |
Horizontal line sync timing. |
0x04FC |
CRTC_REV |
LCD polarity reversal signal timing. |
0x0500 |
CRTC_DCLK |
Pixel data clock (DCLK) timing and phase. |
0x0504 |
CRTC_GS |
Vertical frame sync (GS) timing. |
0x0508 |
CRTC_VPOS_GS |
Vertical sync position. |
0x050C |
CRTC_GCLK |
Gate clock (GCLK) timing. |
0x0510 |
CRTC_GOE |
Gate output enable (GOE) timing. |
0x0514 |
CRTC_FRAME |
Frame counter / control. |
0x051C |
CRTC_FRAME_VPOS |
Current vertical scanline position. |
0x0520 |
REFRESH_CNTL |
Display refresh control. |
0x0538 |
DISP_DEBUG2 |
Display debug / overlay memory routing (|= 0xC0000000 for extmem overlay). |
0x0540 – 0x0548 |
GAMMA_VALUE1..2 / SLOPE |
Hardware RGB gamma lookup table values and slopes. |
Used by w2284fb for hardware-accelerated fillrect (ROP3_PATCOPY = 0xF0) and copyarea (ROP3_SRCCOPY = 0xCC).
| Offset | Register Name | Bitfields & Function |
|---|---|---|
0x0140 |
RBBM_STATUS |
Bits 6..0: CMDFIFO_AVAIL (available FIFO slots to poll before writing)Bit 31: GUI_ACTIVE (1 = 2D engine busy, 0 = idle). |
0x0144 |
RBBM_CNTL |
RBBM bus interface control. |
0x0148 |
RBBM_SOFT_RESET |
2D/3D engine soft reset control. |
0x0150 |
NQWAIT_UNTIL |
Non-queued engine wait condition. |
0x1004 |
DST_OFFSET |
Destination surface memory offset (e.g., 0x00800000). |
0x1008 |
DST_PITCH |
Destination pitch in pixels (xres). |
0x1034 |
SRC_Y_X |
Source coordinates for BitBLT: (sy << 16) \| (sx & 0xFFFF). |
0x1038 |
DST_Y_X |
Destination coordinates: (dy << 16) \| (dx & 0xFFFF). |
0x106C |
DP_GUI_MASTER_CNTL |
Bits 7..4: BRUSH_DATATYPE (13 = solid color, 15 = none)Bits 11..8: DST_DATATYPE (3 = 16bpp RGB565)Bits 14..12: SRC_DATATYPE (3 = equal to dst)Bits 23..16: ROP3 (0xCC = SRCCOPY, 0xF0 = PATCOPY)Bits 26..24: DP_SRC_SOURCE (2 = rectangular memory). |
0x107C |
DP_BRUSH_FRGD_CLR |
Solid brush foreground color (used for fillrect). |
0x1198 |
DST_WIDTH_HEIGHT |
Operation dimensions (triggers execution): (width << 16) \| (height & 0xFFFF). |
0x11AC |
SRC_OFFSET |
Source surface memory offset. |
0x11B0 |
SRC_PITCH |
Source pitch in pixels (xres). |
0x11BC |
SC_TOP_LEFT |
Destination scissor clipping top-left (y << 16) \| x. |
0x11C0 |
SC_BOTTOM_RIGHT |
Destination scissor clipping bottom-right (yres << 16) \| xres. |
0x11C4 |
SRC_SC_BOTTOM_RIGHT |
Source scissor clipping bottom-right (0x1FFF1FFF = disabled). |
0x11C8 |
DP_CNTL |
Blit direction flags (dst_x_dir, dst_y_dir, src_x_dir, src_y_dir, dst_major_x, src_major_x). |
0x12C4 |
DP_DATATYPE |
Explicit source/destination/brush pixel format register. |
0x12C8 |
DP_MIX |
Explicit ROP3 and source mix configuration register. |
0x13E8 |
ENG_CNTL |
2D/3D engine clock and wait-state control. |
0x1400 |
WAIT_UNTIL |
Command stream synchronization wait register. |