gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > EEPROM specs and access

#119937 - sirpoonga - Tue Feb 27, 2007 6:29 pm

Where would I find info on specs and information on how to access the slot 1 eeprom?

#119980 - HyperHacker - Wed Feb 28, 2007 1:18 am

REIN does it, and I would guess it has source available since there's variations like ReinMoon.
_________________
I'm a PSP hacker now, but I still <3 DS.

#119995 - sirpoonga - Wed Feb 28, 2007 3:58 am

Yeah, I found the source for rein and it wouldn't compile. Just curious if someone knows if the spcs are documented. it will make it easier to figure out how rein works.

One error which I don't get is it says WAIT_CR is not defines.

#120050 - zigg - Wed Feb 28, 2007 4:30 pm

sirpoonga wrote:
One error which I don't get is it says WAIT_CR is not defines.


I have no idea how kosher this is but I got around this in some code I was playing with by adding

Code:
#include <nds/registers_alt.h>

#120075 - KeithE - Wed Feb 28, 2007 9:37 pm

WAIT_CR has been changed in the newest libnds.

From http://devkitpro.org:

Quote:
In our ongoing attempt to bring register naming in line with gbatek WAIT_CR changes to REG_EXEMEMCNT/REG_EXEMEMSTAT and POWER_CR changes to REG_POWERCNT. The old names have been moved to nds/registers_alt.h.