Homebrew Python Tools for 3DS

Drenn

Well-Known Member
Member
Joined
Feb 22, 2013
Messages
574
Trophies
0
XP
684
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
29
XP
135
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,120
  • Like
Reactions: frown

escherbach

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

Kane49

Well-Known Member
Member
Joined
Nov 4, 2013
Messages
446
Trophies
0
Age
35
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
253
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
253
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
253
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
General chit-chat
Help Users
  • No one is chatting at the moment.
  • SylverReZ @ SylverReZ:
    Hope they made lots of spaget
  • K3N1 @ K3N1:
    Chill dog
  • SylverReZ @ SylverReZ:
    Chilli dog
  • Skelletonike @ Skelletonike:
    Damn, I'm loving the new zelda.
  • xtremegamer @ xtremegamer:
    loving the new zelda, i started a game, it was so fucking good, so i
    am waiting on my friend to get home so we can start a new one together
  • Skelletonike @ Skelletonike:
    I just dislike that they don't let me choose the voices before the game starts. Happened with botw as well, had to change to japanese and restart.
  • K3N1 @ K3N1:
    But the important question is can you choose gender
  • Skelletonike @ Skelletonike:
    Same way you can choose Gerald's gender.
  • Skelletonike @ Skelletonike:
    *Geralt, damn autocorrect.
  • Psionic Roshambo @ Psionic Roshambo:
    But can he be trans? Lol
  • K3N1 @ K3N1:
    Zelda transforms into link
  • Psionic Roshambo @ Psionic Roshambo:
    Link I'm not the princess your looking for.... *Pulls a crying game*
  • K3N1 @ K3N1:
    *skirt up* it's exactly what I always wanted
  • Skelletonike @ Skelletonike:
    Just scanned all my zelda amiibos, took a while but didn't get anything that cool, did get the lon lon ranch hylian fabrics though.
  • Skelletonike @ Skelletonike:
    It was pretty funny when I scanned wolf link and got a shit load of meat.
  • K3N1 @ K3N1:
    @Skelletonike, btw I ran that custom for mgs4 on the deck I'm amazed it got that far in game
  • K3N1 @ K3N1:
    Plug in*
  • K3N1 @ K3N1:
    Your favorite activity
  • BentlyMods @ BentlyMods:
    My fav actvity is:

    mario-dancing.gif
  • Psionic Roshambo @ Psionic Roshambo:
    Do the Mario lol
  • K3N1 @ K3N1:
    🍑
  • K3N1 @ K3N1:
    Whoever developed Bramble was smoking that good shit fucking gnomes
    K3N1 @ K3N1: Whoever developed Bramble was smoking that good shit fucking gnomes