Simple SEGA Genesis homebrew example.
This demo contains examples of the following:
- [x] A generic Makefile for compilation with gendev (basically just a stripped down version of cave-story-md's Makefile)
- [x] A dud
CMakeLists.txt
to make autocomplete work in cmake-based IDEs like CLion - [x] Dynamic allocation of structs
- [x] A scrolling background
- [x] Animated sprites
- [x] XGM background music
- [x] D-pad input
- [x] Initializing a sound sample and playing it, cycling through PCM channels
- Download andwn's latest gendev build,
extract it, and move the
toolchains
directory into/opt
.
# Visit this URL for the latest build: https://github.com/andwn/gendev/releases
wget https://github.com/andwn/gendev/releases/download/2017.01.20/gendev-17.01.tar.bz2
tar xvf gendev-17.01.tar.bz2
sudo mv opt/toolchains /opt
- Clone this repository and
make
this demo.
git clone https://github.com/bdero/something-md.git something-md
cd something-md
make
- (Optional, but recommended) Compile and use BlastEm to run the rom.
hg clone https://www.retrodev.com/repos/blastem
cd blastem
make
./blastem /path/to/something.bin