Search found 16 matches
- Fri Nov 24, 2023 8:25 am
- Forum: Homebrew Software and Indie Games Discussion
- Topic: My 3D game engine
- Replies: 19
- Views: 1156
Re: My 3D game engine
Thanks, best of luck with your engine + project.
- Wed Nov 08, 2023 7:26 am
- Forum: Homebrew Software and Indie Games Discussion
- Topic: My 3D game engine
- Replies: 19
- Views: 1156
Re: My 3D game engine
This looks awesome! The HarleQuest! engine also started life as using blender as an editor, it got us quite far before we moved on to a custom editor. Near plane tri strip clipping was a headache for us (and Simulant too), but it's doable. There's a paper in one of the Game Programming Gems books ca...
- Sat May 27, 2023 9:21 am
- Forum: Programming Discussion
- Topic: CDDA Won't Loop Last Track on GDEMU/MODE
- Replies: 12
- Views: 938
Re: CDDA Won't Loop Last Track on GDEMU/MODE
That's really interesting, I'll be curious to see how it all works when it's done. I can't use the leadout to determine the track length because the TOC is merged across both the audio and data sessions when returned by the bootrom syscall. The merged TOC only has the leadout for the last track over...
- Fri May 19, 2023 6:09 pm
- Forum: Programming Discussion
- Topic: CDDA Won't Loop Last Track on GDEMU/MODE
- Replies: 12
- Views: 938
CDDA Won't Loop Last Track on GDEMU/MODE
Hi, I wanted to share the process I've gone through over the last two days trying to understand why the CDDA background music in my game HarleQuest! refused to loop. I came from knowing next to nothing about CDDA or CD layouts and everything I've learned about it has been over the past couple of day...
- Fri May 19, 2023 5:09 pm
- Forum: Programming Discussion
- Topic: High Performance Rendering
- Replies: 12
- Views: 1663
Re: High Performance Rendering
Thanks so much for this! :grin: A lot of your points confirm things I've already learned (or at least suspected) and some points are new to me. Sorry my follow up has taken so long. I would have responded sooner, but a new Zelda game distracted me... Understandable! I haven't tried it yet, but have ...
- Sat May 13, 2023 2:15 pm
- Forum: Programming Discussion
- Topic: High Performance Rendering
- Replies: 12
- Views: 1663
Re: High Performance Rendering
I decided to make a benchmark to try and get a deeper understanding of all this. Starting with the KallistiOS 2ndmix example, I made some modifications so that it will render N cubes, letting the user switch between 3 different submission methods: A) KOS PVR API (the pvr_prim() functions) B) Store Q...
- Mon May 08, 2023 2:32 pm
- Forum: Programming Discussion
- Topic: High Performance Rendering
- Replies: 12
- Views: 1663
Re: High Performance Rendering
I see! So just to make sure I understand: You can write to the first SQ, issue PREF, go do some other work like transforming a vertex that's already in cache (FMOV, FTRV, etc), then write to the second SQ, and it's only when you PREF the second SQ (perform the second burst write) that the CPU will s...
- Sun May 07, 2023 8:06 am
- Forum: Programming Discussion
- Topic: High Performance Rendering
- Replies: 12
- Views: 1663
Re: High Performance Rendering
I've had some feedback on the Simulant discord about how SQs don't execute in parallel the way I thought they did. This line from section 4.6.3 of the SH7750 CPU manual was confusing me: While the contents of one SQ are being transferred to external memory, the other SQ can be written to without a p...
- Sat May 06, 2023 4:31 pm
- Forum: Programming Discussion
- Topic: High Performance Rendering
- Replies: 12
- Views: 1663
High Performance Rendering
Hi, I've been working on improving rendering performance in HarleQuest! and am trying to wrap my head around some of the different options. I read this: http://yam.20to4.net/dreamcast/hints/index.html (specifically the Optimizing TnL Loops bit) and have a general plan, but wanted to check here in ca...
- Mon Apr 04, 2022 7:28 am
- Forum: Programming Discussion
- Topic: How Do I Create Vmu Animations?
- Replies: 6
- Views: 785
Re: How Do I Create Vmu Animations?
You can write a program for the Dreamcast that draws a bitmap to the VMU LCD, waits briefly, draws another bitmap, and so on. Drawing a bitmap to the VMU is something I did when working on NesterDC-standalone - maybe that would be a useful reference? Loading BMP : https://github.com/kilgariff/Nester...
- Fri Apr 01, 2022 9:11 am
- Forum: Programming Discussion
- Topic: KOS, Visual Studio Code & gdb
- Replies: 20
- Views: 7474
Re: KOS, Visual Studio Code & gdb
This is great! Managed to get VSCode set up with remote debugging and intellisense on Windows 11 & WSL2 using these instructions. It's way easier to step in and see what KOS is doing under the hood now. Thanks
- Thu Jan 19, 2017 12:21 pm
- Forum: Programming Discussion
- Topic: Iterative builds or hot-loading with DCLOAD + DC-TOOL 1.0.5
- Replies: 3
- Views: 578
Re: Iterative builds or hot-loading with DCLOAD + DC-TOOL 1.
BlueCrab, you're right - if I exit from my game's main loop, it drops to a black screen. From there, I can upload a new .ELF and run it even though there's no DCLOAD prompt. Thanks for the help, really takes the sting out of waiting. bogglez, thanks for the links. Live code reloading while the game ...
- Sun Jan 15, 2017 3:17 pm
- Forum: Programming Discussion
- Topic: Dc-tool and gdb
- Replies: 2
- Views: 669
Re: Dc-tool and gdb
Hi, I've only just started using dc-tool but tried passing -g and got "Starting a GDB server on port 2159". I built dc-tool 1.0.5 from the SourceForge repo: https://sourceforge.net/p/cadcdev/dcload-ip/ci/master/tree/ (latest commit at the time of writing is 25114e). Here's the binary I'm u...
- Sun Jan 15, 2017 2:58 pm
- Forum: Programming Discussion
- Topic: Iterative builds or hot-loading with DCLOAD + DC-TOOL 1.0.5
- Replies: 3
- Views: 578
Iterative builds or hot-loading with DCLOAD + DC-TOOL 1.0.5
I've recently bought a dreamcast broadband adapter (BBA) and set up DCLOAD-IP + DC-TOOL 1.0.5. I can send my compiled .elf and have it execute on the dreamcast, but after making any changes to the code and rebuilding I need to reboot the dreamcast to dcload in order to upload again. This is of cours...
- Sat Dec 31, 2016 7:44 am
- Forum: Programming Discussion
- Topic: Beginner Question: KallistiOS GL Example Won't Run
- Replies: 3
- Views: 999
Re: Beginner Question: KallistiOS GL Example Won't Run
I just tried the 2ndmix example and it works on nulldc and on hardware. 2ndmix doesn't link with GL or any other libraries, so maybe the toolchain's libraries (kos-ports) weren't set up properly. I'll try re-building the toolchain using the install script and report back. Thanks for the help :) Edit...
- Fri Dec 30, 2016 8:59 pm
- Forum: Programming Discussion
- Topic: Beginner Question: KallistiOS GL Example Won't Run
- Replies: 3
- Views: 999
Beginner Question: KallistiOS GL Example Won't Run
I'm a newbie to DC homebrew, and I'm having some difficulty getting the KallistiOS basic GL example to run. I've been trying https://github.com/ljsebald/KallistiOS/tree/master/examples/dreamcast/kgl/basic/gl with no success, regardless of whether it's running in an emulator or on hardware. My dev en...