-
Notifications
You must be signed in to change notification settings - Fork 0
/
ghidra_temp.h
195 lines (195 loc) · 5.71 KB
/
ghidra_temp.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
enum SIF_RPC_COMMAND {
rSpuSetTransferCallback = 0x8100,
rSpuSetIRQCallback = 0x8200,
rSpuStSetPreparationFinishedCallback = 0x8300,
rSpuStSetTransferFinishedCallback = 0x8400,
rSpuStSetStreamFinishedCallback = 0x8500,
rSpuAutoDMASetCallback = 0x8600,
rSpuGetCommonAttr = 0x6128,
rSpuGetVoiceAttr = 0x6240,
rSpuGetReverbModeParam = 0x6314,
rSpuGetAllKeysStatus = 0x6418,
rSpuSetCommonAttr = 0x7128,
rSpuSetVoiceAttr = 0x7240,
rSpuSetReverbModeParam = 0x7314,
rSpuSetKeyOnWithAttr = 0x7440,
rSpuSetEnv = 0x7508,
rSpuSetMultiVoiceAttr = 0x7600,
_rSpuInit = 0x01,
rSpuSetCore = 0x02,
rSpuSetKey = 0x05,
rSpuSetReverb = 0x06,
rSpuClearReverbWorkArea = 0x07,
rSpuSetReverbEndAddr = 0x08,
rSpuSetReverbModeDepth = 0x0a,
rSpuSetReverbVoice = 0x0b,
rSpuSetIRQ = 0x0c,
rSpuSetIRQAddr = 0x0d,
rSpuSetTransferMode = 0x0e,
rSpuSetTransferStartAddr = 0x10,
rSpuWrite = 0x11,
rSpuWrite0 = 0x12,
rSpuIsTransferCompleted = 0x13,
rSpuQuit = 0x14,
rSpuGetReverbEndAddr = 0x17,
rSpuWritePartly = 0x18,
rSpuInitHot = 0x19,
rSpuIsReverbWorkAreaReserved = 0x1a,
rSpuMallocWithStartAddr = 0x1b,
rSpuRead = 0x1c,
rSpuReadDecodedData = 0x1d,
rSpuReserveReverbWorkArea = 0x1e,
rSpuSetMute = 0x20,
rSpuSetNoiseClock = 0x21,
rSpuSetNoiseVoice = 0x22,
rSpuSetPitchLFOVoice = 0x23,
rSpuStGetStatus = 0x24,
rSpuStGetVoiceStatus = 0x25,
rSpuInitMalloc = 0x0100,
rSpuMalloc = 0x0101,
rSpuStInit = 0x0200,
rSpuStQuit = 0x0201,
rSpuStTransfer = 0x0202,
rSpuStSetCore = 0x0203,
rSpuGetCore = 0x1002,
rSpuGetIRQAddr = 0x100c,
rSpuFlush = 0x1010,
rSpuFree = 0x1011,
rSpuGetIRQ = 0x1013,
rSpuGetMute = 0x1014,
rSpuGetNoiseClock = 0x1015,
rSpuGetNoiseVoice = 0x1016,
rSpuGetPitchLFOVoice = 0x1017,
rSpuGetReverb = 0x1018,
rSpuGetReverbVoiceb = 0x1019,
rSpuGetTransferMode = 0x101a,
rSpuGetTransferStartAddr = 0x101b,
rSpuGetKeyStatus = 0x101c,
rSpuAutoDMAWrite = 0x1020,
rSpuAutoDMAStop = 0x1021,
rSpuAutoDMAGetStatus = 0x1022,
rSpuSetAutoDMAAttr = 0x1023,
rSpuSetSerialInAttr = 0x1024,
rSpuSetMultiVoiceNum = 0x1030,
rSpuSetDigitalOut = 0x1031,
rSpuSetDigialOut = 0x1031,
rSpuSetDegialOut = 0x1031,
rSsAllocateVoices = 0x400a,
rSsBlockVoiceAllocation = 0x4001,
rSsEnd = 0x4002,
rSsChannelMute = 0x4003,
rSsGetActualProgFromProg = 0x4004,
rSsGetChannelMute = 0x4005,
rSsGetCurrentPoint = 0x4006,
rSsGetVoiceMask = 0x4007,
rSsInit = 0x4008,
rSsIsEos = 0x4009,
rSsPitchCorrect = 0x4010,
rSsPitchFromNote = 0x4011,
rSsPlayBack = 0x4012,
rSsQueueKeyOn = 0x4013,
rSsQueueReverb = 0x4014,
rSsQuit = 0x4015,
rSsSetTableSize = 0x4017,
rSsSetTickMode = 0x4018,
rSsSepClose = 0x4019,
rSsSepOpen = 0x4020,
rSsSepPause = 0x4021,
rSsSepPlay = 0x4022,
rSsSepReplay = 0x4023,
rSsSepSetAccelerando = 0x4024,
rSsSepSetCrescendo = 0x4025,
rSsSepSetDecrescendo = 0x4026,
rSsSepSetRitardando = 0x4027,
rSsSepSetVol = 0x4028,
rSsSepStop = 0x4029,
rSsSeqGetVol = 0x4030,
rSsSeqOpen = 0x4031,
rSsSeqPause = 0x4032,
rSsSeqPlayPtoP = 0x4033,
rSsSeqReplay = 0x4034,
rSsSeqSetAccelerando = 0x4035,
rSsSeqSetCrescendo = 0x4036,
rSsSeqSetDecrescendo = 0x4037,
rSsSeqSetRitardando = 0x4038,
rSsSeqSetNext = 0x4039,
rSsSeqCalledTbyT = 0x4040,
rSsSeqClose = 0x4041,
rSsSeqPlay = 0x4042,
rSsSeqSetVol = 0x4043,
rSsSeqSkip = 0x4044,
rSsSeqStop = 0x4045,
rSsSetAutoKeyOffMode = 0x4046,
rSsSetCurrentPoint = 0x4047,
rSsSetLoop = 0x4048,
rSsSetMono = 0x4049,
rSsSetMVol = 0x404a,
rSsSetNext = 0x4050,
rSsSetReservedVoice = 0x4051,
rSsSetStereo = 0x4052,
rSsSetTempo = 0x4053,
rSsSetVoiceMask = 0x4054,
rSsStart = 0x4055,
rSsStart2 = 0x4056,
rSsUnBlockVoiceAllocation = 0x4057,
rSsUtFlush = 0x4058,
rSsUtGetVagAddr = 0x4059,
rSsUtGetVagAddrFromTone = 0x4060,
rSsUtGetVBaddrInSB = 0x4061,
rSsVabClose = 0x4062,
rSsVabOpenHead = 0x4063,
rSsVabOpenHeadSticky = 0x4070,
rSsVabTransBodyPartly = 0x4064,
rSsVabTransCompleted = 0x4065,
rSsVabTransBody = 0x4066,
rSsVoiceCheck = 0x4067,
rSsVoKeyOff = 0x4068,
rSsVoKeyOn = 0x4069,
rSdInit = 0x8000,
rSdSetParam = 0x8010,
rSdGetParam = 0x8020,
rSdSetSwitch = 0x8030,
rSdGetSwitch = 0x8040,
rSdSetAddr = 0x8050,
rSdGetAddr = 0x8060,
rSdSetCoreAttr = 0x8070,
rSdGetCoreAttr = 0x8080,
rSdNote2Pitch = 0x8090,
rSdPitch2Note = 0x80a0,
rSdProcBatch = 0x80b0,
rSdProcBatchEx = 0x80c0,
rSdVoiceTrans = 0x80d0,
rSdBlockTrans = 0x80e0,
rSdVoiceTransStatus = 0x80f0,
rSdBlockTransStatus = 0x8100,
rSdSetTransCallback = 0x8110,
rSdSetIRQCallback = 0x8120,
rSdSetEffectAttr = 0x8130,
rSdGetEffectAttr = 0x8140,
rSdClearEffectWorkArea = 0x8150,
rSdSetTransIntrHandler = 0x8160,
rSdSetSpu2IntrHandler = 0x8170,
rSdStopTrans = 0x8180,
rSdCleanEffectWorkArea = 0x8190,
rSdSetEffectMode = 0x81a0,
rSdSetEffectModeParams = 0x81b0,
rSdProcBatch2 = 0x81c0,
rSdProcBatchEx2 = 0x81d0,
rSdChangeThreadPriority = 0x8f10,
rSdUserCommand0 = 0x9000,
rSdUserCommand1 = 0x9010,
rSdUserCommand2 = 0x9020,
rSdUserCommand3 = 0x9030,
rSdUserCommand4 = 0x9040,
rSdUserCommand5 = 0x9050,
rSdUserCommand6 = 0x9060,
rSdUserCommand7 = 0x9070,
rSdUserCommand8 = 0x9080,
rSdUserCommand9 = 0x9090,
rSdUserCommandA = 0x90a0,
rSdUserCommandB = 0x90b0,
rSdUserCommandC = 0x90c0,
rSdUserCommandD = 0x90d0,
rSdUserCommandE = 0x90e0,
rSdUserCommandF = 0x90f0
};