A new version is now available. It features new music, now using DAC samples. Also, the audio issues on the real hardware and the bug that caused the game to run faster have been fixed.
I would like to thank Chilly Willy, who is now in the "Thanks to" section of the credits.
Search found 61 matches
- Wed Sep 18, 2013 6:10 pm
- Forum: Demos
- Topic: Crazy Driver (simple but complete game)
- Replies: 15
- Views: 22469
- Thu Sep 12, 2013 9:47 pm
- Forum: Blabla
- Topic: Positron Wave (musical project)
- Replies: 0
- Views: 7818
Positron Wave (musical project)
I am not only a programmer, but also a music producer. Therefore, I present you my musical project: Positron Wave , whose musical style is inspired by the synthpop, italo disco and similar movements from the 1980s. The music is entirely available under the Creative Commons Attribution license. The m...
- Thu Sep 05, 2013 1:07 am
- Forum: Sound
- Topic: Unable to generate FM sound
- Replies: 11
- Views: 8550
- Wed Sep 04, 2013 4:16 pm
- Forum: Demos
- Topic: Crazy Driver (simple but complete game)
- Replies: 15
- Views: 22469
- Tue Sep 03, 2013 9:49 pm
- Forum: Demos
- Topic: Crazy Driver (simple but complete game)
- Replies: 15
- Views: 22469
Here are some of the functions related to the audio: void z80_halt() { volatile ushort* z80 = (ushort*)Z80_RESET; *z80 = 0x100; z80 = (ushort*)Z80_BUSREQ; *z80 = 0x100; while(*z80 & 0x100); } void fm_write(uchar reg, uchar val, uchar part) { volatile uchar* ctrl; volatile uchar* data; if(part == 0) ...
- Tue Sep 03, 2013 7:47 pm
- Forum: Demos
- Topic: Crazy Driver (simple but complete game)
- Replies: 15
- Views: 22469
I have finally had the opportunity to test the game on the real hardware. The PSG notes are fine in the music, but random FM notes are played instead of the desired ones. Besides, the engine sound effect can be heard sometimes, but not always, and the crash sound effect seems to be never heard. Does...
- Mon Sep 02, 2013 2:19 pm
- Forum: Sound
- Topic: Some questions about the Z80 and audio
- Replies: 1
- Views: 3005
Some questions about the Z80 and audio
1. How can DAC samples be played at the correct speed/timing? 2. Are the DAC samples signed or unsigned? 3. Should music sequence data be copied to the Z80 RAM or read by banking when the playback is controlled by the Z80? 4. Does anyone know the sample rate of the Z80 sound driver found with the S...
- Thu Aug 22, 2013 10:48 pm
- Forum: Demos
- Topic: Crazy Driver (simple but complete game)
- Replies: 15
- Views: 22469
- Wed Aug 14, 2013 10:14 pm
- Forum: Megadrive/Genesis
- Topic: "undefined reference to `__udivsi3'"
- Replies: 3
- Views: 3205
- Sat Aug 10, 2013 2:26 pm
- Forum: Demos
- Topic: Crazy Driver (simple but complete game)
- Replies: 15
- Views: 22469
Crazy Driver (simple but complete game)
Crazy Driver is a simple homebrew driving game for Sega Genesis written mostly in C. Ports to Game Boy Advance and PC are also planned. Gameplay As the name suggests, you are a crazy driver in this game. All you want is to drive fast! Crazy Driver is a simple driving game where you only need to avo...
- Fri Aug 02, 2013 10:38 pm
- Forum: Megadrive/Genesis
- Topic: "undefined reference to `__udivsi3'"
- Replies: 3
- Views: 3205
"undefined reference to `__udivsi3'"
If I try to do a division and compile, I get the following message:
What is the solution?
Code: Select all
undefined reference to `__udivsi3'
- Thu Aug 01, 2013 3:04 am
- Forum: Tools
- Topic: Simple JavaScript color tool
- Replies: 0
- Views: 7655
Simple JavaScript color tool
Here is a simple tool to find hexadecimal color values for the Genesis I have written in JavaScript: <html> <head> <script> function getColor() { var r = parseInt(document.getElementById('r').value); var g = parseInt(document.getElementById('g').value); var b = parseInt(document.getElementById('b')....
- Tue Jul 30, 2013 8:42 pm
- Forum: Sound
- Topic: Unable to generate FM sound
- Replies: 11
- Views: 8550
- Tue Jul 30, 2013 8:15 pm
- Forum: Sound
- Topic: Unable to generate FM sound
- Replies: 11
- Views: 8550
- Tue Jul 30, 2013 6:36 pm
- Forum: Sound
- Topic: Unable to generate FM sound
- Replies: 11
- Views: 8550
Unable to generate FM sound
Here is my FM function to write a value to an FM register (part I only, as it is just a test): void write_fm(uchar reg, uchar val) { uchar* ctrl = (uchar*)0xA04000; uchar* data = (uchar*)0xA04001; while(*ctrl & 0x80); *ctrl = reg; while(*ctrl & 0x80); *data = val; while(*ctrl & 0x80); } And here, my...