Search found 35 matches

by Multimedia Mike
Mon May 06, 2013 10:36 pm
Forum: Front Page News and Forum Guidelines
Topic: DCS: Sturmwind Hands on First Impression
Replies: 8
Views: 1533

Re: DCS: Sturmwind Hands on First Impression

I got my copy (photo here along some other new-old acquisitions). Hope to get a chance to play it soon.

Anyone else spring for it?
by Multimedia Mike
Mon Apr 22, 2013 7:49 pm
Forum: Programming Discussion
Topic: Reading raw audio sectors
Replies: 29
Views: 3304

Re: Reading raw audio sectors

BlueCrab wrote:I don't think there's any particular reason for it to be broken... I'm guessing this should fix it (as this is how I do it in Yabause, although in assembly, not in C):
Yeah, this looks pretty close to what I determined empirically. Do you think you could get it into the official tree?

Thanks.
by Multimedia Mike
Mon Apr 22, 2013 6:26 pm
Forum: Programming Discussion
Topic: Reading raw audio sectors
Replies: 29
Views: 3304

Re: Reading raw audio sectors

Update on the original query: cdrom_set_sector_size() doesn't work as is (in the current version of KOS). However, I was able to modify it to make it work (modified one of the parameters while reconciling the KOS code with a really ancient DC program that does this correctly). It's one of those thin...
by Multimedia Mike
Sun Apr 14, 2013 11:34 pm
Forum: Programming Discussion
Topic: dreamcast armc cpu uses?
Replies: 32
Views: 3827

Re: dreamcast armc cpu uses?

I heard about that issue. Still, the DSP could be used to offload some parts of mp3 decoding, like dequantization, although I doubt we can offload enough on the DSP to allow the ARM to follow. Do you have any solid information about how this would work? I.e., are the exact specs and programming inf...
by Multimedia Mike
Sun Apr 14, 2013 10:56 am
Forum: Programming Discussion
Topic: dreamcast armc cpu uses?
Replies: 32
Views: 3827

Re: dreamcast armc cpu uses?

Ayla wrote:All the tries on audio decoding were done using only the weak ARM, that is nowhere near capable enough to do something like this. Making use of the DSP would already be a better idea.
What do you think it means to "make use of the DSP"? Do you think it can handle the entire decoding load?
by Multimedia Mike
Sun Apr 14, 2013 1:23 am
Forum: Programming Discussion
Topic: dreamcast armc cpu uses?
Replies: 32
Views: 3827

Re: dreamcast armc cpu uses?

MP3 (or rather OGG) playback might be possible to offload to the DSP, but this component has never been used in any homebrew before, there's little info about it, and no tools (no compiler etc). MultiMedia Mike had sent me an email in the past regarding using the AICA's DSP to offload some of the l...
by Multimedia Mike
Tue Feb 12, 2013 10:08 pm
Forum: Homebrew Software and Indie Games Discussion
Topic: Ordering DC SD card reader from http://dc-sd.com/
Replies: 4
Views: 2371

Ordering DC SD card reader from http://dc-sd.com/

About a month ago, I came to learn of the existence of Dreamcast SD card adapters. I googled for such a beast and I found http://dc-sd.com/ . The slick page, PayPal option, and relatively low price (almost, but not quite, $19.95, order now!) made it frictionless to order. So I did. I never even rece...
by Multimedia Mike
Mon Jan 21, 2013 11:01 pm
Forum: Programming Discussion
Topic: Trouble with the toolchain
Replies: 39
Views: 3714

Re: Trouble with the toolchain

I just noticed that showka posted a script in a different thread that builds the toolchain on a fresh Ubuntu box. I'm investigating it now to see what I missed. Let it be known that showka's script worked for me. I'm up and running with the latest KOS using the latest toolchain. I look forward to m...
by Multimedia Mike
Mon Jan 21, 2013 10:58 pm
Forum: Programming Discussion
Topic: Reading raw audio sectors
Replies: 29
Views: 3304

Re: Reading raw audio sectors

Excellent! Thanks for this. It worked beautifully on my Ubuntu 12.04.1 LTS setup.
by Multimedia Mike
Mon Jan 21, 2013 4:16 pm
Forum: Programming Discussion
Topic: Trouble with the toolchain
Replies: 39
Views: 3714

Re: Trouble with the toolchain

@BlueCrab: You indicated that you built this on Mac OS X. Has anyone tried this on Ubuntu recently? This particular box is Ubuntu Linux 12.04.1 LTS, x86_64. I'm sure other people have, as I know I've seen pages around documenting doing it all on an VM running Ubuntu. I personally won't touch Ubuntu...
by Multimedia Mike
Mon Jan 21, 2013 3:44 pm
Forum: Programming Discussion
Topic: Trouble with the toolchain
Replies: 39
Views: 3714

