NDS Slot-1 Clean ROM no-patch Tester

openchip

Well-Known Member
Newcomer
Joined
Jan 20, 2007
Messages
53
Trophies
0
Age
59
Location
Germany
Website
nds.truedram.org
XP
97
Country
Gambia, The
Hi,

the new update to romtester is delaying a bit, but it will have more advance features i hope. In the meanwhile I can only confirm that I have witnessed at least 2 slot-1 devices really do the patching thing:

R4DS - ARM9 code IS patched before execution
ninjaDS - ARM9 code IS patched before execution
(if contains known signature)

I made a small utility that converts NDS compiled as homebrew into "game rom like" one, by moving the arm9,arm7 above 0x8000 and cleaning up the header, then I appended a copy of arm9 code from commercial game to the romtester code (and extended the arm9 size). After this the CRC check of itself displays ARM9 code being manipulated before execution.

I cant publish this NDS (as it does contain the code of game rom), and I cant yet publish the utility (it includes support for LPT port interface with 11 resistors to read slot-1 cards with homebrew adapter), but I hope to have "publishable" version soon.

I am still very interested in more testing with "linker" and nand-flash cards (eg slot-1 devices that boot from internal memory not sd-card), please PM if interested in early testing utility.
 

openchip

Well-Known Member
Newcomer
Joined
Jan 20, 2007
Messages
53
Trophies
0
Age
59
Location
Germany
Website
nds.truedram.org
XP
97
Country
Gambia, The
Another result for the 1.2 version:

MicroNinja ( just received ) : White Screen :-(

Bye,

Ralf

check your microninja, shoudl defenetly have no white screen, works ok here.

ah just got another patch test results, to big surprise both tested devices R4DS and microninja
say that they patched equal size of words (5997) at same first and last patched word adresses
with a little different number of non-0 patched words (131 vs 134)
and both display same CRC16 (with BIOS function),
but different checksum if using non-bios checksum method.
 

cory1492

Well-Known Member
Member
Joined
Jun 23, 2005
Messages
1,497
Trophies
1
Location
Home, WhereElse?
XP
334
Country
Canada
I made a small utility that converts NDS compiled as homebrew into "game rom like" one, by moving the arm9,arm7 above 0x8000 and cleaning up the header, then I appended a copy of arm9 code from commercial game to the romtester code (and extended the arm9 size). After this the CRC check of itself displays ARM9 code being manipulated before execution.
Now that sounds like a much more reliable test
wink.gif


QUOTE said:
I cant publish this NDS (as it does contain the code of game rom), and I cant yet publish the utility (it includes support for LPT port interface with 11 resistors to read slot-1 cards with homebrew adapter), but I hope to have "publishable" version soon.
Should be interesting.

QUOTE
I am still very interested in more testing with "linker" and nand-flash cards (eg slot-1 devices that boot from internal memory not sd-card), please PM if interested in early testing utility.
It is possible to boot any program from NOR in place of the homebrew moonshell bootloader on EZ5, just let me know if you want me to try it (requires specific file name "ez5upldr.bin" and specific gamecode (-g "APRE" "01" "EZ5NDS_LDR")). I haven't experimented with replacing the full bootstrap (yet), but it is quite possible that could be done too.
 

openchip

Well-Known Member
Newcomer
Joined
Jan 20, 2007
Messages
53
Trophies
0
Age
59
Location
Germany
Website
nds.truedram.org
XP
97
Country
Gambia, The
I made a small utility that converts NDS compiled as homebrew into "game rom like" one, by moving the arm9,arm7 above 0x8000 and cleaning up the header, then I appended a copy of arm9 code from commercial game to the romtester code (and extended the arm9 size). After this the CRC check of itself displays ARM9 code being manipulated before execution.
Now that sounds like a much more reliable test
wink.gif


QUOTE said:
I cant publish this NDS (as it does contain the code of game rom), and I cant yet publish the utility (it includes support for LPT port interface with 11 resistors to read slot-1 cards with homebrew adapter), but I hope to have "publishable" version soon.
Should be interesting.

QUOTEI am still very interested in more testing with "linker" and nand-flash cards (eg slot-1 devices that boot from internal memory not sd-card), please PM if interested in early testing utility.
It is possible to boot any program from NOR in place of the homebrew moonshell bootloader on EZ5, just let me know if you want me to try it (requires specific file name "ez5upldr.bin" and specific gamecode (-g "APRE" "01" "EZ5NDS_LDR")). I haven't experimented with replacing the full bootstrap (yet), but it is quite possible that could be done too.
Hi

last test was not testing "is clean possible" but "is ARM9 patched", and the resuts are so far that the ARM9 binary is defenetly being patched on the fly. I will release more info soon

a
 

openchip

Well-Known Member
Newcomer
Joined
Jan 20, 2007
Messages
53
Trophies
0
Age
59
Location
Germany
Website
nds.truedram.org
XP
97
Country
Gambia, The
QUOTE said:
Hi

last test was not testing "is clean possible" but "is ARM9 patched", and the resuts are so far that the ARM9 binary is defenetly being patched on the fly. I will release more info soon

a

uuups - my bad, I had appended 2 copies (that I compared to each other) directly after romtester code.
the first image overlapped the compiler work are, thos appeared as patched.

so for the moment only additional test results are that r4ds,microninja say no clean, when NDS is romlike (not homebrew like) thats all. no direct witness of anything actually being patched in RAM

sorry
frown.gif
 

cory1492

Well-Known Member
Member
Joined
Jun 23, 2005
Messages
1,497
Trophies
1
Location
Home, WhereElse?
XP
334
Country
Canada
Have you got a card emulation done up well enough that you can test your app when it is run like a normal DS card? That was my thought with looking into the NOR on EZ5...
 

pelago

Member
Member
Joined
Feb 20, 2006
Messages
1,019
Trophies
0
XP
565
Country
It's nice to read such an intelligent technical thread. Just one question to openchip - are you willing to publish the source code?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    The Real Jdbye @ The Real Jdbye: you can fap to your favorite character without it being gay