mirror of
https://github.com/emu-russia/pureikyubu.git
synced 2025-04-02 10:42:15 -04:00
32 lines
395 B
C++
32 lines
395 B
C++
// DSP DMA registers
|
|
|
|
#pragma once
|
|
|
|
namespace DSP
|
|
{
|
|
|
|
struct DspDmaRegs
|
|
{
|
|
union
|
|
{
|
|
struct
|
|
{
|
|
uint16_t l;
|
|
uint16_t h;
|
|
};
|
|
uint32_t bits;
|
|
} mmemAddr;
|
|
DspAddress dspAddr;
|
|
uint16_t blockSize;
|
|
union
|
|
{
|
|
struct
|
|
{
|
|
unsigned Dsp2Mmem : 1; // 0: MMEM -> DSP, 1: DSP -> MMEM
|
|
unsigned Imem : 1; // 0: DMEM, 1: IMEM
|
|
};
|
|
uint16_t bits;
|
|
} control;
|
|
};
|
|
|
|
}
|