2012-12-19 09:30:18 +00:00
|
|
|
#pragma once
|
2015-12-06 09:59:58 +00:00
|
|
|
#include <Project64-core/Settings/DebugSettings.h>
|
|
|
|
#include <Project64-core/N64System/Mips/FlashRam.h>
|
|
|
|
#include <Project64-core/N64System/Mips/Sram.h>
|
2012-12-19 09:30:18 +00:00
|
|
|
|
2013-03-22 05:47:20 +00:00
|
|
|
class CDMA :
|
2015-11-15 00:52:24 +00:00
|
|
|
private CDebugSettings
|
2010-06-22 20:36:28 +00:00
|
|
|
{
|
2015-11-15 00:52:24 +00:00
|
|
|
CDMA();
|
2010-06-22 20:36:28 +00:00
|
|
|
|
2010-09-22 21:43:42 +00:00
|
|
|
public:
|
2015-11-15 00:52:24 +00:00
|
|
|
void SP_DMA_WRITE();
|
|
|
|
void PI_DMA_READ();
|
|
|
|
void PI_DMA_WRITE();
|
2010-09-22 21:43:42 +00:00
|
|
|
|
2010-06-22 20:36:28 +00:00
|
|
|
protected:
|
2015-11-15 00:52:24 +00:00
|
|
|
CDMA(CFlashram & FlashRam, CSram & Sram);
|
2010-06-22 20:36:28 +00:00
|
|
|
|
|
|
|
private:
|
2021-04-13 00:07:11 +00:00
|
|
|
CDMA(const CDMA&);
|
|
|
|
CDMA& operator=(const CDMA&);
|
2015-11-15 00:52:24 +00:00
|
|
|
|
|
|
|
CFlashram & m_FlashRam;
|
|
|
|
CSram & m_Sram;
|
|
|
|
|
|
|
|
void OnFirstDMA();
|
2010-06-22 20:36:28 +00:00
|
|
|
};
|