1 --- emu-tools-0.9.4/as10k1/as10k1.c.orig Sun Jan 20 03:00:16 2002
2 +++ emu-tools-0.9.4/as10k1/as10k1.c Mon Sep 1 11:42:46 2003
5 char version[]="As10k1 assembler version 1.0";
8 -Usage: as10k1 [option...] asmfile
10 -The as10k1 assembler is for the emu10k1 dsp processor
11 -found in Creative Lab's sblive series of sound cards.
13 -Author: Daniel Bertrand <d.bertrand@ieee.org>
14 -BUGS: emu10k1-devel mailing list <emu10k1-devel@opensource.creative.com>
15 -URLs: members.home.com/d-bertrand, opensource.creative.com
18 - -l [listfile] Specify a listing file, default is none.
19 - -o [binfile] Specify an output file, default is based input,
20 - Substituting .asm fo .bin
21 - -d [dbg_options...] Turn on debug messages.
22 - s prints all symbols
23 - g prints defined gprs
25 - i prints instructions
27 - -n no gpr declaration check
28 - -h Prints this message
29 - -v Prints version number.
31 -This program is distributed under the GPL.
34 +Usage: as10k1 [option...] asmfile\n\
36 +The as10k1 assembler is for the emu10k1 dsp processor\n\
37 +found in Creative Lab's sblive series of sound cards.\n\
39 +Author: Daniel Bertrand <d.bertrand@ieee.org>\n\
40 +BUGS: emu10k1-devel mailing list <emu10k1-devel@opensource.creative.com>\n\
41 +URLs: members.home.com/d-bertrand, opensource.creative.com\n\
44 + -l [listfile] Specify a listing file, default is none.\n\
45 + -o [binfile] Specify an output file, default is based input,\n\
46 + Substituting .asm fo .bin\n\
47 + -d [dbg_options...] Turn on debug messages.\n\
48 + s prints all symbols\n\
49 + g prints defined gprs\n\
50 + t prints tram usage\n\
51 + i prints instructions\n\
53 + -n no gpr declaration check\n\
54 + -h Prints this message\n\
55 + -v Prints version number.\n\
57 +This program is distributed under the GPL.\n\
61 // cli==Command-Line Interface && !Creative Labs Inc.
62 --- emu-tools-0.9.4/mixer/lib/debug.c.orig Sun Jan 20 03:00:16 2002
63 +++ emu-tools-0.9.4/mixer/lib/debug.c Mon Sep 1 11:44:24 2003
71 -GPRS: %d (last used is %d)
83 +GPRS: %d (last used is %d)\n\
93 mgr->code_free_start/2, j,k,
94 mgr->traml_ifree_start, mgr->tramb_ifree_start,
95 --- emu-tools-0.9.4/dbgemu/dbgemu.h.orig Sun Jan 20 03:00:16 2002
96 +++ emu-tools-0.9.4/dbgemu/dbgemu.h Mon Sep 1 11:46:42 2003
98 "R=log(A), X controls max exponent(2-31), Y controls sign",
99 "R=log(A), X controls max exponent(2-31), Y controls sign",
100 "INTERP R = A + (X * (Y - A) >> 31); overflow: saturation",
101 - "SKIP R->GPR to store CCR, A -> CCR to use, X-> skip test equation,
102 + "SKIP R->GPR to store CCR, A -> CCR to use, X-> skip test equation,\n\
103 Y-> gpr containint number of instructions to skip"
108 -char map[]="memory map:
111 -ITRAM Data Buffer: 0x200-0x27F
112 -XTRAM Data Buffer: 0x280-0x29F
113 -ITRAM Address Buffer: 0x300-0x37F
114 -XTRAM Address Buffer: 0x380-0x39F
115 -Program Memory: 0x400-0x600
116 +char map[]="memory map:\n\
118 +GRPS: 0x100-0x1FF\n\
119 +ITRAM Data Buffer: 0x200-0x27F\n\
120 +XTRAM Data Buffer: 0x280-0x29F\n\
121 +ITRAM Address Buffer: 0x300-0x37F\n\
122 +XTRAM Address Buffer: 0x380-0x39F\n\
123 +Program Memory: 0x400-0x600\n\
131 - -d dumps registers, sub-options:
134 - dumps contents of the AC97 register at the given address
137 - dumps contents of the DSP register at the given address.
138 - valid ranges of register:
139 - CONFIG REGS 0x000-0x063
141 - ITRAM Data Buffer: 0x200-0x27F
142 - XTRAM Data Buffer: 0x280-0x29F
143 - ITRAM Address Buffer: 0x300-0x37F
144 - XTRAM Address Buffer: 0x380-0x39F
145 - Program Memory: 0x400-0x600
147 - dumps \"function0\" register space(includes the HCFG register)
150 - -l loads values into register, sub-options:
152 - -a <address> <value>
153 - load value into given ac97 register
155 - -c <address> <opcode> <R> <A>
156 - load formated dsp code
158 - -r <address> <value>
159 - load value into given dsp register
161 - -f <address> <value>
162 - load value into given fn0 register
165 - If no command is specified, prints current dsp debug state.
166 - Debug mode commands:
171 - step [instruction #]
172 - executes given instruction, if no instruction is specified,
173 - esecutes next instruction
176 - clears the \"saturation occured\" bit.
179 - resumes normal dsp operation.
181 - -h Prints this help message.
182 - -v Prints version number.
188 -To display 10 GPRs starting from 0x100:
192 -To load a value of 1 to 0x100:
196 -To change an instruction:
198 -dbgemu -l c 400 macs 10 30 100 20
205 +All values in hex.\n\
207 + -d dumps registers, sub-options:\n\
210 + dumps contents of the AC97 register at the given address\n\
213 + dumps contents of the DSP register at the given address.\n\
214 + valid ranges of register:\n\
215 + CONFIG REGS 0x000-0x063\n\
216 + GRPS: 0x100-0x1FF\n\
217 + ITRAM Data Buffer: 0x200-0x27F\n\
218 + XTRAM Data Buffer: 0x280-0x29F\n\
219 + ITRAM Address Buffer: 0x300-0x37F\n\
220 + XTRAM Address Buffer: 0x380-0x39F\n\
221 + Program Memory: 0x400-0x600\n\
223 + dumps \"function0\" register space(includes the HCFG register)\n\
226 + -l loads values into register, sub-options:\n\
228 + -a <address> <value>\n\
229 + load value into given ac97 register\n\
231 + -c <address> <opcode> <R> <A> \n\
232 + load formated dsp code\n\
234 + -r <address> <value>\n\
235 + load value into given dsp register\n\
237 + -f <address> <value>\n\
238 + load value into given fn0 register\n\
241 + If no command is specified, prints current dsp debug state.\n\
242 + Debug mode commands:\n\
245 + turns on step mode\n\
247 + step [instruction #]\n\
248 + executes given instruction, if no instruction is specified,\n\
249 + esecutes next instruction\n\
252 + clears the \"saturation occured\" bit.\n\
255 + resumes normal dsp operation.\n\
257 + -h Prints this help message.\n\
258 + -v Prints version number.\n\
264 +To display 10 GPRs starting from 0x100:\n\
266 +dbgemu -d r 100 10\n\
268 +To load a value of 1 to 0x100:\n\
270 +dbgemu -l r 100 1\n\
272 +To change an instruction:\n\
274 +dbgemu -l c 400 macs 10 30 100 20\n\
280 char version[]="dbgemu, version 0.3";
281 --- emu-tools-0.9.4/dbgemu/dbgemu.c.orig Sun Jan 20 03:00:16 2002
282 +++ emu-tools-0.9.4/dbgemu/dbgemu.c Mon Sep 1 11:47:18 2003
283 @@ -265,12 +265,12 @@
284 step_mode_on=(val&DBG_SINGLE_STEP)>>15 ;
287 - printf("----------------------------------------------------------------------------
288 -|Emu10k1 Status | Debug register 0x%08x |
289 -|----------------------------------------------------------------------------|
290 -| single step mode: \e[1;31mON\e[0m Saturation: %s\e[0m; Last addr: 0x%03x (0x%03x) |
291 -| program pointer: 0x%03x (0x%03x) Condition code: 0x%02x -> %s\e[0m %s\e[0m %s\e[0m %s\e[0m %s\e[0m |
292 - -----------------------------------------------------------------------------
293 + printf("----------------------------------------------------------------------------\n\
294 +|Emu10k1 Status | Debug register 0x%08x |\n\
295 +|----------------------------------------------------------------------------|\n\
296 +| single step mode: \e[1;31mON\e[0m Saturation: %s\e[0m; Last addr: 0x%03x (0x%03x) |\n\
297 +| program pointer: 0x%03x (0x%03x) Condition code: 0x%02x -> %s\e[0m %s\e[0m %s\e[0m %s\e[0m %s\e[0m |\n\
298 + -----------------------------------------------------------------------------\n\
302 @@ -292,12 +292,12 @@
306 - printf("-----------------------------------------------------------------------------
307 -|Emu10k1 Status | Debug register 0x%08x |
308 -|----------------------------------------------------------------------------|
309 -| single step mode: off Saturation: %s\e[0m; Last addr: 0x%03x (0x%03x) |
311 - ----------------------------------------------------------------------------
312 + printf("-----------------------------------------------------------------------------\n\
313 +|Emu10k1 Status | Debug register 0x%08x |\n\
314 +|----------------------------------------------------------------------------|\n\
315 +| single step mode: off Saturation: %s\e[0m; Last addr: 0x%03x (0x%03x) |\n\
317 + ----------------------------------------------------------------------------\n\
318 ", val, ((val&DBG_SATURATION_OCCURED)>>25)?"\e[1;31mYes ":"None",
319 (val&DBG_SATURATION_ADDR)>>16,
320 ((val&DBG_SATURATION_ADDR)>>16)*2+0x400
321 --- emu-tools-0.9.4/epache-0.1.4/emudsp.c.orig Wed Aug 22 23:04:21 2001
322 +++ emu-tools-0.9.4/epache-0.1.4/emudsp.c Mon Sep 1 11:49:24 2003
327 -char *dsp_in_name[NUM_INPUTS] = { "Pcm L", "Pcm R", "Pcm1 L", "Pcm1 R", "fx4
328 -", "fx5", "fx6", "fx7", "fx8",
329 +char *dsp_in_name[NUM_INPUTS] = { "Pcm L", "Pcm R", "Pcm1 L", "Pcm1 R", "fx4", "fx5", "fx6", "fx7", "fx8",
330 "fx9", "fx10", "fx11", "fx12", "fx13", "fx14", "fx15",
331 - "Analog L", "Analog R", "CD-Spdif L", "CD-Spdif R", "in2l", "in2r", "Opt
332 -. Spdif L", "Opt. Spdif R",
333 + "Analog L", "Analog R", "CD-Spdif L", "CD-Spdif R", "in2l", "in2r", "Opt. Spdif L", "Opt. Spdif R",
334 "RCA Aux L", "RCA Aux R", "RCA Spdif L", "RCA Spdif R", "Line2/Mic2 L",
335 "Line2/Mic2 R", "in7l", "in7r"
338 char *dsp_out_name[NUM_OUTPUTS] =
339 - { "Front L", "Front R", "Digital L", "Digital R", "out2l", "out2r", "Phones
341 - "Rear L", "Rear R", "ADC Rec L", "ADC Rec R", "Mic Rec", "out6r", "out7l
343 - "out8l", "out8r", "out9l", "out9r", "out10l", "out10r", "out11l", "out11
345 - "out12l", "out12r", "out13l", "out13r", "out14l", "out14r", "out15l", "o
347 + { "Front L", "Front R", "Digital L", "Digital R", "out2l", "out2r", "Phones L", "Phones R",
348 + "Rear L", "Rear R", "ADC Rec L", "ADC Rec R", "Mic Rec", "out6r", "out7l", "out7r",
349 + "out8l", "out8r", "out9l", "out9r", "out10l", "out10r", "out11l", "out11r",
350 + "out12l", "out12r", "out13l", "out13r", "out14l", "out14r", "out15l", "out15r"
354 --- emu-tools-0.9.4/epache-0.1.4/gtk.c.orig Wed Oct 24 06:49:01 2001
355 +++ emu-tools-0.9.4/epache-0.1.4/gtk.c Mon Sep 1 11:52:05 2003
356 @@ -204,15 +204,15 @@
357 gtk_window_set_title(>K_DIALOG(about)->window,"about");
360 - text=g_strdup_printf("epache\n
361 - a simple tool for emu10k1 based sound cards
364 - licensed under the GNU GPL
366 - Hubert Sokolowski <hsokolow2001@yahoo.com>
368 - http://www.yahoo.com/hsokolow2001/epache",VERSION);
369 + text=g_strdup_printf("epache\n"
370 + "a simple tool for emu10k1 based sound cards\n"
373 + "licensed under the GNU GPL\n"
375 + "Hubert Sokolowski <hsokolow2001@yahoo.com>\n"
377 + "http://www.yahoo.com/hsokolow2001/epache",VERSION);
378 label = gtk_label_new (text);
380 gtk_box_pack_start (GTK_BOX (GTK_DIALOG (about)->vbox),