Homebrew Python Tools for 3DS

Drenn

Well-Known Member
Member
Joined
Feb 22, 2013
Messages
574
Trophies
0
XP
696
Country
Canada
Thanks, that fixes all of the issues I've been having.


But I'm a bit confused. Isn't that the same as what's used to compile for the original DS?

This code is running on the arm9 processor which is mostly the same as the DS. There's also the arm11 processor.
 

tomiga

Well-Known Member
Member
Joined
Dec 4, 2013
Messages
125
Trophies
0
Age
30
XP
145
Country
United States
For anybody using GNU/Linux, I made a modified build.py file. Be sure to chmod +x it.
Also to get this to compile, I had to add the following to 3dsploit.py in lib/p3ds:
Code:
#!/usr/bin/python2
Then set 3dsploit.py to have execute permissions using chmod +x. The compiler I'm using is arm-eabi-gcc instead of arm-none-eabi-gcc. I'm not sure what the difference between the two is, but arm-eabi-gcc seems to work fine.
 

Attachments

  • build.py.zip
    693 bytes · Views: 3,165
  • Like
Reactions: frown

escherbach

Well-Known Member
Member
Joined
Dec 26, 2013
Messages
271
Trophies
0
XP
263
Country

Kane49

Well-Known Member
Member
Joined
Nov 4, 2013
Messages
446
Trophies
0
Age
36
XP
343
Country
Gambia, The
Funny then that the build otions in build.py have

Code:
CC+" -g source/*.c -c -mcpu=mpcore -march=armv6k -mlittle-endian

You guys are posting about stuff you don't understand. Spreading fog and misinformation. Please keep your dumb wrong technical guesswork to yourself and leave it to the pros to discuss the advanced stuff.

http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0301h/apbs02s02.html


What the fuck are you talking about, you know who wrote that build.py right ?
 

escherbach

Well-Known Member
Member
Joined
Dec 26, 2013
Messages
271
Trophies
0
XP
263
Country
edit - ok maybe you did the original.

I still don't think the code is running on arm9 - where is the fucking arm9 processor? - source of this information please?
 

escherbach

Well-Known Member
Member
Joined
Dec 26, 2013
Messages
271
Trophies
0
XP
263
Country

Ok, well that page doesn't say anything about a physical arm9 cpu - it would surely be visible on the circuit board anyway. The arm11 processor is backward compatible with arm9 code so I assume they just switch the chip into a special DSi compatible mode by lowering the speed and disabling dual-core. Similarly arm11 is backwards compatible with arm7 code (but arm9 wasn't backward compatible with arm7 - which is why the DSi had a separate arm7 cpu) - so for DS mode even lower speed single core processor mode needs to be engaged.

http://www.arm.com/products/processors/classic/arm11/index.php

Maybe your compiler options are causing arm11 simd instructions to be generated and executed in a mode for which the arm11 can't execute these codes (because dual-core disabled??)

lol - now I'd doing what i accused you guys of, just guessing.

Anyway - I was wrong to act like a dick - but I still think there is no physical arm9 chip as Bond697 posted - just various compatibility modes of the dual-core arm11 cpu which you switch between via register pokes
 

escherbach

Well-Known Member
Member
Joined
Dec 26, 2013
Messages
271
Trophies
0
XP
263
Country
Also - I have now solved the confusion of how they execute arm7 DS code - the code is executed on an arm11 (in single core mode) NOT on an arm9 cpu?
 

profi200

Banned!
Banned
Joined
Sep 3, 2011
Messages
330
Trophies
0
XP
282
Country
Gambia, The
p4gnx499.png
 
  • Like
Reactions: Arras

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    Maybe a ghost writer?
  • BigOnYa @ BigOnYa:
    "Oh my God the graphics are so realistic looking." Lol of course it was the shiznit back then tho.
  • BigOnYa @ BigOnYa:
    I've never stood in line overnight or for hours, to buy anything. I can just wait and buy it later.
  • RedColoredStars @ RedColoredStars:
    I have never done that either.
  • RedColoredStars @ RedColoredStars:
    closest ive done is getting to target a couple hours early in the moring to get some amiibos.
  • Xdqwerty @ Xdqwerty:
    Im back
  • RedColoredStars @ RedColoredStars:
    But that topic makes me sad. :(
  • RedColoredStars @ RedColoredStars:
    Abusive narcissistic ex shame guilted me into selling them becasue my gaming and interests were childish like a little kid collecting toys. :(
  • RedColoredStars @ RedColoredStars:
    I had soooooooooooo many of them. All still sealed.
    +1
  • RedColoredStars @ RedColoredStars:
    I eventually had to contact a domestic abuse advocate to help me get out of the apartment I was in a lease with her. And filed a restraining order on her cuz she kept harassing me after i left her.
  • Xdqwerty @ Xdqwerty:
    I didnt bring my Charger and nobody here has one compatible with my phone
  • RedColoredStars @ RedColoredStars:
    either you have usb C and no one else does, or everone else has usb c except you. haha
    +1
  • Xdqwerty @ Xdqwerty:
    @RedColoredStars, i don't have usb c
  • RedColoredStars @ RedColoredStars:
    That happened to me for like a year. lol. I was the only one of all my friends and family to still have an old phone.
  • Xdqwerty @ Xdqwerty:
    @RedColoredStars, my phone is from around 2019
  • RedColoredStars @ RedColoredStars:
    Mine was from 2017. lolol. I just got this new one like 6 months ago. Not even new, second hand cheapo $40 phone. But it has usb c. lol
  • RedColoredStars @ RedColoredStars:
    I cant justify $1k+ on a nice ass phone. I can spend that on a 75" tv screen. Why a 6" screen device cost me the same? lol
    +2
  • BigOnYa @ BigOnYa:
    I had a iPhone 5 for like 6 years, till last year, and had to get new phone, when phone companies stop using the cdna networks, which the iphone5 used.
  • K3Nv2 @ K3Nv2:
    A phone can do more than a TV
    +2
  • BigOnYa @ BigOnYa:
    These smart TVs are getting close tho. Gonna be like "back to future" TVs before long.
    +1
  • K3Nv2 @ K3Nv2:
    Nah a phones going to always be more powerful than a TV if the TVs $2grand maybe but why when I can put a smaller device in my pocket that does basically everything a TV already does
    +1
  • K3Nv2 @ K3Nv2:
    I can justify a decent $800 smartphone that'll last 3 years when I could get a 65" TV for $400 and buy a decent micro computer for $100 more
  • K3Nv2 @ K3Nv2:
    Tbf there are decent $400 smartphones in today's market that make top end spec phones unjust it's just what you want
    K3Nv2 @ K3Nv2: Tbf there are decent $400 smartphones in today's market that make top end spec phones unjust...