KallistiOSUnchained / KallistiOS

An SDK designed for Sega Dreamcast homebrew, offering developers the tools, libraries, and support needed to unlock the full potential of the console.
https://kallistiosunchained.github.io/KallistiOS/
4 stars 1 forks source link

Pvr dma rootbus #8

Closed andressbarajas closed 4 days ago

andressbarajas commented 4 days ago

This PR cleans up the PVR DMA code a bit and makes it easier to see what’s going on between different parts of the PVR.

  1. Organized Functions: Moved the PVR DMA functions out of pvr.h into a new pvr_dma.h file, so it’s more modular and easier to follow.
  2. Clearer API: Updated the DMA API to better separate out functions for the PVR Rootbus versus the Tile Accelerator (TA), making it more obvious where things are happening.
  3. Better Documentation: Update docs for clarity.
  4. Deprecation: Replaced pvr_dma_ready() with pvr_dma_ta_ready(). Replaced pvr_txr_load_dma() with pvr_dma_ta_load_txr().