File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838
3939#include "ndstypes.h"
4040#include <calico/nds/system.h>
41+ #include <calico/nds/scfg.h>
4142#include <calico/nds/lcd.h>
4243#include <calico/nds/pm.h>
4344#include <calico/nds/mm_env.h>
@@ -65,18 +66,6 @@ typedef enum
6566*/
6667#define HALT_CR (*(vu16*)0x04000300)
6768
68- #define REG_SCFG_ROM *(vu16*)0x4004000
69-
70- #ifdef ARM7
71- #define REG_SCFG_A9ROM *(vu8*)0x4004000
72- #define REG_SCFG_A7ROM *(vu8*)0x4004001 // ??
73- #endif
74-
75- #define REG_SCFG_CLK *(vu16*)0x4004004
76- #define REG_SCFG_RST *(vu16*)0x4004006
77- #define REG_SCFG_EXT *(vu32*)0x4004008
78- #define REG_SCFG_MC *(vu16*)0x4004010
79-
8069static inline
8170/*!
8271 \brief sets the Y trigger(?)
@@ -204,7 +193,7 @@ u8* getHeapLimit();
204193#ifdef ARM7
205194#include <calico/nds/arm7/pmic.h>
206195
207- #define REG_CONSOLEID (*(vu64*)0x04004D00)
196+ #define REG_CONSOLEID REG_OTP_CID
208197
209198//! Power-controlled hardware devices accessable to the ARM7.
210199/*! Note that these should only be used when programming for
You can’t perform that action at this time.
0 commit comments