1#ifndef YAZE_APP_EMU_MEMORY_DMA_H
2#define YAZE_APP_EMU_MEMORY_DMA_H
13void HandleDma(Snes* snes, MemoryImpl* memory,
int cpu_cycles);
15void WaitCycle(Snes* snes, MemoryImpl* memory);
17void InitHdma(Snes* snes, MemoryImpl* memory,
bool do_sync,
int cycles);
18void DoHdma(Snes* snes, MemoryImpl* memory,
bool do_sync,
int cycles);
20void TransferByte(Snes* snes, MemoryImpl* memory, uint16_t aAdr, uint8_t aBank,
21 uint8_t bAdr,
bool fromB);
23uint8_t
ReadDma(MemoryImpl* memory, uint16_t address);
24void WriteDma(MemoryImpl* memory, uint16_t address, uint8_t data);
25void StartDma(MemoryImpl* memory, uint8_t val,
bool hdma);
26void DoDma(Snes* snes, MemoryImpl* memory,
int cycles);
void TransferByte(Snes *snes, MemoryImpl *memory, uint16_t aAdr, uint8_t aBank, uint8_t bAdr, bool fromB)
void ResetDma(MemoryImpl *memory)
void WriteDma(MemoryImpl *memory, uint16_t adr, uint8_t val)
void HandleDma(Snes *snes, MemoryImpl *memory, int cpu_cycles)
void WaitCycle(Snes *snes, MemoryImpl *memory)
uint8_t ReadDma(MemoryImpl *memory, uint16_t adr)
void DoDma(Snes *snes, MemoryImpl *memory, int cpuCycles)
void StartDma(MemoryImpl *memory, uint8_t val, bool hdma)
void InitHdma(Snes *snes, MemoryImpl *memory, bool do_sync, int cpu_cycles)
void DoHdma(Snes *snes, MemoryImpl *memory, bool do_sync, int cycles)
Main namespace for the application.