Homebrew Homebrew Development

  • Thread starter Thread starter aliak11
  • Start date Start date
  • Views Views 1,475,088
  • Replies Replies 6,048
  • Likes Likes 54
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.
 
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.
 
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.
 
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..
 
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.
 
Out of curiosity, has anyone tried to figure out how Smash Bros or Monster Hunter asks for extra memory from the system?
 
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