Search found 146 matches

by kazade
Fri Jun 03, 2022 3:53 am
Forum: Programming Discussion
Topic: Introducing mkdcdisc - an easy way to make .cdi images
Replies: 6
Views: 875

Introducing mkdcdisc - an easy way to make .cdi images

Hi everyone! Most of you will know about this through Twitter or the Simulant Discord, but I've just pushed a new project to allow generating .cdi images with CDDA audio tracks: https://gitlab.com/simulant/mkdcdisc The goal is to make it really easy to use, completely portable and standalone, and to...
by kazade
Mon Jan 17, 2022 10:27 am
Forum: Programming Discussion
Topic: GLdc integration into kos(-ports) - can I help ?
Replies: 5
Views: 1221

Re: GLdc integration into kos(-ports) - can I help ?

I can certainly mirror GLdc (and ALdc) over to the KOS GitHub organisation - that's easy enough. Once I get Driving Strikers launched I'll try to sort it out.
by kazade
Wed Dec 15, 2021 8:33 am
Forum: Programming Discussion
Topic: GLdc integration into kos(-ports) - can I help ?
Replies: 5
Views: 1221

Re: GLdc integration into kos(-ports) - can I help ?

Right so my thoughts on this are as follows: - GLdc is probably ready enough to be moved into kos-ports - It should replace libgl as the "default" GL implementation, but libgl should remain installable - libgl shouldn't be built + installed by default, GLdc should... - However, I don't kno...
by kazade
Wed Nov 24, 2021 2:41 pm
Forum: Programming Discussion
Topic: What's the fastest implementation of the cross product on the SH4?
Replies: 3
Views: 1097

What's the fastest implementation of the cross product on the SH4?

I've recently hit a performance bottleneck in some physics code that makes heavy use of the cross product, and it got me thinking about what's the fastest cross-product implementation for the SH4? DreamHAL makes use of the XMTRX instruction but I don't think that's optimal. I know TapamN mentioned i...
by kazade
Thu Oct 01, 2020 5:03 am
Forum: Homebrew Software and Indie Games Discussion
Topic: Simulant 20.09 Released!
Replies: 1
Views: 4109

Simulant 20.09 Released!

Hi everyone! Just a quick note to say that I've just tagged the 20.09 release of the Simulant engine. You can find more information here: https://simulant.dev/blog/5629522644828160/
by kazade
Tue Apr 14, 2020 12:52 pm
Forum: Programming Discussion
Topic: New to Dreamcast homebrew, question about engines
Replies: 22
Views: 3771

Re: New to Dreamcast homebrew, question about engines

Just a minor thing about Simulant - it was written as a kinda Unity-style general-purpose engine. Swirling Blades is just the first real game I'm building with it, but it can do 2D or 3D games, using various culling systems (Quadtree, Octree, Spatial hash) - it was in development for 7 years before ...
by kazade
Sun Jan 19, 2020 2:41 pm
Forum: Programming Discussion
Topic: Restoring profiling to the KOS toolchain
Replies: 18
Views: 2371

Re: Restoring profiling to the KOS toolchain

So with TapamN's confirmation that it is indeed possible to profile from a background thread, I went ahead and had a go! The result is called dcprof, and it can be found here: https://gitlab.com/simulant/dcprof My initial tests seem to show that it's working, but please let me know how you get on wi...
by kazade
Thu Jan 09, 2020 3:00 am
Forum: Programming Discussion
Topic: Awesome-Dreamcast list of ressources on GitHub
Replies: 1
Views: 532

Re: Awesome-Dreamcast list of ressources on GitHub

This is really great!

And not just because I'm on there 3 times :p
by kazade
Tue Jan 07, 2020 3:17 am
Forum: Programming Discussion
Topic: KOS - static initialisation failure: __gnu_cxx::__concurrence_lock_error
Replies: 17
Views: 2774

Re: KOS - static initialisation failure: __gnu_cxx::__concurrence_lock_error

If anyone fancies helping with this, here's a stripped (large) debug .elf showing the problem, and also the accompanying debuginfo and linker map: https://mega.nz/#!IV8DTK6L!QFeznqFRqleT ... vOETiTgFn0
by kazade
Tue Jan 07, 2020 1:25 am
Forum: Programming Discussion
Topic: KOS - static initialisation failure: __gnu_cxx::__concurrence_lock_error
Replies: 17
Views: 2774

