nds-bootstrap @ 399MHz - github link & download

mrparrot2

Well-Known Member
Member
Joined
Nov 29, 2021
Messages
106
Trophies
0
Age
29
Location
SP, Brazil
XP
557
Country
Brazil
Even if they do run stable, I wonder what would happen to the internal CPU timer (Will It also ticks faster as in N64 overclock mod?) and How does the DS/DSi handles the extra heat from running the ARM9 at this speed.
 

ghjfdtg

Well-Known Member
Member
Joined
Jul 13, 2014
Messages
1,360
Trophies
1
XP
3,275
Country
It's bullshit. This is just a nds-bootstrap fork with zero new commits. So either this build does nothing special or it's malicious. And let's not even get into how the hardware only has 2 possible clock speeds insead of 3.
 

niin401

Active Member
OP
Newcomer
Joined
Dec 26, 2009
Messages
42
Trophies
1
XP
334
Country
United States
It's bullshit. This is just a nds-bootstrap fork with zero new commits. So either this build does nothing special or it's malicious. And let's not even get into how the hardware only has 2 possible clock speeds insead of 3.
the code isnt uploaded just the nds file
 

NightScript

Well-Known Member
Member
Joined
Feb 7, 2016
Messages
951
Trophies
1
Age
20
XP
2,232
Country
United States
It's bullshit. This is just a nds-bootstrap fork with zero new commits. So either this build does nothing special or it's malicious. And let's not even get into how the hardware only has 2 possible clock speeds insead of 3.
Perhaps he just didnt upload the source code, which while that is a violation of our GPL license, wouldnt make it a virus.

OP, please push the source in compliance with the license you agreed to when modifying our code
 

RocketRobz

Stylish TWiLight Hero
Developer
Joined
Oct 1, 2010
Messages
16,579
Trophies
3
Age
24
XP
20,949
Country
United States

niin401

Active Member
OP
Newcomer
Joined
Dec 26, 2009
Messages
42
Trophies
1
XP
334
Country
United States
That's not what he meant. Please push the updated source code files as an actual commit, not as a release.

EDIT: It seems you've simply replaced all instances of 133 with 399 in every file. That is not how it works.
it mostly replaced text instances for resource files

but what about the other locations??
Post automatically merged:

it mostly replaced text instances for resource files

but what about the other locations??
I've modded daedalusx643ds to obtain fullspeeds in games using similar methods (although changing the emulated rates wont change the hosts rates right)

EDIT: I'll make a cpu speed test app and run it with the old and new nds-bootsraps to actually test the real hardwares results
 

The Catboy

GBAtemp Official Catboy™: Boywife
Member
Joined
Sep 13, 2009
Messages
27,911
Trophies
4
Location
Making a non-binary fuss
XP
39,186
Country
Antarctica
That's not what he meant. Please push the updated source code files as an actual commit, not as a release.

EDIT: It seems you've simply replaced all instances of 133 with 399 in every file. That is not how it works.
I feel like if it was this simple, you would have done it a long ass time ago
 
  • Like
Reactions: RocketRobz

RocketRobz

Stylish TWiLight Hero
Developer
Joined
Oct 1, 2010
Messages
16,579
Trophies
3
Age
24
XP
20,949
Country
United States
it mostly replaced text instances for resource files

but what about the other locations??
It also got replaced in "retail/bootloader/source/arm7/dsi_patches.c", which is unrelated to how fast the game runs (the file contains patches which makes DSiWare run in DS mode on flashcards).
The text which got replaced are in files which do not contribute to the game-running speed.

You see, nds-bootstrap is not an emulator, as it actually runs games natively using the DS(i) hardware.
So to make it run games higher than 133mhz would require swapping out the ARM9 CPU with a faster one.
 

niin401

Active Member
OP
Newcomer
Joined
Dec 26, 2009
Messages
42
Trophies
1
XP
334
Country
United States
It also got replaced in "retail/bootloader/source/arm7/dsi_patches.c", which is unrelated to how fast the game runs (the file contains patches which makes DSiWare run in DS mode on flashcards).
The text which got replaced are in files which do not contribute to the game-running speed.

You see, nds-bootstrap is not an emulator, as it actually runs games natively using the DS(i) hardware.
So to make it run games higher than 133mhz would require swapping out the ARM9 CPU with a faster one.
cant we use similar moethods to oc'ing via bios on amd?

i oc my desktop in the bios changing vcore and the multiplier


EDIT: Replacing the crystal oscillator could work... but so could software
 

RocketRobz

