Search found 78 matches

by Moopthehedgehog
Tue Mar 31, 2020 8:43 pm
Forum: Gaming Forum
Topic: Dreamcast Classic
Replies: 16
Views: 278

Re: Dreamcast Classic

I never really liked the mini/classic consoles. The only one that caught my interest was the SNES mini because it came with an official release of Star Fox 2, but when I saw it at a convention, it ran horribly on the SNES mini. Don't know if the build they put on there was poorly optimized or if th...
by Moopthehedgehog
Mon Mar 23, 2020 12:32 am
Forum: Programming Discussion
Topic: Restoring profiling to the KOS toolchain
Replies: 18
Views: 455

Re: Restoring profiling to the KOS toolchain

Awesome! Thanks for this! I remember seeing that someone else wrote a library for the SH4 performance counter. They seemed to be getting odd results, with it looking like the results were being multiplied by the peripheral clock or something (which does not make sense). The library I made does not s...
by Moopthehedgehog
Fri Mar 20, 2020 2:32 pm
Forum: Programming Discussion
Topic: DreamHAL - Dreamcast Hardware Abstraction Layer
Replies: 6
Views: 328

Re: DreamHAL - Dreamcast Hardware Abstraction Layer

So I had a pretty dumb problem where division involving negative numbers was pretty broken using MATH_Fast_Divide() and MATH_Invert(). This has now been fixed in sh4_math.h version 1.1.1. The now-fixed MATH_Invert() has been renamed to MATH_Fast_Invert() for consistency with naming convention (so if...
by Moopthehedgehog
Sat Feb 29, 2020 12:59 am
Forum: Gaming Forum
Topic: Dreamcast Classic
Replies: 16
Views: 278

Re: Dreamcast Classic

Ah, I've been meaning to send them a letter asking if they'd be willing to provide the community with hardware documentation. We don't actually need the SDKs or anything, just an official source for official hardware docs/errata sheets/specifications would be super nice. Even a modern day Dreamcast ...
by Moopthehedgehog
Mon Feb 24, 2020 3:24 am
Forum: Programming Discussion
Topic: High Resolution Dreamcast Video Modes!
Replies: 11
Views: 1147

Re: High Resolution Dreamcast Video Modes!

Ok, I think I fixed it. Just pushed an update to the DreamHAL repo.
by Moopthehedgehog
Mon Feb 24, 2020 1:50 am
Forum: Programming Discussion
Topic: High Resolution Dreamcast Video Modes!
Replies: 11
Views: 1147

Re: High Resolution Dreamcast Video Modes!

I'm not sure what's difficult about multiplying a texture's horizontal dimension by STARTUP_video_params.video_scale_multiplier; that's all there is to it. There's no fancy algorithm or anything like that. If that doesn't work right, it means my scale might be off by a tiny bit. Sounds like that mig...
by Moopthehedgehog
Sun Feb 23, 2020 12:11 pm
Forum: Programming Discussion
Topic: KOS vs Ninja - simple test.
Replies: 11
Views: 435

Re: KOS vs Ninja - simple test.

Glad it's working for you! I did recently update it to make it even better, too. Check the version at the top of the file to make sure you're using the latest version. :) I found ways to make use of parallelism for prefetching and added some other things (Sum of Squares, linear interpolation & spher...
by Moopthehedgehog
Thu Feb 20, 2020 2:53 pm
Forum: Programming Discussion
Topic: High Resolution Dreamcast Video Modes!
Replies: 11
Views: 1147

Re: High Resolution Dreamcast Video Modes!

Hmm, so apparently KOS assumes RGB565 (16-bit color), potentially in more than just vid_init. So if you set the color mode to FB_RGB565 and use one of the PVR 32x32 resolutions, it may show up properly. If it works, it means something in KOS needs to be changed to allow for the other RGB modes.
by Moopthehedgehog
Thu Feb 20, 2020 9:54 am
Forum: Programming Discussion
Topic: High Resolution Dreamcast Video Modes!
Replies: 11
Views: 1147

Re: High Resolution Dreamcast Video Modes!

Aha! That makes sense! Thanks. I've also noticed that kos internally configures some pvr parts with an assumed 640x480 resolution so those might need to be modified. If you are referring to the vid_init() function in init.c, that's what I'm overriding by writing those 3 KOS parameters. But, if you ...
by Moopthehedgehog
Thu Feb 20, 2020 12:34 am
Forum: Programming Discussion
Topic: High Resolution Dreamcast Video Modes!
Replies: 11
Views: 1147

Re: High Resolution Dreamcast Video Modes!

Yeah, I don’t know much about working with the holly either, but if using it you should probably stick to the PVR 32x32 modes—that’s why I made them: no overdraw, no wasting pixels. The Dell 1702fp is one of the monitors I tested, seems like your model is a much updated version of it. It’s a 5:4 mon...
by Moopthehedgehog
Tue Feb 18, 2020 4:14 pm
Forum: Programming Discussion
Topic: High Resolution Dreamcast Video Modes!
Replies: 11
Views: 1147

Re: High Resolution Dreamcast Video Modes!

Oh yeah, the stuff I have in dc_main.c is just my really garbage code for making sure the resolutions were all set correctly. 1280x960 is just one of the higher ones and its framebuffer is exactly the same size as 640x480 so I used it to ensure that my memsets don’t overrun the buffer like they do w...
by Moopthehedgehog
Sun Feb 16, 2020 7:31 pm
Forum: Programming Discussion
Topic: High Resolution Dreamcast Video Modes!
Replies: 11
Views: 1147

High Resolution Dreamcast Video Modes!

Hi all! I spent a lot of time the last couple weeks working on getting the Dreamcast to output all kinds of high resolution video modes. It's part of DreamHAL, which I have written about here: https://dcemulation.org/phpBB/viewtopic.php?f=29&t=105371 And is hosted here: https://github.com/Moopthehed...
by Moopthehedgehog
Sun Feb 16, 2020 7:10 pm
Forum: Programming Discussion
Topic: DreamHAL - Dreamcast Hardware Abstraction Layer
Replies: 6
Views: 328

Re: DreamHAL - Dreamcast Hardware Abstraction Layer

If anyone is interested in getting updates to that repository, I recommend hitting the "watch" button on the repo. Stars don't send you e-mails whenever I add to it. E.g. I just added a ton of new high-resolution video modes the Dreamcast can do.
by Moopthehedgehog
Wed Jan 29, 2020 2:40 pm
Forum: Programming Discussion
Topic: dcload-ip with DHCP support!
Replies: 24
Views: 539

Re: dcload-ip with DHCP support!

Just an update, bumped it to version 1.1.1. Made some major enhancements to the exception handler (in the event of an exception, dcload sends the regdump that is printed onscreen over the network now, and the exception handler actually works right), fixed video mode setup so that VGA isn't shifted u...
by Moopthehedgehog
Mon Jan 27, 2020 2:06 am
Forum: Programming Discussion
Topic: KOS vs Ninja - simple test.
Replies: 11
Views: 435

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? https://github.com/Moopthehedgehog/DreamHAL/blob/master/inc/sh4_math.h Extremely. Let me know if it breaks. These should run...
by Moopthehedgehog
Fri Jan 10, 2020 8:56 pm
Forum: Gaming Forum
Topic: Dreamcast Classic
Replies: 16
Views: 278

Re: Dreamcast Classic

I came across this random thing recently: http://ebook.pldworld.com/_eBook/SEGA/150-000105-1e_SegaDreamcast.pdf It's a complete cost-analysis of the Dreamcast hardware done in 2000 (it's legit, too: Portelligent has since been bought by CMP Technologies, which were then bought by UBM. Same company b...
by Moopthehedgehog
Wed Jan 08, 2020 2:16 pm
Forum: Programming Discussion
Topic: VMU Game Uploader
Replies: 3
Views: 594

Re: VMU Game Uploader

I can’t delete this post, but apparently I can’t read.

It’s still necessary on KOS 2.1.0 as of last month.
by Moopthehedgehog
Tue Jan 07, 2020 1:26 am
Forum: Gaming Forum
Topic: Dreamcast Classic
Replies: 16
Views: 278

Re: Dreamcast Classic

Oh yeah? https://www.digipart.com/part/HD6417091RA 150k+ SH7091s, $8 a pop. Who needs to emulate when you can still buy the actual CPUs for a pittance? Get the holly on an fpga and that’s about $100 for a Dreamcast “redux.” It may even be possible to do it for less. (I doubt SEGA will be the ones to...
by Moopthehedgehog
Tue Dec 31, 2019 6:36 pm
Forum: Programming Discussion
Topic: dcload-ip with DHCP support!
Replies: 24
Views: 539

Re: dcload-ip with DHCP support!

Just an update: It's DONE!!!
Just in time for New Year's!

See the GitHub page linked in the first post for the latest releases (there's one for each of the two performance counters).