all repos — mgba @ 7f904876f57d862dfeea232c3591d27cb6f39c0c

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