Search results

  1. C

    Interrupt-Driven DMA PWM on the 32X

    This is how you do interrupt driven DMA PWM audio on the 32X. The first thing to ask is, why? If you wish to do more than just audio on the slave sh2, you need to make your audio code interrupt driven. That way when you do something that takes a long time, the audio will interrupt the task as...
  2. C

    Time to update to gcc 4.6.2

    Building a Genesis/32X toolchain 1 - Go here and download the following: gcc-4.6.2.tar.bz2 Decompress it to wherever you keep your projects; you should end up with a folder called gcc-4.6.2. 2.1 - Go here and download mpfr-2.4.2.tar.bz2. 2.2 - Go here and download mpc-0.9.tar.gz. 2.3 - Go...
  3. C

    SEGA CD Mode 1 Player

    There's been a lot of talk since the release of Sonic 1 with Redbook Audio, mainly people asking for code. I can see why they might not want to post their code since it's probably hacked into Sonic 1 pretty bad. However, there still exists a need to show how to use Mode 1. To that end, I did a...
  4. C

    Advanced Audio Compression on the 32X

    I've been playing with audio compression now for awhile. I've been looking at all sorts of compression formats, checking their speed vs compression vs quality. MP3 is not suitable for a number of reasons, a primary one being patent issue - right now, the U.S. is almost self-destructing over bad...
  5. C

    MD/32X Programming - Extra Lessons

    Lesson 1 - Make your own makefiles Since a makefile is an important part of any gcc project, we should probably take a look at an example and see how everything works together so you can make your own. One thing I should stress right off the bat - KEEP IT SIMPLE, STUPID!! The KISS method is...
  6. C

    Example code for MD/32X games

    MD/32X programming Examples These use the toolchain built via the guide in this thread. Here is an archive with example code - it includes Tic-Tac-Toe in both C and C++ for both the MD and the 32X, as well as Yeti3D for the 32X. The linker scripts included are older than the ones in the...
  7. C

    Building your own MD/32X Toolchain

    Things seem a little slow here, so I decided to make a few threads on stuff I've been doing lately. Building a new Genesis/32X toolchain 1 - Go here and download the following: gcc-4.5.2.tar.bz2 gcc-g++-4.5.2.tar.bz2 gcc-objc-4.5.2.tar.bz2 Decompress them all in the same folder; you should...
  8. C

    Doom for Dreamcast v1.1.1

    I recently (a couple weeks ago) got a Dreamcast and decided to do a quick project to learn the tools used for Dreamcast homebrew. Here's the result - Doom. This is based on my PSP Doom port, which was in turn based on an older version of Doom for the Amiga I worked on. DCDoom-SW-CW-1.1.1.sbi...
  9. C

    CVSD Compressed Audio

    In case folks don't check out SpritesMind, I've been working on CVSD compression. I just posted an example of using the Z80 to decompress the audio. Comes with source. musicdemo-1.7z A slight overview: CVSD takes 16 bit samples at one frequency, then compresses them down to 1 bit per sample at...
Top