2016-05-16 09:48:40 -06:00
|
|
|
|
|
|
|
#ifndef NDS_H
|
|
|
|
#define NDS_H
|
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
|
|
|
namespace NDS
|
|
|
|
{
|
|
|
|
|
|
|
|
void Init();
|
|
|
|
void Reset();
|
|
|
|
|
2016-11-24 10:31:49 -07:00
|
|
|
void RunFrame();
|
|
|
|
|
|
|
|
void Halt();
|
|
|
|
|
2016-12-02 17:31:33 -07:00
|
|
|
u8 ARM9Read8(u32 addr);
|
|
|
|
u16 ARM9Read16(u32 addr);
|
2016-11-02 18:38:58 -06:00
|
|
|
u32 ARM9Read32(u32 addr);
|
2016-12-02 17:31:33 -07:00
|
|
|
void ARM9Write8(u32 addr, u8 val);
|
|
|
|
void ARM9Write16(u32 addr, u16 val);
|
|
|
|
void ARM9Write32(u32 addr, u32 val);
|
2016-11-02 18:38:58 -06:00
|
|
|
|
2016-12-02 17:31:33 -07:00
|
|
|
u8 ARM7Read8(u32 addr);
|
|
|
|
u16 ARM7Read16(u32 addr);
|
|
|
|
u32 ARM7Read32(u32 addr);
|
|
|
|
void ARM7Write8(u32 addr, u8 val);
|
|
|
|
void ARM7Write16(u32 addr, u16 val);
|
|
|
|
void ARM7Write32(u32 addr, u32 val);
|
2016-05-16 09:48:40 -06:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // NDS_H
|