4dsdev
Views: 577,848 Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search 06-25-17 02:55 PM
Guest:

0 users reading [Question]Reserve memory for arm9 | 1 bot

Main - Homebrew discussion - [Question]Reserve memory for arm9 New reply


hartie95
Posted on 02-04-16 08:28 AM (rev. 2 of 02-04-16 08:29 AM) Link | #928
Hi,
I would like to ask if somebody know if its possible to reserve FCRAM memory for use in arm9 threads(maybe in the base region). If its possible, would it be possible to load a binary to this memory, and start a new thread using the loaded binary?
I ask this, because the arm9 thread binary size is very limited in most cfws, and with the possibility to load a bigger binary, it would be possible to do clean patching of processes like mset and menu using svcBackdoor.

profi200
Posted on 02-04-16 10:08 AM Link | #929
Write better code i guess? We have size problems too but *all* you mentioned fits perfectly in the usable ITCM mem.

hartie95
Posted on 02-04-16 11:36 AM (rev. 3 of 02-04-16 11:38 AM) Link | #930
Checking the running processes requires some code, which is not that easy to minimize. Also its hard to add more than one bigger feature to the thread. Im using reinand as base.
If its not possible, I will try other things, but I think checking the running processes to only patch ver in mset for example is much cleaner patching.

Dazzozo
Posted on 02-04-16 11:39 AM Link | #931
How about: don't check for running processes on ARM9 at all? You guys know the ARM11 exists, right?

hartie95
Posted on 02-04-16 11:48 AM Link | #932
Posted by Dazzozo
How about: don't check for running processes on ARM9 at all? You guys know the ARM11 exists, right?

I know, but there are not that many open source cfws with arm11 and 9.6+ support.
Also I think its still interessting to know, if its possible to do something like this. I also know there are other ways, but for I don't have the time (or the experience) to fully reverse engineer stuff at the moment.

gudenau
Posted on 02-09-16 11:44 PM Link | #938
Posted by hartie95
I know, but there are not that many open source cfws with arm11 and 9.6+ support.
Also I think its still interessting to know, if its possible to do something like this. I also know there are other ways, but for I don't have the time (or the experience) to fully reverse engineer stuff at the moment.

Doesn't rxTools have some ARM11 stuff?

hartie95
Posted on 02-10-16 02:20 PM Link | #940
Posted by gudenau
Doesn't rxTools have some ARM11 stuff?

Yes, but they have added the support for 9.6 yesterday, so I could not have used it for testing and experimenting, without downgrading my emunand. Also not every feature feature is available on n3DS, so I doesn't know if they have a arm11 thread on new 3DS.


Main - Homebrew discussion - [Question]Reserve memory for arm9 New reply

Page rendered in 0.042 seconds. (2048KB of memory used)
MySQL - queries: 28, rows: 77/77, time: 0.030 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2015-10-07)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.