Homebrew Homebrew Development

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
Antarctica
Has anyone with Gateway or that leaked CFW managed to get APT_LaunchLibraryApplet to do anything aside from just freeze the 3DS? I used the example in libctru which tries to launch the circle pad pro calibration applet but it just freezes the entire console (does it matter that my system is on 4.3?). I also tried the camera, which freezes.
 
D

Deleted User

Guest
Has anyone with Gateway or that leaked CFW managed to get APT_LaunchLibraryApplet to do anything aside from just freeze the 3DS? I used the example in libctru which tries to launch the circle pad pro calibration applet but it just freezes the entire console (does it matter that my system is on 4.3?). I also tried the camera, which freezes.


Well the example tries to launch applet 0x408, and 3dbrew has it listed as 0x208. (http://3dbrew.org/wiki/NS_and_APT_Services#Library_Applets) Don't know whether that's a mistake in 3dbrew or the example, but I'd try 0x208 and see what happens.
 

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
Antarctica
Well the example tries to launch applet 0x408, and 3dbrew has it listed as 0x208. (http://3dbrew.org/wiki/NS_and_APT_Services#Library_Applets) Don't know whether that's a mistake in 3dbrew or the example, but I'd try 0x208 and see what happens.


I'll try 0x208. Thanks. My main goal is to figure out how to pull up the software keyboard eventually; it'd be nice to know how. If I get it working, I'll share an example. I just wanted to use a "simpler" applet in the meantime, to figure out how to use APT_LLA properly.
 

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
Antarctica
Hm..I think I'll wait until my Gateway gets here before I mess with this further. This CFW is too unstable for any serious development..
 

DEElekgolo

Well-Known Member
Newcomer
Joined
Apr 7, 2009
Messages
75
Trophies
0
Age
29
Website
Visit site
XP
262
Country
United States
I dont see why zlib wouldn't work by simply compiling it with your project.
I know lz77 works and there might even be some Service API calls for those on the 3ds already.
 

Coto

-
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,565
Country
Chile
Out of curiosity, has anyone tried to figure out how Smash Bros or Monster Hunter asks for extra memory from the system?


I suppose the MMU is asked for a bigger allocatable memory (through SVC , MCR / MRC co - ops) (for the kernel process)

On the NDS I use MCR/MRC for MPU locking-down pages

DTCM data region lock enable

mcr p15, 0, r0, c5, c0, 2

detect DTCM base + 0x3ff8 (for BIOS flags that raise interrupts through swi code)
@bios flag mix
MRC P15, 0 ,r0, c9,c1,0@TCM Data TCM Base and Virtual Size
MOV r0, r0, LSR #0xC
MOV r0, r0, LSL #0xC

ldr r1,=0x3ff8@dtcm+0x3ff8 = BIOS Interrupt Flags - Check bits (ARM9)
ldr r6,[r0,r1]
 
  • Like
Reactions: daxtsu

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Sonic Angel Knight @ Sonic Angel Knight: Green name in chat :ninja: