Search found 116 matches
- Wed Apr 24, 2024 9:55 am
- Forum: Programming Discussion
- Topic: What's the fastest implementation of the cross product on the SH4?
- Replies: 5
- Views: 1867
Re: What's the fastest implementation of the cross product on the SH4?
For a cross product, I think it would be better to just let GCC decide how to preform it than using inline asm. That way GCC has more freedom to allocate and move registers around, rather than having to get things lined up for how the asm wants it. And, if you were writing asm yourself, I think it ...
- Mon Apr 22, 2024 10:58 pm
- Forum: Programming Discussion
- Topic: Streaming Music Playback CPU Usage
- Replies: 6
- Views: 2290
Re: Streaming Music Playback CPU Usage
HI, TapamN A lot of work has been done to reconfigure the KOS scheduler, and other things. I would love to see this benchmark done again ?. Do you have the benchmark src we can run to check, or can you try the latest PR's and check?
- Mon Mar 25, 2024 7:18 pm
- Forum: Homebrew Software and Indie Games Discussion
- Topic: My 3D game engine
- Replies: 21
- Views: 1594
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 ...
- Sat Mar 23, 2024 1:48 pm
- Forum: Homebrew Software and Indie Games Discussion
- Topic: My 3D game engine
- Replies: 21
- Views: 1594
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...
- Fri Feb 23, 2024 6:31 am
- Forum: Programming Discussion
- Topic: CDDA Won't Loop Last Track on GDEMU/MODE
- Replies: 13
- Views: 1164
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...
- Thu Feb 01, 2024 2:44 am
- Forum: Programming Discussion
- Topic: Lets Pimp out a 3rdMix and Push the PVR!!!!
- Replies: 1
- Views: 462
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...
- Fri Jan 12, 2024 3:11 pm
- Forum: Programming Discussion
- Topic: KOS Documentation and Discoverability
- Replies: 1
- Views: 576
Re: KOS Documentation and Discoverability
About time as well great work
- Fri Dec 22, 2023 2:42 pm
- Forum: Programming Discussion
- Topic: Timer precision
- Replies: 13
- Views: 1757
- Mon Dec 18, 2023 12:42 am
- Forum: Programming Discussion
- Topic: Timer precision
- Replies: 13
- Views: 1757
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...
- Thu Nov 16, 2023 10:57 am
- Forum: Programming Discussion
- Topic: Race condition in KOS timer_??_gettime*
- Replies: 10
- Views: 1860
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
- Fri Nov 03, 2023 10:10 am
- Forum: Programming Discussion
- Topic: Race condition in KOS timer_??_gettime*
- Replies: 10
- Views: 1860
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.
- Fri Nov 03, 2023 9:03 am
- Forum: Programming Discussion
- Topic: pl_mpegDC ported running but community help needed
- Replies: 71
- Views: 6770
- Fri Nov 03, 2023 8:46 am
- Forum: Programming Discussion
- Topic: pl_mpegDC ported running but community help needed
- Replies: 71
- Views: 6770
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.
https://streamable.com/ce1rhk playing on cdr built into my menu code.
Even started recreating old fmv games with out a problem.
- Wed Nov 01, 2023 4:35 am
- Forum: Programming Discussion
- Topic: Timer precision
- Replies: 13
- Views: 1757
Re: Timer precision
Turned out this is the case can we fix this in kos current is problem
- Mon Oct 30, 2023 5:28 am
- Forum: Programming Discussion
- Topic: pl_mpegDC ported running but community help needed
- Replies: 71
- Views: 6770
Re: pl_mpegDC ported running but community help needed
watch whole movie 1 hour 30 no trouble
- Mon Oct 30, 2023 4:43 am
- Forum: Programming Discussion
- Topic: pl_mpegDC ported running but community help needed
- Replies: 71
- Views: 6770
Re: pl_mpegDC ported running but community help needed
I tested now updated playing now over 50 mins https://github.com/ianmicheal/MPEG1-Dec ... 9-19-Tashi
- Sat Oct 28, 2023 7:39 pm
- Forum: Programming Discussion
- Topic: pl_mpegDC ported running but community help needed
- Replies: 71
- Views: 6770
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...
- Thu Oct 26, 2023 7:18 am
- Forum: Homebrew Software and Indie Games Discussion
- Topic: My 3D game engine
- Replies: 21
- Views: 1594
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
https://github.com/ianmicheal/dreamhal/ ... sh4_math.h
- Mon Oct 23, 2023 6:21 am
- Forum: Homebrew Software and Indie Games Discussion
- Topic: My 3D game engine
- Replies: 21
- Views: 1594
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
small test
https://streamable.com/cuqqp2
- Fri Oct 20, 2023 10:41 am
- Forum: Programming Discussion
- Topic: pl_mpegDC ported running but community help needed
- Replies: 71
- Views: 6770
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...