1#ifndef YAZE_APP_EMU_MEMORY_DMA_H
2#define YAZE_APP_EMU_MEMORY_DMA_H
15void Reset(MemoryImpl* memory);
16void HandleDma(SNES* snes, MemoryImpl* memory,
int cpu_cycles);
18void WaitCycle(SNES* snes, MemoryImpl* memory);
20void InitHdma(SNES* snes, MemoryImpl* memory,
bool do_sync,
int cycles);
21void DoHdma(SNES* snes, MemoryImpl* memory,
bool do_sync,
int cycles);
23void TransferByte(SNES* snes, MemoryImpl* memory, uint16_t aAdr, uint8_t aBank,
24 uint8_t bAdr,
bool fromB);
26uint8_t
Read(MemoryImpl* memory, uint16_t address);
27void Write(MemoryImpl* memory, uint16_t address, uint8_t data);
28void StartDma(MemoryImpl* memory, uint8_t val,
bool hdma);
29void DoDma(SNES* snes, MemoryImpl* memory,
int cycles);
void InitHdma(SNES *snes, MemoryImpl *memory, bool do_sync, int cpu_cycles)
void TransferByte(SNES *snes, MemoryImpl *memory, uint16_t aAdr, uint8_t aBank, uint8_t bAdr, bool fromB)
void DoHdma(SNES *snes, MemoryImpl *memory, bool do_sync, int cycles)
void DoDma(SNES *snes, MemoryImpl *memory, int cpuCycles)
void WaitCycle(SNES *snes, MemoryImpl *memory)
void Reset(MemoryImpl *memory)
void HandleDma(SNES *snes, MemoryImpl *memory, int cpu_cycles)
void Write(MemoryImpl *memory, uint16_t adr, uint8_t val)
uint8_t Read(MemoryImpl *memory, uint16_t adr)
void StartDma(MemoryImpl *memory, uint8_t val, bool hdma)