You can look some info about PVR format in my SDL_Image port:
https://github.com/DC-SWAT/DreamShell/b ... /IMG_pvr.c
https://github.com/DC-SWAT/DreamShell/b ... PVRImage.h
Search found 191 matches
- Thu Jan 14, 2016 11:21 pm
- Forum: Programming Discussion
- Topic: PVR Data Format Documentation?
- Replies: 17
- Views: 3122
- Wed Nov 04, 2015 6:29 am
- Forum: Programming Discussion
- Topic: Widescreen hacks
- Replies: 7
- Views: 1749
Re: Widescreen hacks
I think this is a hack of viewport/ratio in rendering code by one float value in memory.
It's not hardware settings, just SDK/engine param.
For every game need search special place for it, it's not universal hack for all
It's not hardware settings, just SDK/engine param.
For every game need search special place for it, it's not universal hack for all
- Wed Sep 16, 2015 12:24 am
- Forum: Homebrew Software and Indie Games Discussion
- Topic: Running CE loader from SD card via dreamshell?
- Replies: 1
- Views: 1447
Re: Running CE loader from SD card via dreamshell?
WinCE doesn't supported by DreamShell RC3 and lower, only unreleased RC4 can boot it.
- Thu Apr 02, 2015 12:44 am
- Forum: Programming Discussion
- Topic: KOS snd_sfx_play problem
- Replies: 7
- Views: 1658
Re: KOS snd_sfx_play problem
You can play any size of PCM data, for it you have 3 methods: 1) Dinamically upload new data to SPU memory after playing previous data. Separate buffer to 2 and upload data to #1 while playing #2 and vice versa (channel loop setup for all buffer). I use this technique for playing CDDA tracks. 2) Upl...
- Wed Apr 01, 2015 11:54 pm
- Forum: Programming Discussion
- Topic: About GCC 4.8.x branch...
- Replies: 6
- Views: 1176
Re: About GCC 4.8.x branch...
But the problem I often read on that forum is some stability issues with GCC 4.8.x branch (e.g. SWAT stills use GCC 4.7.3). So what's the recommanded GCC build revision for the DC platform? :? I use GCC 4.9.1, it's works much better than 4.7.x/4.8.x and I not have problems. And now I have builded 4...
- Fri Mar 06, 2015 12:03 am
- Forum: Programming Discussion
- Topic: G1-ATA driver broken
- Replies: 30
- Views: 4255
Re: G1-ATA driver broken
Thanks for your fix!
- Thu Mar 05, 2015 4:39 am
- Forum: Programming Discussion
- Topic: G1-ATA driver broken
- Replies: 30
- Views: 4255
Re: G1-ATA driver broken
A quick test showed a positive result! Now mutex is not locked forever.
- Mon Mar 02, 2015 1:03 am
- Forum: Programming Discussion
- Topic: G1-ATA driver broken
- Replies: 30
- Views: 4255
Re: G1-ATA driver broken
I think normal mutex instead of recursive can solve this problem.
- Tue Feb 24, 2015 5:51 am
- Forum: Programming Discussion
- Topic: G1-ATA driver broken
- Replies: 30
- Views: 4255
Re: G1-ATA driver broken. Quzar it's for you =)
Not easy because need time :) I have not time for any code example :( But I have some testers, they are help me with debugging. So, I can say yes for: So, the only thing you have to revert is the cdrom changes? No other code has to be changed in order to make your code work -- that is to say, if you...
- Mon Feb 16, 2015 2:15 am
- Forum: Programming Discussion
- Topic: G1-ATA driver broken
- Replies: 30
- Views: 4255
Re: G1-ATA driver broken. Quzar it's for you =)
It's not easy to make example with this problem. I really don't know why this happen, but if I use cdrom driver before this changes, it's works fine...
Ok, I'll try get more info about this at free time.
Ok, I'll try get more info about this at free time.
- Thu Feb 12, 2015 10:45 pm
- Forum: Programming Discussion
- Topic: G1-ATA driver broken
- Replies: 30
- Views: 4255
Re: G1-ATA driver broken. Quzar it's for you =)
Sorry I forget rebuild parallax library, now it's ok. Soon I'll check your patch on HDD.
Update: Your patch did not help Still freezing at ATA access. Now even slightly worse, freezes earlier than before the patch.
Update: Your patch did not help Still freezing at ATA access. Now even slightly worse, freezes earlier than before the patch.
- Wed Feb 11, 2015 10:07 pm
- Forum: Programming Discussion
- Topic: G1-ATA driver broken
- Replies: 30
- Views: 4255
Re: G1-ATA driver broken. Quzar it's for you =)
Hmm my application now crashes at new place:
Video rendering I have in separate thread. And it's uses normal mutex.
Code: Select all
*** ASSERTION FAILURE ***
Assertion "0" failed at pvr_prim.c:98 in `pvr_poly_compile': Invalid texture U size
- Wed Feb 11, 2015 6:07 am
- Forum: Programming Discussion
- Topic: G1-ATA driver broken
- Replies: 30
- Views: 4255
Re: G1-ATA driver broken. Quzar it's for you =)
Ok I'll try it.
- Mon Feb 09, 2015 4:35 am
- Forum: Programming Discussion
- Topic: G1-ATA driver broken
- Replies: 30
- Views: 4255
Re: G1-ATA driver broken. Quzar it's for you =)
Nope, just ATA...
Update: I call cdrom_spin_down
Update: I call cdrom_spin_down
- Sun Feb 08, 2015 10:38 pm
- Forum: Programming Discussion
- Topic: G1-ATA driver broken
- Replies: 30
- Views: 4255
Re: G1-ATA driver broken. Quzar it's for you =)
BlueCrab wrote:...it works fine for several read operations and then just locks up later waiting on the mutex? Is this all from the same thread, or separate threads?
Yep. From the same thread.
- Tue Feb 03, 2015 10:02 pm
- Forum: Programming Discussion
- Topic: G1-ATA driver broken
- Replies: 30
- Views: 4255
G1-ATA driver broken
Hello everyone! Approximately after commit http://sourceforge.net/p/cadcdev/kallistios/ci/44a62b490650c4da1fd386da594204aded37e9e1/ (I tested all CD-ROM changes from http://sourceforge.net/p/cadcdev/kallistios/ci/a7f57a3eb284c7090142a31aa6440e0a4ba0ca76/) G1-ATA driver works unstable. Seems the recu...
- Mon Dec 22, 2014 3:45 am
- Forum: Programming Discussion
- Topic: MP3 playback
- Replies: 8
- Views: 1062
Re: MP3 playback
Include https://github.com/DC-SWAT/DreamShell/b ... udio/mp3.h
Call sndmp3_start(const char * fname, int loop); and this all. It's incredibly simple.
- Thu Nov 27, 2014 10:29 pm
- Forum: Programming Discussion
- Topic: MP3 playback
- Replies: 8
- Views: 1062
Re: MP3 playback
Also you can use mine ports of mpg123 and oggvorbis, it's contains more fresh libraries than in KOS: https://github.com/DC-SWAT/DreamShell/tree/master/modules/mp3/libmp3/mpg123 https://github.com/DC-SWAT/DreamShell/tree/master/modules/ogg/liboggvorbis XingMP3 is not very good library, because it's c...
- Thu Nov 20, 2014 6:50 am
- Forum: Programming Discussion
- Topic: Problem with KOS 320*240 50hz/60hz mode ?
- Replies: 20
- Views: 2951
Re: Problem with KOS 320*240 50hz/60hz mode ?
You use SDL for rendering or just for setup video mode? Chui SDL have textured video render and can render pixel data as texture by PVR hardware, it's stretches the image(polygon) to fill the screen. I use this method too in my project (but with custom rendering, not Chui). The KOS SDL port doesn't ...
- Tue Aug 26, 2014 1:00 am
- Forum: Programming Discussion
- Topic: Random WIP shots
- Replies: 35
- Views: 8838
Re: Random WIP shots
PH3NOM, you have GPU with DX11? If yes, try use Demul for your tests, it should work better than nullDC and lxdream.