Search found 128 matches

by ThePerfectK
Fri Jul 03, 2020 2:37 am
Forum: Programming Discussion
Topic: Issue with enviroment creation script for KallistiOS
Replies: 4
Views: 331

Re: Issue with enviroment creation script for KallistiOS

that guide is super super out of date. I've actually rewritten the setup portion many times since then, those instructions outright don't work anymore. One day I'll post the updated version once it's finished.
by ThePerfectK
Sun Apr 26, 2020 1:41 am
Forum: Programming Discussion
Topic: KOS vs Ninja - simple test.
Replies: 25
Views: 1755

Re: KOS vs Ninja - simple test.

The above makes me want to write a streaming demo to gauge raw primitive rasterization performance, no vertex calculation done per frame at all, just basically stressing the raw speed of vertex submission. I wonder if it'd be possible to write, like, a circular buffer to test all this. Anyone ever t...
by ThePerfectK
Mon Apr 13, 2020 3:41 am
Forum: Programming Discussion
Topic: Debugging and traces for KOS application : how to ?
Replies: 1
Views: 210

Re: Debugging and traces for KOS application : how to ?

There is no real way to get around the need for a console to output to. It appears you don't have any equipment to connect your dreamcast to a PC, and I'd assume from your post that you aren't necessarily interested in building a coder's cable, so the only alternative I can point to would be emulati...
by ThePerfectK
Mon Apr 13, 2020 3:34 am
Forum: Programming Discussion
Topic: Socket Error when Debugging with Code::Blocks IDE (DreamSDK)
Replies: 1
Views: 174

Re: Socket Error when Debugging with Code::Blocks IDE (DreamSDK)

It's not an issue with your cable, because it's sending data. If it was an issue with your cable, you would never get to the point. It appears to be a time out error, socket error 10053 occurs when an established connection is timed out. You mention your dreamcast seems to freeze, then you get this ...
by ThePerfectK
Mon Apr 13, 2020 3:25 am
Forum: Programming Discussion
Topic: New to Dreamcast homebrew, question about engines
Replies: 22
Views: 1000

Re: New to Dreamcast homebrew, question about engines

To piggy off the last (really good) post, some additional information: If you are looking to do fast 3D math, as the above poster said, you probably want to just do the math by hand in the SH4 using the opcodes available. Good news is you can sorta avoid inline assembly by generous use of MoopTheHed...
by ThePerfectK
Sun Feb 23, 2020 2:42 pm
Forum: Programming Discussion
Topic: KOS vs Ninja - simple test.
Replies: 25
Views: 1755

Re: KOS vs Ninja - simple test.

Yup, been playing with the latest HAL commit, it's genuinely useful. I'm putting together a benchmarking demo with all the wonderful new Dreamcast toys we've got in the last 6 months (like dcprof) to see how performant it is, but just general eyeballing shows a big improvement. Like, for vertex tran...
by ThePerfectK
Sat Feb 22, 2020 5:25 am
Forum: Programming Discussion
Topic: KOS vs Ninja - simple test.
Replies: 25
Views: 1755

Re: KOS vs Ninja - simple test.

Been playing around with Moop's fast math portion of his HAL and holy crap there is some really great stuff in there for matrices math! I'm finding all sorts of SIMD uses for that stuff, thanks so much moop!
by ThePerfectK
Mon Feb 17, 2020 10:59 am
Forum: Programming Discussion
Topic: High Resolution Dreamcast Video Modes!
Replies: 11
Views: 9891

Re: High Resolution Dreamcast Video Modes!

This would be super useful for anamorphic wide-screen. Currently anamorphic wide-screen depends on your TV to be able to stretch 4:3 content to 16:9. I have a couple of monitors which can't do that, so anamorphic wide-screen is impossible on those. This is super useful!
by ThePerfectK
Tue Jan 21, 2020 10:52 pm
Forum: Programming Discussion
Topic: KOS vs Ninja - simple test.
Replies: 25
Views: 1755

Re: KOS vs Ninja - simple test.

the Dreamcast's SH4 has SIMD opcodes, correct? Anybody have any idea how useful these opcodes are for, say, vector transformations? Preferably with an example to demonstrate?
by ThePerfectK
Mon Jan 20, 2020 11:06 am
Forum: Programming Discussion
Topic: Restoring profiling to the KOS toolchain
Replies: 18
Views: 858

Re: Restoring profiling to the KOS toolchain

