Difference between revisions of "MIC Services"

From 3dbrew
Jump to navigation Jump to search
Line 14: Line 14:
 
| 0x00030140
 
| 0x00030140
 
| (u8 unk0, u8 unk1, u32 unk2, u32 offset, u8 unk3) ? (input offset = offset where the offset field is located in sharedmem, normally sharedmemsize-4)
 
| (u8 unk0, u8 unk1, u32 unk2, u32 offset, u8 unk3) ? (input offset = offset where the offset field is located in sharedmem, normally sharedmemsize-4)
 +
|-
 +
| 0x00040040
 +
| (u8 input) ?
 
|-
 
|-
 
| 0x00050000
 
| 0x00050000
Line 20: Line 23:
 
| 0x00060000
 
| 0x00060000
 
| This writes an unknown output u8 to cmdreply indexword[2].
 
| This writes an unknown output u8 to cmdreply indexword[2].
 +
|-
 +
| 0x00070000
 +
| This writes an unknown handle to the cmdreply output.
 
|-
 
|-
 
| 0x00080040
 
| 0x00080040
Line 29: Line 35:
 
| 0x000A0040
 
| 0x000A0040
 
| (u8 input) ?
 
| (u8 input) ?
 +
|-
 +
| 0x000B0000
 +
| This writes an unknown output u8 to cmdreply indexword[2].
 
|-
 
|-
 
| 0x000C0042
 
| 0x000C0042
 
| (size, [[IPC Command Structure|<translate-header>]], bufptr) ?
 
| (size, [[IPC Command Structure|<translate-header>]], bufptr) ?
 +
|-
 +
| 0x000D0040
 +
| (u8 input) ?
 +
|-
 +
| 0x000E0000
 +
| This writes an unknown output u8 to cmdreply indexword[2].
 +
|-
 +
| 0x000F0040
 +
| (u8 input) ?
 
|-
 
|-
 
| 0x00100040
 
| 0x00100040

Revision as of 23:27, 31 August 2014

Microphone service "mic:u"

Command Header Description
0x00010042 (u32 sharedmemsize, val0, Handle sharedmem_handle)
0x00020000 ?
0x00030140 (u8 unk0, u8 unk1, u32 unk2, u32 offset, u8 unk3) ? (input offset = offset where the offset field is located in sharedmem, normally sharedmemsize-4)
0x00040040 (u8 input) ?
0x00050000 ?
0x00060000 This writes an unknown output u8 to cmdreply indexword[2].
0x00070000 This writes an unknown handle to the cmdreply output.
0x00080040 (u8 input) ?
0x00090000 This writes an unknown output u8 to cmdreply indexword[2].
0x000A0040 (u8 input) ?
0x000B0000 This writes an unknown output u8 to cmdreply indexword[2].
0x000C0042 (size, <translate-header>, bufptr) ?
0x000D0040 (u8 input) ?
0x000E0000 This writes an unknown output u8 to cmdreply indexword[2].
0x000F0040 (u8 input) ?
0x00100040 (u32 input) ?

This is an interface for using the MIC hardware via the "cdc:MIC" service and the MIC IO registers.

Only one session can be open for this service total(that is, only one process can use this service at a time).

See Also

MIC Shared Memory