Homebrew ARM9 HB 3DS Questions

AtlanticBit

Yeh, fuck this
OP
Member
Joined
Jan 15, 2015
Messages
365
Trophies
0
Age
54
Location
DEEP IN SPACE
XP
379
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,736
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,239
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
  • S @ salazarcosplay:
    did you always have a ps4 you never updated
  • S @ salazarcosplay:
    or were you able to get new ps4 tracking it \
    as soon as the hack was announced
  • S @ salazarcosplay:
    or did you have to find a used one with the lower firm ware that was not updated
  • K3Nv2 @ K3Nv2:
    I got this ps4 at launch and never updated since 9.0
  • K3Nv2 @ K3Nv2:
    You got a good chance of buying a used one and asking the seller how often they used or even ask for a Pic of fw and telling them not to update
  • RedColoredStars @ RedColoredStars:
    Speaking of PLaystation. I see Evilnat put out a beta for PS3 CFW 4.91.2 on the 22nd.
  • K3Nv2 @ K3Nv2:
    Don't really see the point in updating it tbh
  • BigOnYa @ BigOnYa:
    Yea you right, I thought about updating my PS3 CFW to 4.91, but why really, everything plays fine now. I guess for people that have already updated past 4.9 it would be helpful.
  • K3Nv2 @ K3Nv2:
    Idk if online servers are still active that would be my only thought
    +1
  • BigOnYa @ BigOnYa:
    Thats true, personally I don't play it online at all, in fact, I deleted all wifi details on it once I installed CFW, so it won't connect and auto-update itself
  • BigOnYa @ BigOnYa:
    I play most games that are on both PS3/360 strickly on the 360, but PS3 exclusives are really only games I play on the PS3 (You know me, I'm more of a Xbox junkie)
  • K3Nv2 @ K3Nv2:
    Ps3 really has no titles worth going online
  • BigOnYa @ BigOnYa:
    what is nps?
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, what about GTA v onl... O Yea the PS3 versión got discontinued
  • K3Nv2 @ K3Nv2:
    I feel like the world's cheapest pc build can play gtaV
  • K3Nv2 @ K3Nv2:
    In modern standards
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, then why mine can't?
  • BigOnYa @ BigOnYa:
    @K3Nv2 What is nps you mentioned?
  • K3Nv2 @ K3Nv2:
    Because your pc has a hamster innit
    +3
  • BakerMan @ BakerMan:
    R.I.P. LittleBigPlanet PS3 servers
  • BakerMan @ BakerMan:
    LBP2 still the goat tho
  • K3Nv2 @ K3Nv2:
    That can be played on ps5 iirc
  • BigOnYa @ BigOnYa:
    I'm surprised any PS3 servers are still up, tbh
  • K3Nv2 @ K3Nv2:
    Alot of manufactures do care about older consoles they just want to whine about piracy
    +2
  • S @ salazarcosplay:
    @BigOnYa I had 4.89 hfw on super slim that was great, but when I got a new hard disk I forgot where the guide was and could only find a guide for 4.90 and its resources
    S @ salazarcosplay: @BigOnYa I had 4.89 hfw on super slim that was great, but when I got a new hard disk I forgot...