all repos — mgba @ 790c77c9572c50cd8e365717e3af6010144eaa8b

mGBA Game Boy Advance Emulator

src/platform/3ds/cia.rsf.in (view raw)

  1BasicInfo:
  2  Title                   : "${PROJECT_NAME}"
  3  CompanyCode             : "00"
  4  ProductCode             : "CTR-P-MGBA"
  5  ContentType             : Application
  6  Logo                    : Nintendo # Nintendo / Licensed / Distributed / iQue / iQueForSystem
  7
  8#Rom:
  9  # Specifies the root path of the file system to include in the ROM.
 10  # HostRoot                : "romfs"
 11
 12
 13TitleInfo:
 14  UniqueId                : 0x1A1E
 15  Category                : Application
 16
 17CardInfo:
 18  MediaSize               : 128MB # 128MB / 256MB / 512MB / 1GB / 2GB / 4GB / 8GB / 16GB / 32GB
 19  MediaType               : Card1 # Card1 / Card2
 20  CardDevice              : None # NorFlash(Pick this if you use savedata) / None
 21  
 22
 23Option:
 24  UseOnSD                 : true # true if App is to be installed to SD
 25  FreeProductCode         : true # Removes limitations on ProductCode
 26  MediaFootPadding        : false # If true CCI files are created with padding
 27  EnableCrypt             : false # Enables encryption for NCCH and CIA
 28  EnableCompress          : true # Compresses exefs code
 29
 30ExeFs: # these are the program segments from the ELF, check your elf for the appropriate segment names
 31  ReadOnly: 
 32   - .rodata
 33   - RO
 34  ReadWrite: 
 35   - .data
 36   - RO
 37  Text: 
 38   - .init
 39   - .text
 40   - STUP_ENTRY
 41   
 42PlainRegion: # only used with SDK ELFs 
 43 # - .module_id
 44  
 45AccessControlInfo:
 46  # UseOtherVariationSaveData : true
 47  # UseExtSaveData : true
 48  # ExtSaveDataId: 0xffffffff
 49  # SystemSaveDataId1: 0x220
 50  # SystemSaveDataId2: 0x00040010
 51  # OtherUserSaveDataId1: 0x220
 52  # OtherUserSaveDataId2: 0x330
 53  # OtherUserSaveDataId3: 0x440
 54  # UseExtendedSaveDataAccessControl: true
 55  # AccessibleSaveDataIds: [0x101, 0x202, 0x303, 0x404, 0x505, 0x606]
 56  FileSystemAccess:
 57   # - CategorySystemApplication
 58   # - CategoryHardwareCheck
 59   # - CategoryFileSystemTool
 60   - Debug
 61   # - TwlCardBackup
 62   # - TwlNandData
 63   # - Boss
 64   - DirectSdmc
 65   # - Core
 66   # - CtrNandRo
 67   # - CtrNandRw
 68   # - CtrNandRoWrite
 69   # - CategorySystemSettings
 70   # - CardBoard
 71   # - ExportImportIvs
 72   # - DirectSdmcWrite
 73   # - SwitchCleanup
 74   # - SaveDataMove
 75   # - Shop
 76   # - Shell
 77   # - CategoryHomeMenu
 78  IoAccessControl:
 79   # - FsMountNand
 80   # - FsMountNandRoWrite
 81   # - FsMountTwln
 82   # - FsMountWnand
 83   # - FsMountCardSpi
 84   # - UseSdif3
 85   # - CreateSeed
 86   # - UseCardSpi
 87   
 88  IdealProcessor                : 0
 89  AffinityMask                  : 1
 90  
 91  Priority                      : 16
 92   
 93  MaxCpu                        : 0x9E # Default
 94  CpuSpeed                      : 804mhz
 95  EnableL2Cache                 : true
 96  
 97  DisableDebug                  : true
 98  EnableForceDebug              : false
 99  CanWriteSharedPage            : true