Stylish TWiLight Hero
Developer
Joined
Oct 1, 2010
Messages
16,579
Trophies
3
Age
24
XP
20,949
Country
United States
cant we use similar moethods to oc'ing via bios on amd?

i oc my desktop in the bios changing vcore and the multiplier
It's not as simple as taking out the CPU chip and putting in a new one in a Desktop PC, or even changing BIOS settings.
You'd need to de-solder the CPU chip from the motherboard, and then solder in the new one, which should be nearly identical, except that is has a config for a higher speed.
I don't think anyone has tried this though, so I'm not sure if that'll work.
 

niin401

Active Member
OP
Newcomer
Joined
Dec 26, 2009
Messages
42
Trophies
1
XP
334
Country
United States
It's not as simple as taking out the CPU chip and putting in a new one in a Desktop PC, or even changing BIOS settings.
You'd need to de-solder the CPU chip from the motherboard, and then solder in the new one, which should be nearly identical, except that is has a config for a higher speed.
I don't think anyone has tried this though, so I'm not sure if that'll work.
people have oc'd ds, dslite, and dsi for sure

dont swap the arm chips

swap the crystal osc with a higher one

this changes the cpus base clock (before the multiplier)
 
  • Like
Reactions: orangy57

RocketRobz

Stylish TWiLight Hero
Developer
Joined
Oct 1, 2010
Messages
16,579
Trophies
3
Age
24
XP
20,949
Country
United States
people have oc'd ds, dslite, and dsi for sure

dont swap the arm chips

swap the crystal osc with a higher one

this changes the cpus base clock (before the multiplier)
Ah, I forgot overclocking was a thing.
Disregard what I said about de-soldering/swapping the ARM chip then.
 
  • Like
Reactions: The Catboy

mrparrot2

Well-Known Member
Member
Joined
Nov 29, 2021
Messages
106
Trophies
0
Age
29
Location
SP, Brazil
XP
557
Country
Brazil
Changing those resource files from 133MHz to 399Mhz won't cause a difference at all. You are basically modifying a string. It is like saying that the symbol '2' equals 1, in the end its value is still 1.

The only way I can see this working is if there is an exploit in the ARM9 CPU or in the multiplier crystal which makes it run on a higher clock speed, and in software side you simply trigger it. Such approach were successfully done on Haswell CPUs to always run on the highest turbo frequency on all the time, which resulted in Haswell being faster than broadwell CPUs (search for Haswell Turbo Boost Unlock).
 

niin401

Active Member
OP
Newcomer
Joined
Dec 26, 2009
Messages
42
Trophies
1
XP
334
Country
United States
i understand, but i changed more than strings/values in resource files...
Changing those resource files from 133MHz to 399Mhz won't cause a difference at all. You are basically modifying a string. It is like saying that the symbol '2' equals 1, in the end its value is still 1.

The only way I can see this working is if there is an exploit in the ARM9 CPU or in the multiplier crystal which makes it run on a higher clock speed, and in software side you simply trigger it. Such approach were successfully done on Haswell CPUs to always run on the highest turbo frequency on all the time, which resulted in Haswell being faster than broadwell CPUs (search for Haswell Turbo Boost Unlock).
 

DSoryu

GBA/NDS Maniac
Member
Joined
May 5, 2010
Messages
2,357
Trophies
2
Location
In my house
XP
4,762
Country
Mexico
i understand, but i changed more than strings/values in resource files...

I'll try to explain what you actually did in a simple way:

Your room light bulb can be either on or off, and its switch has two labels that say "ON" and "OFF" to indicate how the light will be depending on the switch position, as the image:

On-and-off-switch.jpg


So if you turn the switch to off, the light bulb will power off, and if you turn it to ON, the light bulb will power on.

So, let's say that you want your light to emit green light instead of the regular white light through this same switch.. Well, you did this:

1680146489696.png


You erased the "ON" label so now it says "GREEN", and that won't magically make the light bulb to emit green light.

You would need to use a different light bulb that emits that color, or even a different light bulb system with another switch that lets you choose between light colors.

This same principle applies for the DSi CPU overclocking. You can only have 67MHz and 133MHz because those are the only available states allowed by it, and if you want to increase those clock speeds you would either need to use a different CPU or find an exploit that bypasses how that is handled, and the second option requires to make a deep research of the CPU itself, and is not that easy, if it was, it would have been already made.

To add the second alternative, the "find an exploit that allows to modify the clock speeds" to the bulb analogy, a "hack" for that would be to paint the bulb crystal surface with green paint, or put a light filter that blocks both red and blue colors, so only green is visible to the eye.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    BakerMan @ BakerMan: idk, i don't have one