on PC I've never had ANY problem with VBA with neither graphics nor sounds...
the phone can actually beat the pc..with my intructions to activate the turbo modeX2 is very fast plus in addition i have 5 mode settings for the speed it means a bit more faster than turboX2 mode...i play need for speed,tony,a lot more games with the codes hehe...the only thing i want is rebuilt the sound.....
also add the option for the speed and save thats the only thing i want to be add
http://coldstorage.spruz.com
Home of Motorola Files and links
on PC I've never had ANY problem with VBA with neither graphics nor sounds...
Cool.
alebm, can you share source code?
of course, the necessary patch files for sdl version 1.2.7 are in http://www.inf.ufsc.br/~alebm/ezx/
apply all patchs, ezx patch at last...
I'm using gcc 3.3.6 from dev-ezx-2.0, remember to set EZX_BASE with your path to dev-ezx dir(the one that contains ./include/qt and ./include/ezx, ./lib and ./lib/ezx/lib)
mine SDL configure line(long long hehe):
--host=xscale-linux --disable-debug --enable-cdrom --enable-threads --enable-timers --enable-endian --enable-file --enable-oss --disable-alsa --disable-esd --disable-arts --disable-diskaudio --disable-nas --disable-esd-shared --disable-esdtest --disable-mintaudio --disable-nasm --disable-video-x11 --disable-video-dga --disable-video-fbcon --disable-video-directfb --disable-video-ps2gs --disable-video-xbios --disable-video-gem --disable-video-dummy --disable-video-opengl --enable-input-events --enable-pthreads --disable-video-picogui --enable-video-qtopia --enable-dlopen
When I have time I will clean up the mess and create the ezx branch.
qtopia include not find! EZX_BASE=/opt/ezx(/ezx/include/qt and /ezx/include/ezx is exist), maybe my qtopia head file copy from err, which version is your qtopia?
I do not use qtopia, i hacked the configure file to use ezx instead.
Are you using dev-ezx includes?
EZX_BASE points to the path that contains include/ezx and include/qt, include/ezx must have zapplication.h and include/qt qapplication.h.
The same for lib directory, lib/ezx/lib must contain the phone libs(that came from the phone, not from montavista sdk)
if you wanna use things from montavista sdk you should modify configure file with the proper paths
@alebm
i'm using dev-ezx-0.2.0 with ezx-crosstool-0.5 to compile SDL 1.2.7 with you patches. I get the required header files from the two original_kernel versions (http://prdownloads.sourceforge.net/e680/) and copied to src/audio and src/misc. The configure it's being executed with your parameters. I'm getting this error:
In file included from ezx-common.h:29,
from SDL_audio.c:130:
ezx-e680.h:171: error: syntax error before "pm_request_t"
ezx-e680.h:171: warning: `struct pm_dev' declared inside parameter list
ezx-e680.h:171: warning: its scope is only this definition or declaration, which is probably not what you want
In file included from SDL_audio.c:131:
ezx-audio.h:62: error: syntax error before "pxa_dma_desc"
ezx-audio.h:62: warning: no semicolon at end of struct or union
ezx-audio.h:64: error: syntax error before '}' token
ezx-audio.h:64: warning: type defaults to `int' in declaration of `audio_buf_t'
ezx-audio.h:64: warning: data definition has no type or storage class
ezx-audio.h:68: error: syntax error before "audio_buf_t"
ezx-audio.h:68: warning: no semicolon at end of struct or union
ezx-audio.h:74: error: syntax error before "dma_desc_phys"
ezx-audio.h:74: warning: type defaults to `int' in declaration of `dma_desc_phys'
ezx-audio.h:74: warning: data definition has no type or storage class
ezx-audio.h:80: error: syntax error before "frag_wq"
ezx-audio.h:80: warning: type defaults to `int' in declaration of `frag_wq'
ezx-audio.h:80: warning: data definition has no type or storage class
ezx-audio.h:81: error: syntax error before "stop_wq"
ezx-audio.h:81: warning: type defaults to `int' in declaration of `stop_wq'
ezx-audio.h:81: warning: data definition has no type or storage class
ezx-audio.h:85: error: syntax error before ':' token
ezx-audio.h:86: error: syntax error before ':' token
ezx-audio.h:87: warning: type defaults to `int' in declaration of `audio_stream_t'
ezx-audio.h:87: warning: data definition has no type or storage class
ezx-audio.h:90: error: syntax error before "audio_stream_t"
ezx-audio.h:90: warning: no semicolon at end of struct or union
ezx-audio.h:91: warning: type defaults to `int' in declaration of `input_stream'
ezx-audio.h:91: warning: data definition has no type or storage class
ezx-audio.h:93: error: syntax error before ':' token
ezx-audio.h:94: error: syntax error before ':' token
ezx-audio.h:97: warning: `struct file' declared inside parameter list
ezx-audio.h:97: warning: `struct inode' declared inside parameter list
ezx-audio.h:100: error: syntax error before '}' token
ezx-audio.h:100: warning: type defaults to `int' in declaration of `audio_state_t'
ezx-audio.h:100: warning: data definition has no type or storage class
ezx-audio.h:103: error: syntax error before "audio_state_t"
ezx-audio.h:103: warning: `struct file' declared inside parameter list
ezx-audio.h:103: warning: `struct inode' declared inside parameter list
ezx-audio.h:106: warning: `struct pt_regs' declared inside parameter list
ezx-audio.h:107: warning: `struct pt_regs' declared inside parameter list
ezx-audio.h:108: warning: `struct file' declared inside parameter list
ezx-audio.h:108: warning: `struct inode' declared inside parameter list
ezx-audio.h:99: error: storage size of `sem' isn't known
make[1]: *** [SDL_audio.lo] Error 1
what cross-compile environment are you using ?
You know what's happening ?
Thank you.
Yes I know... as I said before, this code have to be cleaned up hehe
I used modified headers files from a sample that I have done to activate audio output, it's just comment out some lines, remove some useless(at least for this hehe) structs... I posted this sample code a long ago, but to easy things I am uploading the files to the same url that patch files are stored.
In future releases the low level audio parts will be moved to a kernel module, so these headers will not be required.
I will start a thread in development forum to support this sdl version, things are running out of scope here... Please post new questions in development forum sdl thread
this is mine env settings:
export ARCH=iwmmxt
export CC=/mnt/hda1/cross-iwmmxt/gcc-3.3.6-glibc-2.3.2/arm-linux/bin/arm-linux-gcc
export CXX=/mnt/hda1/cross-iwmmxt/gcc-3.3.6-glibc-2.3.2/arm-linux/bin/arm-linux-g++
export LD=/mnt/hda1/cross-iwmmxt/gcc-3.3.6-glibc-2.3.2/arm-linux/bin/arm-linux-ld
export RANLIB=/mnt/hda1/cross-iwmmxt/gcc-3.3.6-glibc-2.3.2/arm-linux/bin/arm-linux-ranlib
export AR=/mnt/hda1/cross-iwmmxt/gcc-3.3.6-glibc-2.3.2/arm-linux/bin/arm-linux-ar
export AS=/mnt/hda1/cross-iwmmxt/gcc-3.3.6-glibc-2.3.2/arm-linux/bin/arm-linux-as
export STRIP=/mnt/hda1/cross-iwmmxt/gcc-3.3.6-glibc-2.3.2/arm-linux/bin/arm-linux-strip
quake and doom, both uploaded at http://files.motorolafans.com
--------------------
-->E680i... ROX.
--------------------