Search found 152 matches

by patbier
Wed Nov 30, 2011 3:37 pm
Forum: Programming Discussion
Topic: So I've got off the ground.
Replies: 60
Views: 10831

Re: So I've got off the ground.

Hello Ph3nom, look at kos/kernel/libc/koslib/malloc.c /* Enable to allow extra debugging checks in the malloc code itself. This sometimes catches corrupted blocks. Recommended during debugging phases. */ #define DEBUG 1 /* Enable this define if you want costly malloc debugging (buffer sentinel check...
by patbier
Thu Nov 17, 2011 7:29 am
Forum: Programming Discussion
Topic: NullDc randomly crashes with KOS programs ?
Replies: 6
Views: 950

Re: NullDc randomly crashes with KOS programs ?

If someone else is annoyed by NullDc, I tried Makaron and it works pretty well !!
Link : http://www.emu-france.com/?page=comment ... s&id=20416
by patbier
Thu Nov 17, 2011 2:22 am
Forum: Programming Discussion
Topic: NullDc randomly crashes with KOS programs ?
Replies: 6
Views: 950

Re: NullDc randomly crashes with KOS programs ?

Yes, I totally agree BlueCrab but nullDc is very convenient when you have a small modification (texture modification, label replacement...) and you don't have your dreamcast next to you. The emulation is very good and this bug is just frustrating. I try to make a simple example to give a .cdi to nul...
by patbier
Wed Nov 16, 2011 2:48 pm
Forum: Programming Discussion
Topic: NullDc randomly crashes with KOS programs ?
Replies: 6
Views: 950

Re: NullDc randomly crashes with KOS programs ?

Yes that's it PH3NOM Sometimes, when it crashes, I have an error in the console All threads (may not be deterministic): addr tid prio flags wait_timeout state name 8c0a8296 3 10 00000000 135080 thd_sleep[un-na med kernel thread] 8c0a8296 1 10 00000000 135120 sem_wait_timed[k ernel] --end of list-- k...
by patbier
Wed Nov 16, 2011 11:03 am
Forum: Programming Discussion
Topic: NullDc randomly crashes with KOS programs ?
Replies: 6
Views: 950

NullDc randomly crashes with KOS programs ?

Hello, I sometimes use NullDc to test my KOS developpements. It is very convenient when I don't have my dreamcast. But it randomly crashes. Namely, the game runs really fine in the emulator, but after few minutes, it crashes. Never at the same time. I can post an example, but for pepole using nulldc...
by patbier
Sun Mar 20, 2011 3:18 pm
Forum: Programming Discussion
Topic: New Video Playback Engine For Dreamcast (RoQ)
Replies: 30
Views: 8359

Re: New Video Playback Engine For Dreamcast (RoQ)

Ok sorry I didn't know about pvr_txr_load
i thought about this post : viewtopic.php?f=29&t=60229
i thought it wasn't the same as pvr_txr_load, but I was wrong
Thanks for the info BlueCrab
by patbier
Sun Mar 20, 2011 2:05 pm
Forum: Programming Discussion
Topic: New Video Playback Engine For Dreamcast (RoQ)
Replies: 30
Views: 8359

Re: New Video Playback Engine For Dreamcast (RoQ)

Yes, I tested too with the above changes and with sq_copy functions it is now faster than the video length ! Just have a display distorsion with sq_cpy but I guess it would be easy to find the loop problem.

Great job !
by patbier
Fri Mar 18, 2011 2:12 am
Forum: Programming Discussion
Topic: Video Player for independant game / libtheora port first try
Replies: 15
Views: 4122

Re: Video Player for independant game / libtheora port first try

Mike continues his great work : http://multimedia.cx/eggs/roq-on-dreamcast/#more-3210 It is very very interesting. He gives me real time comments on his work in progress, and this is probably the best video solution for KOS projects. He has a "problem" with cd reading speed, so perhaps som...
by patbier
Wed Mar 09, 2011 11:07 am
Forum: Programming Discussion
Topic: Video Player for independant game / libtheora port first try
Replies: 15
Views: 4122

Re: Video Player for independant game / libtheora port first try

Looking at the xvid FAQ, it seems not possible, but I'm not sure my english is not perfect.
Someone can read it ? http://www.xvid.org/FAQ.42.0.html
Thanks
by patbier
Wed Mar 09, 2011 1:15 am
Forum: Programming Discussion
Topic: Video Player for independant game / libtheora port first try
Replies: 15
Views: 4122

Re: Video Player for independant game / libtheora port first try

I recently contact Mike to have his opinion, and he decided to compete this challenge : http://multimedia.cx/eggs/playing-video ... dreamcast/

Very very interesting !
by patbier
Wed Mar 09, 2011 12:49 am
Forum: Programming Discussion
Topic: Video Player for independant game / libtheora port first try
Replies: 15
Views: 4122