No announcement but I too wrote something but requires recompile to profile, it's very different from kazade's and might give a different set of data to look at. If interested I'll toss up a mini example. More implementations can only ever be a good thing. If nothing else, it could help verify resu...
by ThePerfectK
Sun Jan 19, 2020 7:26 pm
Forum: Programming Discussion
Topic: Restoring profiling to the KOS toolchain
Replies: 18
Views: 858

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 w...
by ThePerfectK
Sun Jan 05, 2020 8:29 pm
Forum: Programming Discussion
Topic: Restoring profiling to the KOS toolchain
Replies: 18
Views: 858

Re: Restoring profiling to the KOS toolchain

Sorry, but the profiler isn't ready yet. When I was making an example of how to add the profiler to an existing program, I noticed that the profiler was generating incorrect results. After some tweaking, it seems to be working correctly now, but it took longer than I expected. I should have it read...
by ThePerfectK
Sun Jan 05, 2020 4:47 pm
Forum: Programming Discussion
Topic: KOS vs Ninja - simple test.
Replies: 25
Views: 1755

Re: KOS vs Ninja - simple test.

^so what's a smarter method of submitting vertex data? I've looked into DMA and using store queues for vertex submission, but doesn't PVR_Prim() already use DMA for vertex submission? EDIT: old reading: https://web.archive.org/web/20121022004241/http://elysianshadows.com/dev/community/tutorials/23-d...
by ThePerfectK
Tue Dec 31, 2019 11:20 am
Forum: Games and Software Hacking, Prototypes, and Devkits Discussion
Topic: I call it... KOStana
Replies: 8
Views: 792

Re: I call it... KOStana

1999, 2019, same thing right? https://pbs.twimg.com/media/ENIYiSFWoAUHkWZ?format=jpg&name=4096x4096 finally set aside some time to get my Dreamcast framework up and compiling: https://pbs.twimg.com/media/ENEkzgRXYAAEqZs?format=jpg&name=4096x4096 https://pbs.twimg.com/media/ENEk9r6X0AA1uJp?format=jpg...
by ThePerfectK
Mon Dec 23, 2019 6:28 am
Forum: Programming Discussion
Topic: Restoring profiling to the KOS toolchain
Replies: 18
Views: 858

Re: Restoring profiling to the KOS toolchain

I wrote sampling profiler years ago. It uses a second thread to periodically record the PC of the main thread to an array. When you exit, the samples are saved to a text file on the PC, and a script is used to pass the addresses to addr2line and determine what functions are being run, and how much ...
by ThePerfectK
Sun Dec 22, 2019 7:39 am
Forum: Programming Discussion
Topic: Restoring profiling to the KOS toolchain
Replies: 18
Views: 858

Re: Restoring profiling to the KOS toolchain

This is something I've been banging my head against trying to solve for a long while. My idea was to implement a poor man's profiler -- if you aren't familiar with the concept, it's a sampling profiler that works by having the user manually raise breakpoints randomly, then using those breakpoints as...
by ThePerfectK
Sun Dec 22, 2019 7:29 am
Forum: Programming Discussion
Topic: Simple Hello World Tutorial with X/Y
Replies: 2
Views: 152

Re: Simple Hello World Tutorial with X/Y

Hello, I looked at the wiki and noticed there was no hello world tutorial. After some googling I found a hello world tutorial . However it uses printf which means it's not possible to set its. X, Y coordinates. I would like a simple tutorial that displays Hello World in the center of the screen. ch...
by ThePerfectK
Thu Dec 19, 2019 2:26 am
Forum: Games and Software Hacking, Prototypes, and Devkits Discussion
Topic: I call it... KOStana
Replies: 8
Views: 792

Re: I call it... KOStana

The Dreamcast was actually overheating when I was testing it earlier this week, so I took a hole saw tot he side of the case and created some positive air flow with a new fan on the side. It now runs cool without problems, been running for an hour without fault. The fan for the DC: https://pbs.twimg...
by ThePerfectK
Wed Dec 18, 2019 11:17 pm
Forum: Games and Software Hacking, Prototypes, and Devkits Discussion
Topic: I call it... KOStana
Replies: 8
Views: 792

Re: I call it... KOStana

Damn dude. This is quite impressive. I thought about doing something like this; that is, using retail Dreamcast hardware put into a custom case with dials and switches hacked up to do the same thing as they do on the real dev.kit, but with additional selectable options like multibank BIOS, selectab...
by ThePerfectK
Sun Dec 15, 2019 7:23 am
Forum: Games and Software Hacking, Prototypes, and Devkits Discussion
Topic: I call it... KOStana
Replies: 8
Views: 792

I call it... KOStana

https://pbs.twimg.com/media/EL08HPqW4AAT7RV?format=jpg&name=small Finally this thing works so I can show it off. Been working on this on and off for a few months now, I'm pretty pleased with how it turned out. I've always wanted a real Katana dev kit, but after years of lusting, I figured I should ...