Re: Trouble with the toolchain

So, the first thing I tried to do was use the stuff in utils/dc-chain to download, unpack, and 'make' the toolchain. This failed. Emboldened by the memories that I was able to build the toolchain from scratch a long time ago, the next thing I tried was to build the individual components myself. This...
by Multimedia Mike
Fri Jan 18, 2013 11:08 pm
Forum: Programming Discussion
Topic: Trouble with the toolchain
Replies: 39
Views: 3714

Re: Trouble with the toolchain

For fun, I tried compiling the toolchain using all the latest versions of things (gcc 4.7.2, binutils 2.23.1, newlib 2.0.0). I basically used the old Hangar Eleven instructions with a few modifications and it all worked. Unfortunately, KOS-git doesn't even begin to compile. I obviously missed some s...
by Multimedia Mike
Tue Jan 15, 2013 2:03 am
Forum: Programming Discussion
Topic: Trouble with the toolchain
Replies: 39
Views: 3714

Trouble with the toolchain

Wow, it's been a long time. When I started DC programming in 2001, I used the toolchain setup instructions at Hangar 11. When I periodically returned to DC programming every so often, I would refer to the same instructions (retrievable via the Internet Archive), though I would sometimes upgrade the ...
by Multimedia Mike
Sat Jan 12, 2013 5:56 pm
Forum: Programming Discussion
Topic: Disassembling a flat SH-4 binary using objdump?
Replies: 2
Views: 1735

Re: Disassembling a flat SH-4 binary using objdump?

I don't have an actual SuperH toolchain built right now to check, but I think you want something like: sh-elf-objdump -b binary -m sh4 -EL --adjust-vma=0x8c010000 -D file.bin Thanks! That works. My overcomplicated solution was to convert the raw binary to a sequence of hex numbers printed in text, ...
by Multimedia Mike
Sat Jan 12, 2013 5:23 pm
Forum: Programming Discussion
Topic: Reading raw audio sectors
Replies: 29
Views: 3304

Re: Reading raw audio sectors

Of course, KOS throws extra roadblocks in your way to trying to read GD-ROMs anyway, as the code itself says in the comments. I'd prefer to keep respecting KOS' original author Dan Potter's wishes from back in the day and keep it that way (read: if you know how to do it, please keep your mouth shut...
by Multimedia Mike
Sat Jan 12, 2013 4:28 pm
Forum: Programming Discussion
Topic: Disassembling a flat SH-4 binary using objdump?
Replies: 2
Views: 1735

Disassembling a flat SH-4 binary using objdump?

If I have an SH-4 binary in ELF format, disassembling is pretty straightforward: sh-elf-objdump -d file.elf However, I have some old SH-4 binaries compiled for the Dreamcast that are flat binary files to be loaded at and executed from 0x8c010000. It seems like I should be able to disassemble such a ...
by Multimedia Mike
Fri Jan 11, 2013 12:53 am
Forum: Programming Discussion
Topic: Reading raw audio sectors
Replies: 29
Views: 3304

Re: Reading raw audio sectors

In case this ever becomes a problem again, I'm going to try to keep my mirror of the git repository (on the Sylverant server) up-to-date as much as I can (so, every time I make a commit, it'll get updated, at least). Probably a good idea. For the record, though, the problem was with the general net...
by Multimedia Mike
Thu Jan 10, 2013 10:41 pm
Forum: Programming Discussion
Topic: Reading raw audio sectors
Replies: 29
Views: 3304

Re: Reading raw audio sectors

PH3NOM wrote:Its good to see you back, Mike!
Good to be back. I've always got Dreamcast on the brain and you know I have unfinished business with Dreamroq.
by Multimedia Mike
Thu Jan 10, 2013 10:32 pm
Forum: Programming Discussion
Topic: Reading raw audio sectors
Replies: 29
Views: 3304

Re: Reading raw audio sectors

I wouldn't really recommend to anyone to use anything other than a version of KOS that is sitting in the Git repository at this point. KOS 1.2.0 is almost 10 years old (I think it'll be 10 years this May?) and there have been so many improvements since then. Of course, if you're using 1.2.0, you're...
by Multimedia Mike
Thu Jan 10, 2013 11:38 am
Forum: Programming Discussion
Topic: Reading raw audio sectors
Replies: 29
Views: 3304

Re: Reading raw audio sectors

I did not test it, but if i do not misunderstand the comments in KallistiOS kernel/arch/dreamcast/include/dc/cdrom.h you can set the sector size to 2352 via cdrom_set_sector_size and use the cdrom_read_sectors function to read the sectors. Copied from the file mentioned above(from my slightly old v...