Re: Video Player for independant game / libtheora port first try

it's not off-topic, it's very interesting as gpl / lgpl licence are not easy to understand. If I quote the http://www.gnu.org/licenses/gpl-faq.html#NFUseGPLPlugins Can I release a non-free program that's designed to load a GPL-covered plug-in? It depends on how the program invokes its plug-ins. For ...
by patbier
Tue Mar 08, 2011 3:02 pm
Forum: Programming Discussion
Topic: Video Player for independant game / libtheora port first try
Replies: 15
Views: 4122

Video Player for independant game / libtheora port first try

Hello, I'm looking for a video player to use for the intro video for my game in developpement (Dynamite Dreams). I know that there was a huge work for vcdc (libmpeg2) and recently for xvid. But I'm not sure it could be used in an independant game without releasing source code (gpl) So I'm looking fo...
by patbier
Tue Jan 11, 2011 4:02 pm
Forum: Programming Discussion
Topic: Building a 4.5.2 toolchain for MINGW WIN32 (tutorial)
Replies: 48
Views: 29146

Re: Building a 4.5.2 toolchain for MINGW WIN32 (tutorial)

ok I found the problem ! Looking at the log files, I found this line : pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld.exe build-gcc-sh-elf-4.5.2-pass1.log:configure: error: Building GCC requires GMP 4.2 +, MPFR 2.3.1+ and MPC 0.8.0+. libmpc wasn't installed. The previous toolchain didn't need it....
by patbier
Tue Jan 11, 2011 12:55 am
Forum: Programming Discussion
Topic: Building a 4.5.2 toolchain for MINGW WIN32 (tutorial)
Replies: 48
Views: 29146

Re: Building a 4.5.2 toolchain for MINGW WIN32 (tutorial)

Ok, I surely found the problem, I tried to build the new toolchain and I forgot to comment the environ.sh in the .profile So I had the -m4-single-only in one variable. I tried to rebuild but another error in build-newlib-sh-elf-1.19.0.log : === configuring in sh (/home/Julien/cacdev2011/kos/utils/dc...
by patbier
Mon Jan 10, 2011 6:14 am
Forum: Programming Discussion
Topic: Building a 4.5.2 toolchain for MINGW WIN32 (tutorial)
Replies: 48
Views: 29146

Re: Building a 4.5.2 toolchain for MINGW WIN32 (tutorial)

Thanks all of you to make the toolchain updated. I've tested the new makefile but I have an error when it builds the new lib : I quote the end of build-newlib-sh-elf-1.19.0.log : rm -f lib.a sh-elf-ar cru lib.a lib_a-s_finite.o lib_a-s_copysign.o lib_a-s_modf.o lib_a-s_scalbn.o lib_a-s_cbrt.o lib_a-...
by patbier
Sun Aug 01, 2010 3:46 am
Forum: Programming Discussion
Topic: Widescreen mode and kos ?
Replies: 39
Views: 10980

Re: Widescreen mode and kos ?

Thanks for the answer.
by patbier
Fri Jul 30, 2010 3:56 pm
Forum: Programming Discussion
Topic: Widescreen mode and kos ?
Replies: 39
Views: 10980

Re: Widescreen mode and kos ?

Thanks for all your answers. Sadly it seems that it will be very very difficult to have a native widescreen resolution. So, the only solution would be to stay in 640*480 and render the scene so that when the tv will stretch it, it will be fine. The other way to do it that I've found (in 2D) is to ha...
by patbier
Thu Jul 29, 2010 1:15 am
Forum: Programming Discussion
Topic: Widescreen mode and kos ?
Replies: 39
Views: 10980

Re: Widescreen mode and kos ?

Ok thanks for your tests ! It shows that my monitor and yours don't understand the resolution the same way... I'm sorry I should have told that it was for vga tests only, as my goal was to find a 720 * 480 resolution in vga, and these settings gave 720 x 576 50 Hz on my monitor. Can you tell me whic...
by patbier
Wed Jul 28, 2010 4:11 pm
Forum: Programming Discussion
Topic: Widescreen mode and kos ?
Replies: 39
Views: 10980

Re: Widescreen mode and kos ?

Have you create a directory "romdisk" and put the resol.png in ?
Do you use the makefile I posted ?

When you launch "make", does it create a "romdisk.img" ?
by patbier
Wed Jul 28, 2010 11:41 am
Forum: Programming Discussion
Topic: Widescreen mode and kos ?
Replies: 39
Views: 10980

Re: Widescreen mode and kos ?

As I proposed to Ayla and DarkstackDev, here is the code I use to test the custom resolution settings : EDIT : ONLY TO TEST ON VGA /* File : resolution.c Let's test the resolution ! */ #include <stdio.h> #include <stdlib.h> #include <dc/pvr.h> #include <dc/maple.h> #include <dc/maple/controller.h> #...