ps2sdk
1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
|
Go to the source code of this file.
Data Structures | |
struct | DMA_CHCR |
Macros | |
#define | gif_chcr 0x1000a000 |
#define | gif_madr 0x1000a010 |
#define | gif_qwc 0x1000a020 |
#define | gif_tadr 0x1000a030 |
#define | DMA_TAG_REFE 0x00 |
#define | DMA_TAG_CNT 0x01 |
#define | DMA_TAG_NEXT 0x02 |
#define | DMA_TAG_REF 0x03 |
#define | DMA_TAG_REFS 0x04 |
#define | DMA_TAG_CALL 0x05 |
#define | DMA_TAG_RET 0x06 |
#define | DMA_TAG_END 0x07 |
Functions | |
void | GsDmaInit (void) |
void | GsDmaSend (const void *addr, u32 qwords) |
void | GsDmaSend_tag (const void *addr, u32 qwords, const GS_GIF_DMACHAIN_TAG *tag) |
void | GsDmaWait (void) |
void GsDmaInit | ( | void | ) |
Definition at line 58 of file dma.c.
Referenced by GsResetGraph().
void GsDmaSend | ( | const void * | addr, |
u32 | qwords | ||
) |
Definition at line 88 of file dma.c.
References DMA_CHCR::asp, DMA_CHCR::direction, gif_chcr, gif_madr, gif_qwc, DMA_CHCR::mode, DMA_CHCR::pad1, DMA_CHCR::pad2, DMA_CHCR::start_flag, DMA_CHCR::tag, DMA_CHCR::tie, and DMA_CHCR::tte.
Referenced by GsClearDrawEnv1(), GsClearDrawEnv2(), GsEnableAlphaBlending1(), GsEnableAlphaBlending2(), GsEnableAlphaTransparency1(), GsEnableAlphaTransparency2(), GsEnableColorClamp(), GsEnableDithering(), GsLoadImage(), GsOverridePrimAttributes(), GsPutZBufferEnv1(), GsPutZBufferEnv2(), GsSelectTexure1(), GsSelectTexure2(), GsSetFogColor(), GsSetFrame1(), GsSetFrame2(), GsSetPixelTest1(), GsSetPixelTest2(), GsSetScissor1(), GsSetScissor2(), GsSetXYOffset1(), GsSetXYOffset2(), and GsTextureFlush().
void GsDmaSend_tag | ( | const void * | addr, |
u32 | qwords, | ||
const GS_GIF_DMACHAIN_TAG * | tag | ||
) |
Definition at line 118 of file dma.c.
References DMA_CHCR::asp, DMA_CHCR::direction, gif_chcr, gif_madr, gif_qwc, gif_tadr, DMA_CHCR::mode, DMA_CHCR::pad1, DMA_CHCR::pad2, DMA_CHCR::start_flag, DMA_CHCR::tag, DMA_CHCR::tie, and DMA_CHCR::tte.
Referenced by GsGifPacketsExecute().
void GsDmaWait | ( | void | ) |
Definition at line 148 of file dma.c.
Referenced by GsClearDrawEnv1(), GsClearDrawEnv2(), GsDrawSync(), GsEnableAlphaBlending1(), GsEnableAlphaBlending2(), GsEnableAlphaTransparency1(), GsEnableAlphaTransparency2(), GsEnableColorClamp(), GsEnableDithering(), GsGifPacketsExecute(), GsLoadImage(), GsOverridePrimAttributes(), GsPutZBufferEnv1(), GsPutZBufferEnv2(), GsSelectTexure1(), GsSelectTexure2(), GsSetFogColor(), GsSetFrame1(), GsSetFrame2(), GsSetPixelTest1(), GsSetPixelTest2(), GsSetScissor1(), GsSetScissor2(), GsSetXYOffset1(), GsSetXYOffset2(), and GsTextureFlush().