All Projects → DevEd2 → DevSound

DevEd2 / DevSound

Licence: MIT license
Game Boy sound driver

Programming Languages

assembly
5116 projects

Projects that are alternatives of or similar to DevSound

hamtaro-in-pieces
A disassembly of the wonderful Game Boy Color game Hamtaro: Ham-Hams Unite!
Stars: ✭ 15 (-68.75%)
Mutual labels:  game-boy, game-boy-color, rgbds
tobutobugirl-dx
An arcade platformer homebrew game for the Game Boy, Game Boy Color and Super Game Boy
Stars: ✭ 58 (+20.83%)
Mutual labels:  game-boy, game-boy-color
cart-dumper
🎮 Gameboy ROM for cartridge dumping
Stars: ✭ 24 (-50%)
Mutual labels:  rom, rgbds
Mgba
mGBA Game Boy Advance Emulator
Stars: ✭ 3,355 (+6889.58%)
Mutual labels:  game-boy, game-boy-color
awesome-n64-development
A curated list of Nintendo 64 development resources including toolchains, documentation, emulators, example code, and more
Stars: ✭ 210 (+337.5%)
Mutual labels:  asm, rom
gb-starter-kit
A customizable and ready-to-compile bundle for Game Boy RGBDS projects. Contains your bread and butter, guaranteed 100% kitchen sink-free.
Stars: ✭ 24 (-50%)
Mutual labels:  asm, rgbds
first nes
Create your own games for the Nintendo Entertainment System! This "starter" game is easily extensible for your own projects. Includes references.
Stars: ✭ 94 (+95.83%)
Mutual labels:  asm, rom
Azayaka
A cycle-accurate Game Boy and Game Boy Color Emulator, with rewind feature.
Stars: ✭ 26 (-45.83%)
Mutual labels:  game-boy, game-boy-color
boot2flappy
Flappy Bird as bootable UEFI executable
Stars: ✭ 48 (+0%)
Mutual labels:  asm
dcc
Direct/Interactive C Compiler
Stars: ✭ 18 (-62.5%)
Mutual labels:  asm
pouet2.0
The next generation of trumpets. Now with 10% more whining sound.
Stars: ✭ 129 (+168.75%)
Mutual labels:  demoscene
piugba
🎮 PIU emulator for the GBA 🎮
Stars: ✭ 43 (-10.42%)
Mutual labels:  rom
512-byte-vm
A VM image in 512 bytes. Yes, you read it right.
Stars: ✭ 29 (-39.58%)
Mutual labels:  asm
FutureDOS
A futuristic DOS
Stars: ✭ 46 (-4.17%)
Mutual labels:  asm
tilemap-studio
A tilemap editor for Game Boy, Color, Advance, DS, and SNES projects. Written in C++ with FLTK.
Stars: ✭ 247 (+414.58%)
Mutual labels:  game-boy
ios-unstripped-kexts
Unstripped iOS kernel extensions and more. More coming soon.
Stars: ✭ 43 (-10.42%)
Mutual labels:  rom
fastquery
FastQuery(Method of fast database query) 基于Java语言. 他的使命是:简化Java操作数据层.做为一个开发者,仅仅只需要设计编写DAO接口即可,在项目初始化阶段采用ASM生成好实现类. 因此,开发代码不得不简洁而优雅.从而,大幅度提升开发效率.
Stars: ✭ 63 (+31.25%)
Mutual labels:  asm
SMB3-Foundry
SMB3 Level Editor in Python
Stars: ✭ 72 (+50%)
Mutual labels:  rom
makeshift
Source code for Makeshift by Logicoma
Stars: ✭ 41 (-14.58%)
Mutual labels:  demoscene
LineageOS-Installer
A simple, graphical solution to installing LineageOS.
Stars: ✭ 18 (-62.5%)
Mutual labels:  rom

DevSound

DevSound is a sound driver for the Game Boy which supports pulse width manipulation, arpeggios, and multiple waveforms. This version is no longer under development, and I recommend using DevSound Lite instead.

Building a demo ROM and/or GBS

Note that the demo ROM is included already; these instructions are if you want to try your own modifications.

Windows

  1. Grab the RGBASM binaries. If you already have them, you can skip this step.
  2. Open a command prompt in the demo folder.
  3. Run build.bat. If that doesn't work, try either adding the RGBASM binaries to your PATH or copying them to the repository directory.

Linux

  1. Install RGBDS. If RGBDS is already installed, skip this step.
  2. Open a terminal in the demo folder.
  3. Run make.

Adding DevSound to your project

  1. Copy DevSound.asm, DevSound_Variables.asm, DevSound_Constants.asm, DevSound_Macros.asm, DevSound_SongData.asm, and NoiseData.bin to your project directory. If you're not using a file such as hardware.inc or gbhw.inc, you will need to include it as well.
  2. Allocate a ROM bank for DevSound. Make note of the bank number (unless your ROM does not use banking).
  3. Add the following line to your main loop: call DS_Play
  4. In order to load a song, use the following code:
ld a,SongID  ; replace SongID with the ID of the song you want to load
call  DS_Init
  1. In order to stop playback, use the following line of code: call DS_Stop
  2. In order to fade sound in/out, use the following code:
ld  a,X ; replace X with 0 to fade out, replace X with 1 to fade in
call DS_Fade
  1. If you need help, let me know. I can usually be reached on IRC at irc.efnet.org #gbdev, with the nick DevEd. I may also be reached on Discord in this server: https://discord.gg/gpBxq85. Just ping me (I go by the name DevEd on that server) if you need anything.

Projects that use DevSound

If you are using DevSound in your project, let me know and I'll add it to this list.

Frequently Asked Questions

TODO

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].