Search found 122 matches

by ThePerfectK
Sat Feb 22, 2020 5:25 am
Forum: Programming Discussion
Topic: KOS vs Ninja - simple test.
Replies: 8
Views: 283

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: 8
Views: 196

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: 8
Views: 283

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: 16
Views: 368

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: 16
Views: 368

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: 16
Views: 368

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: 8
Views: 283

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: 7
Views: 398

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: 16
Views: 368

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: 16
Views: 368

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: 79

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: 7
Views: 398

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: 7
Views: 398

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: 7
Views: 398

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 ...
by ThePerfectK
Sat Nov 30, 2019 6:19 pm
Forum: Games and Software Hacking, Prototypes, and Devkits Discussion
Topic: Sonic Adventure New Year's 1998 "Kadomatsu" DLC
Replies: 12
Views: 4444

Re: Sonic Adventure New Year's 1998 "Kadomatsu" DLC

Hello again, I came across something recently that appears to have been "lost to time" according to this: https://info.sonicretro.org/Sonic_Adventure_Downloadable_Events I bought a used 4X memory card from Japan and it had the data on it. It looks like it's the "bug fixed" version, too, as the file...
by ThePerfectK
Sat Nov 30, 2019 12:04 am
Forum: Programming Discussion
Topic: Raising a gdb breakpoint manually
Replies: 1
Views: 94

Raising a gdb breakpoint manually

I want to be able to break execution outside of my program, i.e. let the user trigger a breakpoint from, say, a controller button press or letting gdb itself trigger a breakpoint, without having to either call gdb_breakpoint() from code or setting a breakpoint manually using a python-enabled sh-elf-...
by ThePerfectK
Fri Nov 29, 2019 11:45 pm
Forum: Programming Discussion
Topic: dcload-ip with DHCP support!
Replies: 24
Views: 511

Re: dcload-ip with DHCP support!

Could you please post an example of a raw payload file with a few example commands? I'd like to make sure I'm generating a payload file correctly by comparing to one you used to talk to dcload, as I'm having a bit of trouble sending commands through netcat.
by ThePerfectK
Thu Nov 28, 2019 8:42 am
Forum: Programming Discussion
Topic: Maple device questions
Replies: 14
Views: 232

Re: Maple device questions

The Saturn sticks are NOT the same, IIRC. They map to a d-pad on the left stick and buttons on the right, or something like that. This is is truly surprising, because I've actually never owned the DC Twin sticks and have just used my Saturn twin sticks going forward, on the Dreamcast, PS2, and PS3....
by ThePerfectK
Wed Nov 27, 2019 8:16 am
Forum: Programming Discussion
Topic: Maple device questions
Replies: 14
Views: 232

Re: Maple device questions

I've got two question about different input devices and how to interact with them. The first is the keyboard. I've found KOS' example and the doc page http://gamedev.allusion.net/docs/kos-current/keyboard_8h.html . I understand that each keyboard has a queue of up to 15 keys and it can only poll a ...