Application Manager Services

From 3dbrew
Jump to navigation Jump to search


Application Manager services

Command Header Description
0x00010040 TitleIDListGetTotal
0x00020082 GetTitleIDList
0x00030084 ListTitles
0x000400C0 DeleteApplicationTitle
0x000500C0 GetTitleProductCode
0x000600C0 Wrapper for AMPXI command 0x000600C0
0x00070080 Wrapper for AMPXI command 0x000D0080
0x00080000 TitleIDListGetTotal3
0x00090082 GetTitleIDList3
0x000A0000 GetDeviceID
0x000B0040 ?
0x000C0082 ?
0x000D0084 ListTitles2
0x000E00C0 Wrapper for AMPXI command 0x002000C0
0x000F00C0 Wrapper for AMPXI command 0x002100C0
0x00100102 Wrapper for AMPXI command 0x00220102
0x00110104 Wrapper for AMPXI command 0x00230104
0x00120102 Wrapper for AMPXI command 0x00240102
0x00130040 Wrapper for AMPXI command 0x003F0040
0x00140040 FinishInstallToMedia
0x00150040 ?
0x00160000 Wrapper for AMPXI command 0x00410000
0x00170044 ?
0x00180080 InitializeTitleDatabase
0x00190040 ReloadDBS
0x001A00C0 GetDSiWareExportSize
0x001B0144 ExportDSiWare
0x001C0084 ImportDSiWare
0x001D0000 Wrapper for AMPXI command 0x00510000
0x001E00C8 DSiWare related.
0x001F0040 Wrapper for AMPXI command 0x00520040
0x00200000 Wrapper for AMPXI command 0x00540000
0x00210042 Wrapper for AMPXI command 0x004C0042
0x00220080 Wrapper for AMPXI command 0x00070080
0x00230080 TitleIDListGetTotal2
0x002400C2 GetTitleIDList2
0x002500C0 Wrapper for AMPXI command 0x005600C0
0x00260044 Wrapper for AMPXI command 0x00620044
0x00270044 ?
0x00280108 ?
0x00290082 Wrapper for AMPXI command 0x00670082
0x002A00C0 Wrapper for AMPXI command 0x006A00C0
0x002B0142 Wrapper for AMPXI command 0x006B0142
0x002C0084 ?
0x002D00C0 ?

The above commands are for am:sys, am:u, and am:net.

Application Manager services "am:u" and "am:net"

Command Header Description
0x04010080 InstallFIRM
0x04020040 StartInstallCIADB0
0x04030000 StartInstallCIADB1
0x04040002 AbortCIAInstall
0x04050002 CloseCIAFinalizeInstall
0x04060002 CloseCIA
0x040700C2 FinalizeTitlesInstall
0x04080042 GetCiaFileInfo
0x04090004 ?
0x040A0002 ?
0x040B0002 For this command, AM module reads an u64 from the CIA using the specified file-handle? (u64* out, CIA filehandle)
0x040C0002 ?
0x040D0042 ?
0x040E00C2 InstallTitlesFinish
0x040F0000 InstallNATIVEFIRM
0x041000C0 DeleteTitle
0x04110044 Wrapper for AMPXI command 0x00500044
0x04120000 Initialize
0x04130002 ?
0x04140044 ?
0x04150080 ?
0x041600C0 Wrapper for AMPXI command 0x006400C0
0x041700C0 MigrateAGBtoSAV
0x04180040 ?
0x04190000 ?

Application Manager service "am:app"

Command Header Description
0x100100C0 GetNumContentInfos
0x10020104 ApplicationControl::FindContentInfos
0x10030142 ApplicationControl::ListContentInfos
0x10040102 ApplicationControl::DeleteContents
0x10050084 GetDataTitleInfos
0x10070102 ApplicationControl::ListDataTitleTicketInfos
0x100900C0 IsDataTitleInUse
0x100A0000 IsExternalTitleDatabaseInitialized
0x100B00C0 Wrapper for AMPXI command 0x006A00C0
0x100C0142 Wrapper for AMPXI command 0x006B0142
0x100D0084 Wrapper for AMPXI command 0x00030084

Application Manager service "am:sys"

Application Manager service "am:u"

Application Manager service "am:pipe"

Application Manager network service "am:net"

Command Header Description
0x08010000 OpenTicket
0x08020002 TicketAbortInstall
0x08030002 TicketFinalizeInstall
0x08040100 InstallTitleBegin
0x08050000 InstallTitleAbort
0x080600C0 InstallTitleResume
0x08070000 InstallTitleAbortTMD
0x08080000 InstallTitleFinish
0x080A0000 OpenTMD
0x080B0002 TMDAbortInstall
0x080C0042 TMDFinalizeInstall
0x080E0040 OpenContentCreate
0x080F0002 ContentAbortInstall
0x08100040 OpenContentResume
0x08120002 ContentFinalizeInstall
0x08130000 GetTotalContents
0x08140042 GetContentIndexes
0x08150044 GetContentsInfo
0x08180042 GetCTCert
0x08190108 SetCertificates
0x081B00C2 InstallTitlesFinish

File service

Command Header Description
0x080200C2 Read
0x08030102 Write
0x08040000 GetSize
0x08050080 SetSize
0x08080000 Close

These are identical to FSFile.

Errors

See this.