Re: KOS - static initialisation failure: __gnu_cxx::__concurrence_lock_error

Ok more info... * it doesn't happen with all C++ apps, I have a simple hello world compiling and running fine with the same CMake toolchain file * __mutex isn't used much in libstdc++, but every time it's used it's in a static local variable, returned by reference from a factory function. It's only ...
by kazade
Mon Jan 06, 2020 5:55 am
Forum: Programming Discussion
Topic: KOS - static initialisation failure: __gnu_cxx::__concurrence_lock_error
Replies: 17
Views: 2774

Re: KOS - static initialisation failure: __gnu_cxx::__concurrence_lock_error

Right, I'm resurrecting this because there's definitely a bug in C++ support *somewhere*. Here's what I know: 1. When using C++, at some point during static initialisation, something is trying to lock a mutex before that mutex has been initialised. It's a gnu __mutex class which wraps gthread mutex ...
by kazade
Wed Jan 01, 2020 12:44 am
Forum: Homebrew Software and Indie Games Discussion
Topic: New Game! Swirling Blades: Desert Thunder
Replies: 0
Views: 1459

New Game! Swirling Blades: Desert Thunder

Hi everyone! This is my submission for the Dream On Game Jam. It's a demo of a larger game I'm working on and the first true test of my Simulant Game Engine . Screenshot from 2019-12-30 14-40-40.png Screenshot from 2019-12-30 14-40-55.png Known Issues: It's a little slow, I'm going to spend the next...
by kazade
Mon Dec 30, 2019 12:53 am
Forum: Programming Discussion
Topic: Restoring profiling to the KOS toolchain
Replies: 18
Views: 2371

Re: Restoring profiling to the KOS toolchain

I've been thinking of taking exactly the same approach! Did you have any luck finding the code?
by kazade
Sun Dec 22, 2019 12:41 am
Forum: Programming Discussion
Topic: Restoring profiling to the KOS toolchain
Replies: 18
Views: 2371

Restoring profiling to the KOS toolchain

Hi! I'm in desperate need of getting some real profiling data from the Dreamcast. It looks like in theory that the -pg flag should work, and we could get gmon.out generated in the /pc directory. However, the KOS toolchain patches remove all the profiling code from crt1.S Does anyone know if I can ju...
by kazade
Wed Nov 27, 2019 12:16 am
Forum: Programming Discussion
Topic: dcload-ip with DHCP support!
Replies: 24
Views: 2855

Re: dcload-ip with DHCP support!

Moopthehedgehog wrote: Tue Nov 26, 2019 7:21 pm If there were a Dreamcast community Slack or something I'd probably be on that. Slack actually saves conversations and has notifications, which are like the big downfalls of standard IRC.
Discord is basically Slack - click the link :grin:
by kazade
Sun Nov 24, 2019 7:17 am
Forum: Programming Discussion
Topic: dcload-ip with DHCP support!
Replies: 24
Views: 2855

Re: dcload-ip with DHCP support!

This is very exciting!! Great work!

There are a bunch of people on the Simulant Discord* who I'm sure will be excited to try this, feel free to drop in and chat :)

*https://discordapp.com/invite/TRx94EV
by kazade
Tue Oct 15, 2019 3:38 am
Forum: Programming Discussion
Topic: Developing for Dreamcast and PC simultaneously
Replies: 11
Views: 1929

Re: Developing for Dreamcast and PC simultaneously

If you use GLdc and ALdc then you only need to special case input and window creation really. Alternatively like Protofall suggested, Simulant is my cross platform general purpose game engine, it's massively under development but it's easy to get up and running and building stuff for Windows, Linux ...
by kazade
Thu Aug 22, 2019 11:39 am
Forum: Programming Discussion
Topic: KOS - static initialisation failure: __gnu_cxx::__concurrence_lock_error
Replies: 17
Views: 2774

Re: KOS - static initialisation failure: __gnu_cxx::__concurrence_lock_error

OK, still suffering this... mrneo and I have found that it's the code in .init which is doing this, and not .ctors as BigEvilCorporation found. I have fixed all the warnings in my code, there's not thing there at -Wall that isn't just an unused variable so I think the cause is different. My theory i...