Homebrew ARM9 HB 3DS Questions

AtlanticBit

Yeh, fuck this
OP
Member
Joined
Jan 15, 2015
Messages
365
Trophies
0
Age
55
Location
DEEP IN SPACE
XP
389
Country
Poland
1. How do I print stuff on the screen?
2. Does anyone know NAND r/w addreses? I want to make emuNAND without gw.(I know about fs problems. I will try to overcome it)
3.By using MSET how do I do stuff written here -^ and how do I run arm9 bin files.
4. WTH are arm11_code.bin/arm9_code.bin files.
 

NCDyson

Hello Boys...
Member
Joined
Nov 9, 2009
Messages
278
Trophies
1
XP
319
Country
United States
For the first one, I think its
Code:
#include <stdio.h>
void main()
{
    printf("Hello World");
}

Not going to work. That prints to stdout, which isn't going to do anything on a 3ds. You have to write your own display code, or look at any of the examples on how to do it from the last arm9 hb go around.

1. How do I print stuff on the screen?
2. Does anyone know NAND r/w addreses? I want to make emuNAND without gw.(I know about fs problems. I will try to overcome it)
3.By using MSET how do I do stuff written here -^ and how do I run arm9 bin files.
4. WTH are arm11_code.bin/arm9_code.bin files.

Not trying to be rude, but if you can't figure out #1 on your own, you're going to have a really hard time doing anything.

1. Look in the homebrew development thread(stickied, at the top of the forum), the first post might actually have some stuff from back when all we had was arm9 homebrew.
2. The people who know the addresses of these functions aren't likely to give them up. You're probably going to have to find them yourself.
3. Depends on what the file is supposed to do.
4. they're code to be run on the arm11 and arm9 processors, respectively. What they do depends on where you got them.
 

DarkFlare69

Well-Known Member
Member
Joined
Dec 8, 2014
Messages
5,147
Trophies
2
Location
Chicago
XP
4,753
Country
United States
Not going to work. That prints to stdout, which isn't going to do anything on a 3ds. You have to write your own display code, or look at any of the examples on how to do it from the last arm9 hb go around.



Not trying to be rude, but if you can't figure out #1 on your own, you're going to have a really hard time doing anything.

1. Look in the homebrew development thread(stickied, at the top of the forum), the first post might actually have some stuff from back when all we had was arm9 homebrew.
2. The people who know the addresses of these functions aren't likely to give them up. You're probably going to have to find them yourself.
3. Depends on what the file is supposed to do.
4. they're code to be run on the arm11 and arm9 processors, respectively. What they do depends on where you got them.
I use that for my Ninjhax homebrews and it works.
 

Relys

^(Software | Hardware) Exploit? Development.$
Member
Joined
Jan 5, 2007
Messages
878
Trophies
1
XP
1,249
Country
United States
I use that for my Ninjhax homebrews and it works.

That's because ninjhax runs on ARM11 and the stdio functions are defined in ctrulib.

Jesus people...You can't just go calling functions from a different operating systems IO library. XD
 

NCDyson

Hello Boys...
Member
Joined
Nov 9, 2009
Messages
278
Trophies
1
XP
319
Country
United States
That's because ninjhax runs on ARM11 and the stdio functions are defined in ctrulib.

Jesus people...You can't just go calling functions from a different operating systems IO library. XD

it just depends on if the system supports it. Before pcsx2 got it's new debugger, in several different games, I used to hook into code and call printf to print out register values for RE work since dev builds of pcsx2 captured ps2's stdout. Once I set up a neat little system of an assembler and python scripts to inject code into save-states, it actually worked pretty well.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • crafthp434 @ crafthp434:
    aroma
  • NinStar @ NinStar:
    in that case, there is no such thing as homebrew launcher for aroma
  • NinStar @ NinStar:
    you have to launch your homebrews directly from the wii u menu
  • NinStar @ NinStar:
    there is a plugin that display them on the wii u menu, pretty sure it is enabled by default
  • crafthp434 @ crafthp434:
    so like it doesnt exist
  • crafthp434 @ crafthp434:
    yeah
    ?
  • NinStar @ NinStar:
    it doesn't exist, at least not for aroma
  • crafthp434 @ crafthp434:
    ohhhhh
  • NinStar @ NinStar:
    on tiramisu you can access it by opening mii maker
  • crafthp434 @ crafthp434:
    okay
  • NinStar @ NinStar:
    I don't have a wii u anymore to test it myself, but if homebrews are not visible on the wii u menu I think you can press L + R + minus to open the plugin menu, there should be an option called "homebrews on wii u menu" or something similar
  • crafthp434 @ crafthp434:
    nope
  • crafthp434 @ crafthp434:
    it is L+dpad down+ select
  • crafthp434 @ crafthp434:
    but homebrew is appearing in the home menu btw
  • NinStar @ NinStar:
    yes, now I remember it
  • NinStar @ NinStar:
    then it is working, I also don't like that they did this but it is the only option you have if you are using aroma
  • crafthp434 @ crafthp434:
    i just didint know the homebrew launcher didint exist in aroma
  • crafthp434 @ crafthp434:
    thanks btw
  • Xdqwerty @ Xdqwerty:
    Im downloading fallout 3 goty edition
    +1
  • BigOnYa @ BigOnYa:
    I'm downloading more ram for my hamster pc
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    New hamster PC, with anal operation and BT connectivity!
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, How do I make enemies respawn on gdevelop after
    the player dies?
  • Psionic Roshambo @ Psionic Roshambo:
    Carrying a PC or phone is so old school!
  • Psionic Roshambo @ Psionic Roshambo:
    Squeeze your cheeks twice to answer calls!
    Psionic Roshambo @ Psionic Roshambo: Squeeze your cheeks twice to answer calls!