[Skyeye-developer] test case for playing sound in SkyEye

Anthony Lee don.anthony.lee+program at gmail.com
Wed Mar 28 13:09:09 CST 2007


Hi all,

Here is the test case for playing sound in SkyEye by IIS of S3C44B0X simulation.
It only work on Window till now, and the speed of writing pcm data is
slower than
the actual action that system doing then you'll get the strange hearing.
I will improve that later.

Hope that anybody would be interested in adding device to SkyEye by extending
the registers for any purpose somewhat.

The test case is modified from scratch HelloWorld4Skyeye.

$ export PATH=/MinGW/arm-elf/bin:$PATH
$ tar jxvf 44b0x-iis-test.tar.bz2
$ cd 44b0x-iis-test
$ make
$ ./skyeye.exe -e iis-test

###### OUTPUT #######
$ ./skyeye.exe -e iis-test
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name s3c44b0x, mach_init addr 00417C24
uart_mod:0, desc_in:, desc_out:
sound: samples_per_sec: 22050.
dbct info: turn on dbct!
SKYEYE: use arm7100 mmu ops
Loaded RAM   ./big.wav
Loaded RAM   ./small.wav
dbct translate block use memory 0x03ffaadc bytes.
exec file "iis-test"'s format is elf32-little.
load section .text: addr = 0x0c000000  size = 0x0000040e.
load section .glue_7: addr = 0x0c000410  size = 0x00000000.
load section .glue_7t: addr = 0x0c000410  size = 0x00000000.
load section .data: addr = 0x0c002000  size = 0x00001000.
not load section .bss: addr = 0x0c003000  size = 0x00000000 .
not load section .comment: addr = 0x00000000  size = 0x00000012 .
start addr is set to 0x0c000000 by exec file.


 Test 1

******** Test IIS in SkyEye ********
Now playing the wave file,
Push any key to exit!!!

DMA flushing ...

 Test 2

******** Test IIS in SkyEye ********
Now playing the wave file,
Push any key to exit!!!

DMA flushing ...

Over...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 44b0x-iis-test.tar.bz2
Type: application/x-bzip2
Size: 1160485 bytes
Desc: not available
Url : http://lists.gro.clinux.org/pipermail/skyeye-developer/attachments/20070328/2e1b652e/44b0x-iis-test.tar-0001.bin


More information about the Skyeye-developer mailing list