1. Rinnegatamante

    Rinnegatamante GBAtemp Psycho!
    Member

    Joined:
    Nov 24, 2014
    Messages:
    3,161
    Country:
    Italy
    -exheader is only for CXI build.
     
  2. daxtsu

    daxtsu GBAtemp Guru
    Member

    Joined:
    Jun 9, 2007
    Messages:
    5,627
    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.
     
  3. Deleted User

    Deleted User Newbie


    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.
     
  4. Rinnegatamante

    Rinnegatamante GBAtemp Psycho!
    Member

    Joined:
    Nov 24, 2014
    Messages:
    3,161
    Country:
    Italy
    Noobish question:
    Is it possible to write Launcher.dat executables in C or only ASM?
     
  5. daxtsu

    daxtsu GBAtemp Guru
    Member

    Joined:
    Jun 9, 2007
    Messages:
    5,627
    Country:
    Antarctica

    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.
     
  6. themperror

    themperror GBAtemp Regular
    Member

    Joined:
    Aug 12, 2009
    Messages:
    181
    Country:
    Netherlands
    In C only yes, LibCTRU's Hello World example does that, only ASM? I don't know, I think so something weird with the compiler though with .text and .data files..
     
  7. daxtsu

    daxtsu GBAtemp Guru
    Member

    Joined:
    Jun 9, 2007
    Messages:
    5,627
    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..
     
  8. Rinnegatamante

    Rinnegatamante GBAtemp Psycho!
    Member

    Joined:
    Nov 24, 2014
    Messages:
    3,161
    Country:
    Italy
    Were can i found a sample for a Launcher.dat wrote in C?
     
  9. themperror

    themperror GBAtemp Regular
    Member

    Joined:
    Aug 12, 2009
    Messages:
    181
    Country:
    Netherlands
    Oh wait sorry, Launcher.dat .. I don't know, I thought you were referring to any homebrew project..
     
  10. AlbertoSONIC

    AlbertoSONIC Pasta Team Member
    Member

    Joined:
    Jun 27, 2014
    Messages:
    927
    Country:
    Italy
    Check first post
     
  11. filfat

    filfat Musician, Developer & Entrepreneur
    Member

    Joined:
    Nov 24, 2012
    Messages:
    1,255
    Country:
    Sweden
    Anyone ported zlib yet, or another unzip solution? :)
     
  12. filfat

    filfat Musician, Developer & Entrepreneur
    Member

    Joined:
    Nov 24, 2012
    Messages:
    1,255
    Country:
    Sweden
  13. DEElekgolo

    DEElekgolo Advanced Member
    Newcomer

    Joined:
    Apr 7, 2009
    Messages:
    75
    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.
     
  14. Rinnegatamante

    Rinnegatamante GBAtemp Psycho!
    Member

    Joined:
    Nov 24, 2014
    Messages:
    3,161
    Country:
    Italy
    zlip uses only I/O functions so doesn't need nothing to be ported to 3DS.
     
    filfat likes this.
  15. filfat

    filfat Musician, Developer & Entrepreneur
    Member

    Joined:
    Nov 24, 2012
    Messages:
    1,255
    Country:
    Sweden
    Yeah, however i cannot mange to get minizip to work correctly, will try lz77 .
     
  16. daxtsu

    daxtsu GBAtemp Guru
    Member

    Joined:
    Jun 9, 2007
    Messages:
    5,627
    Country:
    Antarctica
    Out of curiosity, has anyone tried to figure out how Smash Bros or Monster Hunter asks for extra memory from the system?
     
  17. Coto

    Coto -
    Member

    Joined:
    Jun 4, 2010
    Messages:
    2,740
    Country:
    Chile

    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

    detect DTCM base + 0x3ff8 (for BIOS flags that raise interrupts through swi code)
     
    daxtsu likes this.
  18. AlbertoSONIC

    AlbertoSONIC Pasta Team Member
    Member

    Joined:
    Jun 27, 2014
    Messages:
    927
    Country:
    Italy
    Guys do you know which font is the one used by Bootrom when showing errorcode?
     
  19. Rinnegatamante

    Rinnegatamante GBAtemp Psycho!
    Member

    Joined:
    Nov 24, 2014
    Messages:
    3,161
    Country:
    Italy
    Standard C I/O library (fopen, fclose...) what format of path does accept? ("sdmc:/Myfile.txt" or just "/MyFile.txt" ?)
     
  20. AlbertoSONIC

    AlbertoSONIC Pasta Team Member
    Member

    Joined:
    Jun 27, 2014
    Messages:
    927
    Country:
    Italy
    Nothing?
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - Development, Homebrew,