I'm posting an arc of the source needed to build my latest toolchain, along with a few examples. All the needed code is included together with a makefile to build everything at once. The toolchain is comprised of
gcc 12.1.0
binutils 2.38
newlib 4.2.0
zasm 4.4
Those are all the latest releases...
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...
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...
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...
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...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.