all repos — mgba @ accac1525f2bc921e7aa94adfc2cabe13d7167f2

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  
 96  DisableDebug                  : true
 97  EnableForceDebug              : false
 98  CanWriteSharedPage            : true
 99  CanUsePrivilegedPriority      : false
100  CanUseNonAlphabetAndNumber    : true
101  PermitMainFunctionArgument    : true
102  CanShareDeviceMemory          : true
103  RunnableOnSleep               : false
104  SpecialMemoryArrange          : true
105  
106  CoreVersion                   : 2
107  DescVersion                   : 2
108  
109  ReleaseKernelMajor            : "02"
110  ReleaseKernelMinor            : "33" 
111  MemoryType                    : Application # Application / System / Base
112  HandleTableSize: 512
113  IORegisterMapping: 
114   - 1ff50000-1ff57fff
115   - 1ff70000-1ff77fff
116  MemoryMapping: 
117   - 1f000000-1f5fffff:r
118  SystemCallAccess: 
119    ArbitrateAddress: 34
120    Break: 60
121    CancelTimer: 28
122    ClearEvent: 25
123    ClearTimer: 29
124    CloseHandle: 35
125    ConnectToPort: 45
126    ControlMemory: 1
127    CreateAddressArbiter: 33
128    CreateEvent: 23
129    CreateMemoryBlock: 30
130    CreateMutex: 19
131    CreateSemaphore: 21
132    CreateThread: 8
133    CreateTimer: 26
134    DuplicateHandle: 39
135    ExitProcess: 3
136    ExitThread: 9
137    GetCurrentProcessorNumber: 17
138    GetHandleInfo: 41
139    GetProcessId: 53
140    GetProcessIdOfThread: 54
141    GetProcessIdealProcessor: 6
142    GetProcessInfo: 43
143    GetResourceLimit: 56
144    GetResourceLimitCurrentValues: 58
145    GetResourceLimitLimitValues: 57
146    GetSystemInfo: 42
147    GetSystemTick: 40
148    GetThreadContext: 59
149    GetThreadId: 55
150    GetThreadIdealProcessor: 15
151    GetThreadInfo: 44
152    GetThreadPriority: 11
153    MapMemoryBlock: 31
154    OutputDebugString: 61
155    QueryMemory: 2
156    ReleaseMutex: 20
157    ReleaseSemaphore: 22
158    SendSyncRequest1: 46
159    SendSyncRequest2: 47
160    SendSyncRequest3: 48
161    SendSyncRequest4: 49
162    SendSyncRequest: 50
163    SetThreadPriority: 12
164    SetTimer: 27
165    SignalEvent: 24
166    SleepThread: 10
167    UnmapMemoryBlock: 32
168    WaitSynchronization1: 36
169    WaitSynchronizationN: 37
170  InterruptNumbers:
171  ServiceAccessControl: 
172   - APT:U
173   - $hioFIO
174   - $hostio0
175   - $hostio1
176   - ac:u
177   - boss:U
178   - cam:u
179   - cecd:u
180   - cfg:u
181   - dlp:FKCL
182   - dlp:SRVR
183   - dsp::DSP
184   - frd:u
185   - fs:USER
186   - gsp::Gpu
187   - hid:USER
188   - http:C
189   - mic:u
190   - ndm:u
191   - news:u
192   - nwm::UDS
193   - ptm:u
194   - pxi:dev
195   - soc:U
196   - ssl:C
197   - y2r:u
198   - ldr:ro
199   - ir:USER
200   - ir:u
201   - csnd:SND
202  
203   
204SystemControlInfo:
205  SaveDataSize: 0KB # It doesn't use any save data.
206  RemasterVersion: 2
207  StackSize: 0x40000
208  # JumpId: 0
209  Dependency: 
210    ac: 0x0004013000002402L
211    am: 0x0004013000001502L
212    boss: 0x0004013000003402L
213    camera: 0x0004013000001602L
214    cecd: 0x0004013000002602L
215    cfg: 0x0004013000001702L
216    codec: 0x0004013000001802L
217    csnd: 0x0004013000002702L
218    dlp: 0x0004013000002802L
219    dsp: 0x0004013000001a02L
220    friends: 0x0004013000003202L
221    gpio: 0x0004013000001b02L
222    gsp: 0x0004013000001c02L
223    hid: 0x0004013000001d02L
224    http: 0x0004013000002902L
225    i2c: 0x0004013000001e02L
226    ir: 0x0004013000003302L
227    mcu: 0x0004013000001f02L
228    mic: 0x0004013000002002L
229    ndm: 0x0004013000002b02L
230    news: 0x0004013000003502L
231    nim: 0x0004013000002c02L
232    nwm: 0x0004013000002d02L
233    pdn: 0x0004013000002102L
234    ps: 0x0004013000003102L
235    ptm: 0x0004013000002202L
236    ro: 0x0004013000003702L
237    socket: 0x0004013000002e02L
238    spi: 0x0004013000002302L
239    ssl: 0x0004013000002f02L