Search found 85 matches

by Moopthehedgehog
Sun Feb 16, 2020 7:10 pm
Forum: Programming Discussion
Topic: DreamHAL - Dreamcast Hardware Abstraction Layer
Replies: 21
Views: 5303

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

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: 25
Views: 7247

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: 18
Views: 3995

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

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: 18
Views: 3995

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

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).
by Moopthehedgehog
Tue Dec 24, 2019 1:44 pm
Forum: Homebrew Software and Indie Games Discussion
Topic: New game: Moving Day!
Replies: 10
Views: 2736

Re: New game: Moving Day!

Just want to say v0.2 fixes the Twin Stick problems! Now I can try to beat your high score later. :P
by Moopthehedgehog
Mon Dec 23, 2019 10:29 am
Forum: Homebrew Software and Indie Games Discussion
Topic: New game: Moving Day!
Replies: 10
Views: 2736

Re: New game: Moving Day!

Ok -- I think it might be the CDI layout, possibly how you're generating the audio track or putting the CDI together after running your mkisofs command. It's definitely not the files themselves, since it works when I extract them from the CDI and make a new CDI with the Windows bootmake_cdi4dc progr...
by Moopthehedgehog
Sun Dec 22, 2019 11:43 am
Forum: Homebrew Software and Indie Games Discussion
Topic: New game: Moving Day!
Replies: 10
Views: 2736

Re: New game: Moving Day!

Twinstick (DPAD1 is left stick. DPAD2 is right stick) 0 = DPAD1-Movement + X-to-rotate (Trigger) 1 = DPAD1-Movement + Y-to-rotate (Button) 2 = All-DPAD1 3 = DPAD2-Movement + A-to-rotate (Trigger) 4 = DPAD2-Movement + B-to-rotate (Button) 5 = All-DPAD2 This right here, underappreciated peripheral. :...
by Moopthehedgehog
Sat Dec 21, 2019 11:51 pm
Forum: Games and Software Hacking, Prototypes, and Devkits Discussion
Topic: I call it... KOStana
Replies: 8
Views: 3353

Re: I call it... KOStana

I saw moop the other day in discord talking about how the modem port on the DC is actually a pretty bog standard PCI port in just a different shape, did that factor in? Just want to super quickly clarify: Even if it's not actually a true PCI slot (as that was apparently added to the SH7751R), it ca...
by Moopthehedgehog
Sun Dec 15, 2019 4:09 pm
Forum: Programming Discussion
Topic: Raising a gdb breakpoint manually
Replies: 1
Views: 332

Re: Raising a gdb breakpoint manually

There is something called the "user break controller" that exists for this purpose. It's in the "SH7750, SH7750S, SH7750R Group User's Manual: Hardware" you can find here: https://www.renesas.com/sg/en/products/microcontrollers-microprocessors/superh/sh7750/sh7750r.html#documents...
by Moopthehedgehog
Wed Dec 11, 2019 5:55 pm
Forum: Programming Discussion
Topic: dcload-ip with DHCP support!
Replies: 24
Views: 2932

Re: dcload-ip with DHCP support!

I figured out the perf counter timing! And I found a manual for them! https://www.renesas.com/us/en/doc/products/tool/001/rej10b0115_sh7750.pdf - SuperH Family E10A-USB Emulator Additional Document for Users Manual (Supplementary Information on Using SH7750) https://www.renesas.com/us/en/doc/product...
by Moopthehedgehog
Tue Dec 10, 2019 6:55 pm
Forum: Programming Discussion
Topic: dcload-ip with DHCP support!
Replies: 24
Views: 2932

Re: dcload-ip with DHCP support!

On github now (with some updated source): https://github.com/Moopthehedgehog/dcload-ip Latest CDIs attached. Each zip file contains a version that uses either performance counter 1 or 2: take your pick. Mainly meant in the event that a dev needs to use one of them, dcload can just use the other. The...
by Moopthehedgehog
Tue Dec 10, 2019 2:30 am
Forum: Programming Discussion
Topic: Dreamcast SH4 Disassembler (Modern GCC Port)
Replies: 1
Views: 929

Dreamcast SH4 Disassembler (Modern GCC Port)

Hello, I came across this old site recently and saw the dcdis4a program. It was written in old-style C code which modern GCC refuses to compile. I updated the code so that modern GCC can compile the program and made a couple of minor miscellaneous fixes to it (solving some of the more critical warni...
by Moopthehedgehog
Fri Dec 06, 2019 9:59 am
Forum: Programming Discussion
Topic: DreamHAL - Dreamcast Hardware Abstraction Layer
Replies: 21
Views: 5303

Re: DreamHAL - Dreamcast Hardware Abstraction Layer

Hmm, how about BSD 0-clause, then? Apparently public domain isn’t the same thing worldwide like I thought it was... Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLA...
by Moopthehedgehog
Fri Dec 06, 2019 1:17 am
Forum: Programming Discussion
Topic: DreamHAL - Dreamcast Hardware Abstraction Layer
Replies: 21
Views: 5303

DreamHAL - Dreamcast Hardware Abstraction Layer

DreamHAL - Dreamcast Hardware Abstraction Layer If anyone has ever used an embedded device like an STM32, MSP430, Arduino, etc. you have probably come across something known as a hardware abstraction layer (or HAL, for short). Essentially what it is is a set of functions meant to easily initialize ...
by Moopthehedgehog
Thu Dec 05, 2019 11:52 pm
Forum: Games and Software Hacking, Prototypes, and Devkits Discussion
Topic: Sonic Adventure New Year's 1998 "Kadomatsu" DLC
Replies: 16
Views: 12146

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

Neat! Glad I could contribute. Like I mentioned in the first post, if there's anything else I should check for on that memory card (it's an official 4X card) please let me know. I'm not in any hurry to wipe it or anything and there's a fair bit of data on it. Although I suppose I could just make a f...
by Moopthehedgehog
Wed Dec 04, 2019 11:43 am
Forum: Programming Discussion
Topic: dcload-ip with DHCP support!
Replies: 24
Views: 2932

Re: dcload-ip with DHCP support!

Just updating the source. Changed the interface to read_pmctr to use an array passed by reference (I want to minimize 64-bit int usage where possible) and I changed the way the performance counters are read to assembly because I saw GCC putting an unconditional branch between reads of the high and l...