CD32X Test App
Moderator: BigEvilCorporation
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
CD32X Test App
Okay! Here's my first REAL test app for CD32X programming. This is a MOD Player based on my MOD playing code and mic's 32xcolor demo for the screen effect. It boots from a CD, allows you to navigate anywhere on the CD and select subdirectories and files. The largest size you can load is currently 128KBytes since that's the largest amount you can move in a single operation with my current code (I use the word ram in two 128KB banks mode). It will tell you if the file is too big. If it's not too big, it will load it and then check if it's a valid MOD file (most four, six, and eight channel MODs should work fine). Press A to enter subdirectories or load files. MODs play endlessly until you press a key. While you can press any key to stop, I recommend NOT pressing A since that also starts the MOD and I've seen it hang up on occasion. Pressing C never seems to fail. I've seen a few MODs where the CD resets while the MOD is playing... I'm not sure why. I've had a MOD playing now for the last hour, so it's not how long the CD has been sitting.
You can get the archive and source here:
http://www.mediafire.com/?dn069tm1504dnd6
If you wish to build it yourself, you'll need my boot loader:
http://www.mediafire.com/?2ngcxlsomjeejac
You can find mic's demo here:
http://jiggawatt.org/badc0de/console.htm
EDIT: Oh, forgot to mention - DMA from the 68K side is still flaky, so I currently transfer data from the 68K side through the communications registers. It's slower (duh), but works fine on real hardware 100%.
You can get the archive and source here:
http://www.mediafire.com/?dn069tm1504dnd6
If you wish to build it yourself, you'll need my boot loader:
http://www.mediafire.com/?2ngcxlsomjeejac
You can find mic's demo here:
http://jiggawatt.org/badc0de/console.htm
EDIT: Oh, forgot to mention - DMA from the 68K side is still flaky, so I currently transfer data from the 68K side through the communications registers. It's slower (duh), but works fine on real hardware 100%.
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
The only emulator with CD32X support that I'm aware of is Fusion. You need the very latest, 3.64, to get half-way decent PWM sound. I used 3.63x in linux for testing, and although it runs the program correctly, the PWM sound is awful. After it's working in Fusion, I then burn a CD to try it on real hardware.
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
This is the C version, not the asm version... maybe that's what you remember - the asm version.mic_ wrote:Hmm.. I don't remember the effect being that slow. But maybe it was - after all it's running on 1 CPU, and VRAM writes are dog slow.
There were too few "chippy" tunes for my taste in the pre-compiled version (4-channel arpeggiofests). But still a cool CD32X firsty.
The music was just some test files I keep on hand... the usual. If you have some music you'd rather have, you can compile it yourself with your own music, or send me an arc of the mods and I can compile it for you. I did that for some folks back when I did the rom-based player.
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm