Hacking Difficulty of Use

Raisingod

Well-Known Member
Member
Joined
Apr 19, 2007
Messages
302
Trophies
0
Age
36
XP
242
Country
Iceland
cutterjohn said:
Smiths said:
And so ya know, there's discussions going on to implement in-game menu with RTS and whatnot. Reports say it "shouldn't be too hard".
It's not that easy, and since the firmware doesn;t seem to be able to save directly to uSD or onboard dlash memory other than their save blocks, they're going to need to do that first, or waste more blocks reserved for RTS on the onboard FLASH RAM. Not to mention, I think that they're going to find that implementing a useful RTS isn't quite easy.


The RPG writes the save file directly to the NAND/miniSD card and can do the same with the RAM and register image { there is no limit to what it can write while running though you need to code the function to do so).
 

Normmatt

Former AKAIO Programmer
Member
Joined
Dec 14, 2004
Messages
2,161
Trophies
1
Age
33
Website
normmatt.com
XP
2,193
Country
New Zealand
cutterjohn said:
Smiths said:
And so ya know, there's discussions going on to implement in-game menu with RTS and whatnot. Reports say it "shouldn't be too hard".
It's not that easy, and since the firmware doesn;t seem to be able to save directly to uSD or onboard dlash memory other than their save blocks, they're going to need to do that first, or waste more blocks reserved for RTS on the onboard FLASH RAM. Not to mention, I think that they're going to find that implementing a useful RTS isn't quite easy.

A working RTS shoudn't be too hard but a 100% compatible one will as some of the nds hardware registers are write only which means you can save their state when making a rts, this can be remedied by using the mpu to trap writes to the register area but that will trap all writes to any register and will slow games down alot.
 

Smiths

AKAIO Person of Interest TAGS ARE THE BEST
Developer
Joined
Feb 24, 2003
Messages
1,461
Trophies
2
Location
The land of Dairy Queen
Website
www.gamergeddon.com
XP
2,174
Country
United States
I guess technically you can look at it as a buffer in the NAND
When you boot up the RPG after playing a game (or soft-reset), it has some fun like this:

Code:
ÂÂÂÂu8 * saveDataBuffer = new u8[SAVEDATA_BUFFER_SIZE];
ÂÂÂÂstatic ALIGN(4) u8 readNandBuffer[2112];
ÂÂÂÂmemset( saveDataBuffer, 0x5a, SAVEDATA_BUFFER_SIZE );
ÂÂÂÂu8 * pSaveDataBuffer = saveDataBuffer;
...
ÂÂÂÂ ioRpgReadNand( _saveBlockTable[i] + j * 2048, readNandBuffer, 2048 );
 

d3monsting

Well-Known Member
Member
Joined
May 9, 2010
Messages
119
Trophies
0
Location
What's this box for
XP
62
Country
United States
gimlianon said:
See, this kind of stuff is why I'm gonna buy this card. The open source-ness allows new stuff to get added all the time. I think that's friggin' awesome!
I agree completely... this also means that as long as there is someone working on the FW, even if the original team dies/explodes, we still have support, right???!?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: @salazarcosplay, Good.