100  CanUsePrivilegedPriority      : false
101  CanUseNonAlphabetAndNumber    : true
102  PermitMainFunctionArgument    : true
103  CanShareDeviceMemory          : true
104  RunnableOnSleep               : false
105  SpecialMemoryArrange          : true
106  
107  CoreVersion                   : 2
108  DescVersion                   : 2
109  
110  ReleaseKernelMajor            : "02"
111  ReleaseKernelMinor            : "33" 
112  MemoryType                    : Application # Application / System / Base
113  HandleTableSize: 512
114  IORegisterMapping: 
115   - 1ff50000-1ff57fff
116   - 1ff70000-1ff77fff
117  MemoryMapping: 
118   - 1f000000-1f5fffff:r
119  SystemCallAccess: 
120    ArbitrateAddress: 34
121    Break: 60
122    CancelTimer: 28
123    ClearEvent: 25
124    ClearTimer: 29
125    CloseHandle: 35
126    ConnectToPort: 45
127    ControlMemory: 1
128    CreateAddressArbiter: 33
129    CreateEvent: 23
130    CreateMemoryBlock: 30
131    CreateMutex: 19
132    CreateSemaphore: 21
133    CreateThread: 8
134    CreateTimer: 26
135    DuplicateHandle: 39
136    ExitProcess: 3
137    ExitThread: 9
138    GetCurrentProcessorNumber: 17
139    GetHandleInfo: 41
140    GetProcessId: 53
141    GetProcessIdOfThread: 54
142    GetProcessIdealProcessor: 6
143    GetProcessInfo: 43
144    GetResourceLimit: 56
145    GetResourceLimitCurrentValues: 58
146    GetResourceLimitLimitValues: 57
147    GetSystemInfo: 42
148    GetSystemTick: 40
149    GetThreadContext: 59
150    GetThreadId: 55
151    GetThreadIdealProcessor: 15
152    GetThreadInfo: 44
153    GetThreadPriority: 11
154    MapMemoryBlock: 31
155    OutputDebugString: 61
156    QueryMemory: 2
157    ReleaseMutex: 20
158    ReleaseSemaphore: 22
159    SendSyncRequest1: 46
160    SendSyncRequest2: 47
161    SendSyncRequest3: 48
162    SendSyncRequest4: 49
163    SendSyncRequest: 50
164    SetThreadPriority: 12
165    SetTimer: 27
166    SignalEvent: 24
167    SleepThread: 10
168    UnmapMemoryBlock: 32
169    WaitSynchronization1: 36
170    WaitSynchronizationN: 37
171  InterruptNumbers:
172  ServiceAccessControl: 
173   - APT:U
174   - $hioFIO
175   - $hostio0
176   - $hostio1
177   - ac:u
178   - boss:U
179   - cam:u
180   - cecd:u
181   - cfg:u
182   - dlp:FKCL
183   - dlp:SRVR
184   - dsp::DSP
185   - frd:u
186   - fs:USER
187   - gsp::Gpu
188   - hid:USER
189   - http:C
190   - mic:u
191   - ndm:u
192   - news:u
193   - nwm::UDS
194   - ptm:u
195   - pxi:dev
196   - soc:U
197   - ssl:C
198   - y2r:u
199   - ldr:ro
200   - ir:USER
201   - ir:u
202   - csnd:SND
203  
204   
205SystemControlInfo:
206  SaveDataSize: 0KB # It doesn't use any save data.
207  RemasterVersion: 2
208  StackSize: 0x40000
209  # JumpId: 0
210  Dependency: 
211    ac: 0x0004013000002402L
212    am: 0x0004013000001502L
213    boss: 0x0004013000003402L
214    camera: 0x0004013000001602L
215    cecd: 0x0004013000002602L
216    cfg: 0x0004013000001702L
217    codec: 0x0004013000001802L
218    csnd: 0x0004013000002702L
219    dlp: 0x0004013000002802L
220    dsp: 0x0004013000001a02L
221    friends: 0x0004013000003202L
222    gpio: 0x0004013000001b02L
223    gsp: 0x0004013000001c02L
224    hid: 0x0004013000001d02L
225    http: 0x0004013000002902L
226    i2c: 0x0004013000001e02L
227    ir: 0x0004013000003302L
228    mcu: 0x0004013000001f02L
229    mic: 0x0004013000002002L
230    ndm: 0x0004013000002b02L
231    news: 0x0004013000003502L
232    nim: 0x0004013000002c02L
233    nwm: 0x0004013000002d02L
234    pdn: 0x0004013000002102L
235    ps: 0x0004013000003102L
236    ptm: 0x0004013000002202L
237    ro: 0x0004013000003702L
238    socket: 0x0004013000002e02L
239    spi: 0x0004013000002302L
240    ssl: 0x0004013000002f02L