User Tools

Site Tools


digic6:registers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
digic6:registers [2025/05/05 19:10] – [VRAM registration] kitordigic6:registers [2025/05/05 19:14] (current) kitor
Line 24: Line 24:
 ^ Offset ^ Summary          ^ Description ^ ^ Offset ^ Summary          ^ Description ^
 | +0     | Flags            | Configures data type, transformations (flip, upscale), zebras, etc | | +0     | Flags            | Configures data type, transformations (flip, upscale), zebras, etc |
-| +0x4   | Vram index ?     | Assignment to a peviously registered Vram buffer ID |+| +0x4   | Vram index ?     | Assignment to a previously registered Vram buffer ID |
 | +0x8   | Input offsets    | Source buffer offsets (skips). ''x_off | (y_off << 16)'' | | +0x8   | Input offsets    | Source buffer offsets (skips). ''x_off | (y_off << 16)'' |
 | +0xC   | Vram resolution  | Source buffer size in pixels. ''width | (height << 16)'' | | +0xC   | Vram resolution  | Source buffer size in pixels. ''width | (height << 16)'' |
Line 34: Line 34:
 === Vram index === === Vram index ===
  
-Wildly enough, MMIO doesn't take source buffer address, but rather a number associated to VRAM, which is registered via different MMIO. See TBD.+Wildly enough, MMIO doesn't take source buffer address, but rather a number associated to VRAM, which is registered via different MMIO. See [[registers##vram_registration|Vram registration]].
  
 Vram index register seems to also take two 16 bit values instead of one, possibly for layers that use separate image and alpha buffers (eg UYVY+AA, unconfirmed). Vram index register seems to also take two 16 bit values instead of one, possibly for layers that use separate image and alpha buffers (eg UYVY+AA, unconfirmed).
digic6/registers.txt · Last modified: 2025/05/05 19:14 by kitor