Search found 114 matches

by Ian Robinson
Mon Mar 25, 2024 7:18 pm
Forum: Homebrew Software and Indie Games Discussion
Topic: My 3D game engine
Replies: 19
Views: 881

Re: My 3D game engine

Thanks, yes it seems that lighting is not used much in DC, but I'm starting to understand why, it's very expensive. :mrgreen: Right now in this demo there is only one object with dynamic lighting, the sphere, it has 480 vertices and there are 4 points of light. With three simultaneous light points ...
by Ian Robinson
Sat Mar 23, 2024 1:48 pm
Forum: Homebrew Software and Indie Games Discussion
Topic: My 3D game engine
Replies: 19
Views: 881

Re: My 3D game engine

Hi everyone, it's been a while xD Unfortunately I haven't had much free time to dedicate to this project, but there has been some progress. For the near plane tri strip clipping problem, I managed to implement a more or less efficient algorithm (at least it's memory efficient) I also improved the s...
by Ian Robinson
Fri Feb 23, 2024 6:31 am
Forum: Programming Discussion
Topic: CDDA Won't Loop Last Track on GDEMU/MODE
Replies: 12
Views: 811

Re: CDDA Won't Loop Last Track on GDEMU/MODE

The "session" parameter for the TOC function controls if you are reading a CD TOC (on a 0) or a GD TOC (on a 1). Obviously, CDs don't have a GD area, so requesting the GD TOC will fail. For the end of the last track, could you use the leadout sector value as the loop end? You might have t...
by Ian Robinson
Thu Feb 01, 2024 2:44 am
Forum: Programming Discussion
Topic: Lets Pimp out a 3rdMix and Push the PVR!!!!
Replies: 1
Views: 227

Re: Lets Pimp out a 3rdMix and Push the PVR!!!!

So I'm a graphics guy who has done next to zero graphics on DC since rejoining the scene... I was really trying to focus on low-level OS, language, driver, and toolchain kinds of tasks initially, since I'm a bottom-up learner, plus I wanted to do those tasks for myself to learn those areas of compu...
by Ian Robinson
Fri Jan 12, 2024 3:11 pm
Forum: Programming Discussion
Topic: KOS Documentation and Discoverability
Replies: 1
Views: 390

Re: KOS Documentation and Discoverability

About time as well great work :)
by Ian Robinson
Fri Dec 22, 2023 2:42 pm
Forum: Programming Discussion
Topic: Timer precision
Replies: 13
Views: 1496

Re: Timer precision

nymus wrote: Wed Dec 20, 2023 9:42 am Is it not OK/faster to use the FPU for division and convert back to integer? I guess the #define method works if there are just a few common values being used.
always fast to never use any division even fpu version is still slow
by Ian Robinson
Mon Dec 18, 2023 12:42 am
Forum: Programming Discussion
Topic: Timer precision
Replies: 13
Views: 1496

Re: Timer precision

I think you have the right final result, but the calculation is off. The clock counts the 50 MHz peripheral clock, divided by four (which would be 12.5 MHz), but it can be set to count on both the rising and falling edges of the clock, doubling it back up to 25 MHz. One complaint I have about the t...
by Ian Robinson
Thu Nov 16, 2023 10:57 am
Forum: Programming Discussion
Topic: Race condition in KOS timer_??_gettime*
Replies: 10
Views: 1664

Re: Race condition in KOS timer_??_gettime*

SO this is now in main kos and is it like TapamN's version as i have tested that and works flawless even on crusty kos from 2005 :)
by Ian Robinson
Fri Nov 03, 2023 10:10 am
Forum: Programming Discussion
Topic: Race condition in KOS timer_??_gettime*
Replies: 10
Views: 1664

Re: Race condition in KOS timer_??_gettime*

I tested it with and with out the fix and it does solve the problem old has errors like TapamN said every three timer errors detected each minute.. And zero with out even after 30 mins.
by Ian Robinson
Fri Nov 03, 2023 8:46 am
Forum: Programming Discussion
Topic: pl_mpegDC ported running but community help needed
Replies: 71
Views: 5074

Re: pl_mpegDC ported running but community help needed

It was the timer for sure it's now stable runs and even releasing memory fine compiled into my program
https://streamable.com/ce1rhk playing on cdr built into my menu code.

Even started recreating old fmv games with out a problem.
by Ian Robinson
Wed Nov 01, 2023 4:35 am
Forum: Programming Discussion
Topic: Timer precision
Replies: 13
Views: 1496

Re: Timer precision

Turned out this is the case can we fix this in kos current is problem
by Ian Robinson
Mon Oct 30, 2023 5:28 am
Forum: Programming Discussion
Topic: pl_mpegDC ported running but community help needed
Replies: 71
Views: 5074

Re: pl_mpegDC ported running but community help needed

watch whole movie 1 hour 30 no trouble
bandicam 2023-10-30 06-32-03-310.jpg
by Ian Robinson
Sat Oct 28, 2023 7:39 pm
Forum: Programming Discussion
Topic: pl_mpegDC ported running but community help needed
Replies: 71
Views: 5074

Re: pl_mpegDC ported running but community help needed

I be looking at your update very soon to see if we can solve the it cant play more then 18 mins on hardware. It's playing right thru on demul dcemulator another one of those times.. after 18 mins it gets super slow for a while then freezes crashes.. Problem was time to make a change and test 18 mins...
by Ian Robinson
Thu Oct 26, 2023 7:18 am
Forum: Homebrew Software and Indie Games Discussion
Topic: My 3D game engine
Replies: 19
Views: 881

Re: My 3D game engine

Looking forward to it might want to look at Dreamhal and TapamN's sh4lib for matrix abd other things like that..
https://github.com/ianmicheal/dreamhal/ ... sh4_math.h
by Ian Robinson
Mon Oct 23, 2023 6:21 am
Forum: Homebrew Software and Indie Games Discussion
Topic: My 3D game engine
Replies: 19
Views: 881

Re: My 3D game engine

Hey really nice i did test it love to see more :) like the fact it's direct pvr api as well .. Yes supporting dtex and new format from TapamN would be ace.. Pvr vq makes a big change when using textures speed and memory use.

small test
https://streamable.com/cuqqp2
by Ian Robinson
Fri Oct 20, 2023 10:41 am
Forum: Programming Discussion
Topic: pl_mpegDC ported running but community help needed
Replies: 71
Views: 5074

Re: pl_mpegDC ported running but community help needed

With my update before been able to watch 1 hour with no sync problems audio with the right encoding. It is amazing! This time, I was worried about whether the frame rate was correct because I matched it to the audio time. I can't wait to see your update. Your 64bitSQ seems to be faster than KOS's S...
by Ian Robinson
Wed Oct 18, 2023 3:26 pm
Forum: Programming Discussion
Topic: better Physics Engine ?
Replies: 4
Views: 402

Re: better Physics Engine ?

Bump any news on this it was looking pretty good :)
by Ian Robinson
Sun Oct 15, 2023 8:31 am
Forum: Programming Discussion
Topic: High Performance Rendering
Replies: 12
Views: 1587

Re: High Performance Rendering

I was looking talking to a sega dev of the past and they told me about this. unknown.png also the super h has a fantastic feature where you can turn half the cache into a 'zero page' the cache is addressable, and when you flip the bit you get like 8kb of super high speed memory to use. great for com...