notaz
Certified Guru
Ok I'll leave this matter alone, for a while at least. Need to focus more on parallelizing something I'm trying to fit the DSP in..
I ran some DSP demos too but no issues here. All SD cards are still working fine. So seems like it's "US NASA-only" problem for you thereHi,
Houston, I **think** we have a problem...
Am I the only one suffering SD card data corruption while using DSP related stuff (on a Rebirth Pandora) ? That's the second time it happens...
The first time was when you asked us to report sprite limits with ./c64_dsprite. I launched that command many times, but at one moment the icons got all messed up, so I decided to reboot. After the reboot I noticed the SD card was mounted read-only. I ran fsck.vfat and it reported a lot of errors and orphaned files...so I formated the SD card to start from a clean slate.
The second time has just happened: I wanted to show the Mandelbrot thing running only on DSP to my girlfriend, but it didn't work as expected: icons messed up again, SD card disappearing from the desktop...
Is it serious doctor ?
Bye, Magic Sam
So I'm trying to compile the examples again but it is failing trying to find the ts library.
libts (touchscreen utility library) is required by libSDL.edit: nevermind, I just removed the "-lts" from the compile line and it worked. I honestly have no idea what libts is (google is trying to tell me I mean tslib) but it doesn't look like it is needed.
Ahah, so google was right. Since it was required by all the examples I was thinking it was something that should have been included with the DSP libraries, or the cross compiler. I was banging my head trying to find it.It is provided by "libts-1.0-0_1.0-r24.8.5_armv7a.ipk".
SDL is linked dynamically and depends on libts.so here. I installed the toolchain three months ago, based on information I found on the Pandora wiki and this http://boards.openpandora.org/topic/7147-crosscompiler-toolchain-based-on-openpandoraorg-ipks/ thread. The ipks are hosted on www.openpandora.org so I was under the impression that this was some kind of "official" toolchain. If it isn't, could you please point me to the recommended/official toolchain ? (although I think it's not a bad idea for libSDL to dyna.link its dependencies)If you don't link statically, there is no need to specify SDL's dependencies. At least on toolchains I use.
It's not required by all examples -- The simple (non-graphical) examples do not try to link libts, so nothing's changed in that regard. Actually, not even all of the gfx examples need libSDL/libts (which is probably the reason why you could simply remove it) but the newer examples do. I am using SDL only for input event handling, btw.Since it was required by all the examples I was thinking it was something that should have been included with the DSP libraries, or the cross compiler.
This is pretty complicated. A decoder is more easy I think (if you could keep sound and pictures in sync).^Or Mupen64, or PPSSPP employing DSP techniques....