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,163
  • 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
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, i have a physical copy of mgs4
  • Xdqwerty @ Xdqwerty:
    ok I tried it and 1) it doesnt boot wood menu automatically and 2) when trying to load a game through wood theres just a loading screen
  • K3Nv2 @ K3Nv2:
    It's low on wood
    +1
  • Xdqwerty @ Xdqwerty:
    lemme ask in forums
  • Xdqwerty @ Xdqwerty:
    yawn
  • BigOnYa @ BigOnYa:
    @Xdqwerty No you heard wrong, and don't believe till you experience yourself. Fallout 4 is one of my favorite games of all time. Yes it had issues early on, esp with older hardware like the xbox1, but it is awesome, esp now being 4k on Series S/X or PS5
    +2
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, Then i think people were talking about fallout 76
  • Xdqwerty @ Xdqwerty:
    that one was buggy too
  • BigOnYa @ BigOnYa:
    Yea you right there, fallout 76 was a letdown, but it not that bad now, they have fixed slot of issues they had at launch. Biggest issue with Fallout 76 is its a pay to advance further type of game, which sucks
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, I may probably download fallout 3 or new vegas on my ps3
  • Xdqwerty @ Xdqwerty:
    cuz I didnt like fallout 1 that much
  • BigOnYa @ BigOnYa:
    New Vegas is awesome, F3 was ok too.
  • Psionic Roshambo @ Psionic Roshambo:
    I played Fallout 4 on PC, I enjoyed it honestly. Not my favorite game on earth but at the same time I didn't hate it at all lol
  • BigOnYa @ BigOnYa:
    That's cool you got a ps3... Glad to hear. Game on!
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Ironic this was posted today lol
  • BigOnYa @ BigOnYa:
    I think the tv series has boasted play of, I did see they said playing of it Is up, way more than norm
    +1
  • BigOnYa @ BigOnYa:
    I've been playing the next gen version on Series X all day, I love it. :wub:
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Downloading some random stuff, damn almost 400GBs in like 4 hours lol
  • Psionic Roshambo @ Psionic Roshambo:
    Gonna be over 1TB this month.... damn lol
  • Xdqwerty @ Xdqwerty:
    good night
    +1
  • BigOnYa @ BigOnYa:
    At least you have some fast speeds. What a drag that used to be, I remb downloading 1 pic back in the day, and seeing line by line show
  • BigOnYa @ BigOnYa:
    Nighty night.
  • BigOnYa @ BigOnYa:
    Or worse, you downloading something, and someone calls your phone and interupts the download, good ole AOL. Of course that's before most you guys even were born yet.
    BigOnYa @ BigOnYa: Or worse, you downloading something, and someone calls your phone and interupts the download...