Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
MorsGames
GitHub Repository: MorsGames/sm64plus
Path: blob/master/src/audio/shindou_debug_prints.c
7858 views
1
#include <ultra64.h>
2
3
#ifdef VERSION_SH
4
// synthesis.c
5
char shindouDebugPrint1[] = "Terminate-Canceled Channel %d,Phase %d\n";
6
char shindouDebugPrint2[] = "S->W\n";
7
char shindouDebugPrint3[] = "W->S\n";
8
char shindouDebugPrint4[] = "S-Resample Pitch %x (old %d -> delay %d)\n";
9
s32 shindouDebugPrintPadding1[] = {0,0,0};
10
11
// heap.c
12
char shindouDebugPrint5[] = "Warning:Kill Note %x \n";
13
char shindouDebugPrint6[] = "Kill Voice %d (ID %d) %d\n";
14
char shindouDebugPrint7[] = "Warning: Running Sequence's data disappear!\n";
15
char shindouDebugPrint8[] = "%x %x %x\n";
16
char shindouDebugPrint9[] = "Audio:Memory:Heap OverFlow : Not Allocate %d!\n";
17
char shindouDebugPrint10[] = "%x %x %x\n"; // Again
18
char shindouDebugPrint11[] = "Audio:Memory:Heap OverFlow : Not Allocate %d!\n"; // Again
19
char shindouDebugPrint12[] = "Audio:Memory:DataHeap Not Allocate \n";
20
char shindouDebugPrint13[] = "StayHeap Not Allocate %d\n";
21
char shindouDebugPrint14[] = "AutoHeap Not Allocate %d\n";
22
char shindouDebugPrint15[] = "Status ID0 : %d ID1 : %d\n";
23
char shindouDebugPrint16[] = "id 0 is Stopping\n";
24
char shindouDebugPrint17[] = "id 0 is Stop\n";
25
char shindouDebugPrint18[] = "id 1 is Stopping\n";
26
char shindouDebugPrint19[] = "id 1 is Stop\n";
27
char shindouDebugPrint20[] = "WARNING: NO FREE AUTOSEQ AREA.\n";
28
char shindouDebugPrint21[] = "WARNING: NO STOP AUTO AREA.\n";
29
char shindouDebugPrint22[] = " AND TRY FORCE TO STOP SIDE \n";
30
char shindouDebugPrint23[] = "Check ID0 (seq ID %d) Useing ...\n";
31
char shindouDebugPrint24[] = "Check ID1 (seq ID %d) Useing ...\n";
32
char shindouDebugPrint25[] = "No Free Seq area.\n";
33
char shindouDebugPrint26[] = "CH %d: ID %d\n";
34
char shindouDebugPrint27[] = "TWO SIDES ARE LOADING... ALLOC CANCELED.\n";
35
char shindouDebugPrint28[] = "WARNING: Before Area Overlaid After.";
36
char shindouDebugPrint29[] = "WARNING: After Area Overlaid Before.";
37
char shindouDebugPrint30[] = "MEMORY:SzHeapAlloc ERROR: sza->side %d\n";
38
char shindouDebugPrint31[] = "Audio:MEMORY:SzHeap Overflow error. (%d bytes)\n";
39
char shindouDebugPrint32[] = "Auto Heap Unhit for ID %d\n";
40
char shindouDebugPrint33[] = "Heap Reconstruct Start %x\n";
41
char shindouDebugPrint34[] = "---------------------------------------TEMPO %d %f\n";
42
char shindouDebugPrint35[] = "%f \n";
43
char shindouDebugPrint36[] = "%f \n"; // Again
44
char shindouDebugPrint37[] = "AHPBASE %x\n";
45
char shindouDebugPrint38[] = "AHPCUR %x\n";
46
char shindouDebugPrint39[] = "HeapTop %x\n";
47
char shindouDebugPrint40[] = "SynoutRate %d / %d \n";
48
char shindouDebugPrint41[] = "FXSIZE %d\n";
49
char shindouDebugPrint42[] = "FXCOMP %d\n";
50
char shindouDebugPrint43[] = "FXDOWN %d\n";
51
char shindouDebugPrint44[] = "WaveCacheLen: %d\n";
52
char shindouDebugPrint45[] = "SpecChange Finished\n";
53
char shindouDebugPrint46[] = "Warning:Emem Over,not alloc %d\n";
54
char shindouDebugPrint47[] = "Single AutoSize %d\n";
55
char shindouDebugPrint48[] = "Single Ptr %x\n";
56
char shindouDebugPrint49[] = "Request--------Single-Auto, %d\n";
57
char shindouDebugPrint50[] = "Retry %x, %x, len %x\n";
58
char shindouDebugPrint51[] = "DMAing list %d is killed.\n";
59
char shindouDebugPrint52[] = "Try Kill %d \n";
60
char shindouDebugPrint53[] = "Try Kill %x %x\n";
61
char shindouDebugPrint54[] = "Try Kill %x %x %x\n";
62
char shindouDebugPrint55[] = "Rom back %x %x \n";
63
char shindouDebugPrint56[] = "Error sw NULL \n";
64
char shindouDebugPrint57[] = "Request--------Single-Stay, %d\n";
65
char shindouDebugPrint58[] = "Try Kill %d \n";
66
char shindouDebugPrint59[] = "Try Kill %x %x\n";
67
char shindouDebugPrint60[] = "Try Kill %x %x %x\n";
68
s32 shindouDebugPrintPadding[] = {0, 0, 0};
69
70
// load.c
71
char shindouDebugPrint61[] = "CAUTION:WAVE CACHE FULL %d";
72
char shindouDebugPrint62[] = "SUPERDMA";
73
char shindouDebugPrint63[] = "Bank Change... top %d lba %d\n";
74
char shindouDebugPrint64[] = "BankCount %d\n";
75
char shindouDebugPrint65[] = "BANK LOAD MISS! FOR %d\n";
76
char shindouDebugPrint66[] = "BankCount %d\n";
77
char shindouDebugPrint67[] = "Flush Start\n";
78
char shindouDebugPrint68[] = "%d ->%d\n";
79
char shindouDebugPrint69[] = "useflag %d\n";
80
char shindouDebugPrint70[] = "BankCount %d\n";
81
char shindouDebugPrint71[] = "%2x ";
82
char shindouDebugPrint72[] = "StartSeq (Group %d,Seq %d) Process finish\n";
83
char shindouDebugPrint73[] = "LoadCtrl, Ptr %x and Media is %d\n";
84
char shindouDebugPrint74[] = "Load Bank, Type %d , ID %d\n";
85
char shindouDebugPrint75[] = "get auto\n";
86
char shindouDebugPrint76[] = "get s-auto %x\n";
87
char shindouDebugPrint77[] = "Seq %d Write ID OK %d!\n";
88
char shindouDebugPrint78[] = "Banknumber %d\n";
89
char shindouDebugPrint79[] = "Bank Offset %x %d %d\n";
90
char shindouDebugPrint80[] = "PEP Touch %x \n";
91
char shindouDebugPrint81[] = "FastCopy";
92
char shindouDebugPrint82[] = "FastCopy";
93
char shindouDebugPrint83[] = "Error: Cannot DMA Media [%d]\n";
94
char shindouDebugPrint84[] = "Warning: size not align 16 %x (%s)\n";
95
char shindouDebugPrint85[] = "Load Bank BG, Type %d , ID %d\n";
96
char shindouDebugPrint86[] = "get auto\n";
97
char shindouDebugPrint87[] = "get s-auto %x\n";
98
char shindouDebugPrint88[] = "Clear Workarea %x -%x size %x \n";
99
char shindouDebugPrint89[] = "AudioHeap is %x\n";
100
char shindouDebugPrint90[] = "Heap reset.Synth Change %x \n";
101
char shindouDebugPrint91[] = "Heap %x %x %x\n";
102
char shindouDebugPrint92[] = "Main Heap Initialize.\n";
103
char shindouDebugPrint93[] = "%d :WaveA %d WaveB %d Inst %d,Perc %d\n";
104
char shindouDebugPrint94[] = "---------- Init Completed. ------------\n";
105
char shindouDebugPrint95[] = " Syndrv :[%6d]\n";
106
char shindouDebugPrint96[] = " Seqdrv :[%6d]\n";
107
char shindouDebugPrint97[] = " audiodata :[%6d]\n";
108
char shindouDebugPrint98[] = "---------------------------------------\n";
109
char shindouDebugPrint99[] = "Entry--- %d %d\n";
110
char shindouDebugPrint100[] = "---Block LPS here\n";
111
char shindouDebugPrint101[] = "===Block LPS end\n";
112
char shindouDebugPrint102[] = "SLOWCOPY";
113
char shindouDebugPrint103[] = "Req: Src %x Dest %x Len %x,media %d,retcode %d\n";
114
char shindouDebugPrint104[] = "Remain Size %d\n";
115
char shindouDebugPrint105[] = "---Block BG here\n";
116
char shindouDebugPrint106[] = "===Block BG end\n";
117
char shindouDebugPrint107[] = "Retcode %x\n";
118
char shindouDebugPrint108[] = "Other Type: Not Write ID.\n";
119
char shindouDebugPrint109[] = "BGLOAD:Error: dma length 0\n";
120
char shindouDebugPrint110[] = "BGCOPY";
121
char shindouDebugPrint111[] = "Error: Already wavetable is touched %x.\n";
122
char shindouDebugPrint112[] = "Touch Warning: Length zero %x\n";
123
char shindouDebugPrint113[] = "It's busy now!!!!! %d\n"; // This one's my favorite
124
char shindouDebugPrint114[] = "BG LOAD BUFFER is OVER.\n";
125
char shindouDebugPrint115[] = "Warning: Length zero %x\n";
126
char shindouDebugPrint116[] = "Wave Load %d \n";
127
char shindouDebugPrint117[] = "Total Bg Wave Load %d \n";
128
char shindouDebugPrint118[] = "Receive %d\n";
129
char shindouDebugPrint119[] = "============Error: Magic is Broken after loading.\n";
130
char shindouDebugPrint120[] = "Remain DMA: %d\n";
131
char shindouDebugPrint121[] = "N start %d\n";
132
char shindouDebugPrint122[] = "============Error: Magic is Broken: %x\n";
133
char shindouDebugPrint123[] = "Error: No Handle.\n";
134
char shindouDebugPrint124[] = "Success: %x\n";
135
136
// port_eu.c
137
char shindouDebugPrint125[] = "DAC:Lost 1 Frame.\n";
138
char shindouDebugPrint126[] = "DMA: Request queue over.( %d )\n";
139
char shindouDebugPrint127[] = "Spec Change Override. %d -> %d\n";
140
char shindouDebugPrint128[] = "Audio:now-max tasklen is %d / %d\n";
141
char shindouDebugPrint129[] = "Audio:Warning:ABI Tasklist length over (%d)\n";
142
s32 D_SH_80314FC8 = 0x80;
143
struct SPTask *D_SH_80314FCC = NULL;
144
char shindouDebugPrint130[] = "BGLOAD Start %d\n";
145
char shindouDebugPrint131[] = "Error: OverFlow Your Request\n";
146
char shindouDebugPrint132[] = "---AudioSending (%d->%d) \n";
147
// These continue in unk_shindou_audio_file.c
148
#endif
149
150