MegaPCM
An advanced DAC driver for the Sega Mega-Drive / Genesis games
File Explorer
Download Latest Version (.zip)- Sonic-1-Github.md
- Sonic-1-Hivebrain-2005.md
- Sonic-1-Github.md
- Converting_samples.md
- Migration_from_MegaPCM_1.x.md
- Playing_DAC_BGM_with_SMPS.md
- Playing_DAC_SFX.md
- Using_Pitch_Effects.md
- API.md
- Sample_priorities.md
- Sample_table_format.md
- Troubleshooting.md
- bgm1.wav
- bgm2.wav
- bgm3.dpcmq
- demo-bootloader.asm
- demo-bootstrap.asm
- input.asm
- voice.wav
- sample-panning.asm
- sample-pitch.asm
- sample-player.asm
- sample-priority.asm
- sample-volume.asm
- dma-survival-test.asm
- kick.dpcm
- snare.pcm
- timpani.dpcm
- music81.bin
- music82.bin
- music83.bin
- music84.bin
- music85.bin
- music86.bin
- music87.bin
- music88.bin
- music89.bin
- music8A.bin
- music8B.bin
- music8C.bin
- music8D.bin
- music8E.bin
- music8F.bin
- music90.bin
- music91.bin
- music92.bin
- music93.bin
- psg1.bin
- psg2.bin
- psg3.bin
- psg4.bin
- psg5.bin
- psg6.bin
- psg7.bin
- psg8.bin
- psg9.bin
- soundA0.bin
- soundA1.bin
- soundA2.bin
- soundA3.bin
- soundA4.bin
- soundA5.bin
- soundA6.bin
- soundA7.bin
- soundA8.bin
- soundA9.bin
- soundAA.bin
- soundAB.bin
- soundAC.bin
- soundAD.bin
- soundAE.bin
- soundAF.bin
- soundB0.bin
- soundB1.bin
- soundB2.bin
- soundB3.bin
- soundB4.bin
- soundB5.bin
- soundB6.bin
- soundB7.bin
- soundB8.bin
- soundB9.bin
- soundBA.bin
- soundBB.bin
- soundBC.bin
- soundBD.bin
- soundBE.bin
- soundBF.bin
- soundC0.bin
- soundC1.bin
- soundC2.bin
- soundC3.bin
- soundC4.bin
- soundC5.bin
- soundC6.bin
- soundC7.bin
- soundC8.bin
- soundC9.bin
- soundCA.bin
- soundCB.bin
- soundCC.bin
- soundCD.bin
- soundCE.bin
- soundCF.bin
- soundD0.bin
- s1-smps-integration.asm
- s1.sounddriver.asm
- s1.sounddriver.defs.asm
- sample-table.asm
- Makefile
- Makefile
- megapcm-emu.c
- megapcm-emu.h
- instructions.h
- macros.h
- Makefile
- README.md
- tables.h
- z80config.h
- z80emu.c
- z80emu.h
- z80vm.c
- z80vm.h
- .clangd
- .gitignore
- debugger-stub.asm
- debugger.asm
- debugger.obj
- mdshell.as.asm
- mdshell.asm
- mdshell.asm68k.asm
- mdshell.obj
- commands.asm
- equates.asm
- load-driver.asm
- load-sample-table.asm
- load-sample-table.debugger.asm
- load-sample-table.defs.asm
- macros.asm
- Makefile
- Makefile.win
- megapcm.asm
- sample-table.defs.asm
- all-macros.asm
- all-macros.diff.py
- load-sample-table-debugger-dpcmhq.asm
- load-sample-table-debugger-wave.asm
- load-sample-table.asm
- Makefile
- init.asm
- load-dpcm-table.asm
- loop-calibration.asm
- loop-dpcm-turbo.asm
- loop-dpcm.asm
- loop-idle.asm
- loop-pause.asm
- loop-pcm-turbo.asm
- loop-pcm.asm
- Makefile
- megapcm.asm
- play-sample.asm
- playback-turbo.asm
- playback.asm
- process-command.asm
- set-bank.asm
- trace.asm
- vars.asm
- volume-tables.asm
- waste-cycles.asm
- Constants.asm
- Debuggers.AS.asm
- Debuggers.ASM68K.asm
- License.asm
- Macros.AS.asm
- Macros.ASM68K.asm
- Makefile
- MegaPCM.AS.cbundle
- MegaPCM.AS.Macros.cbundle
- MegaPCM.ASM68K-Linkable.cbundle
- MegaPCM.ASM68K.cbundle
- MegaPCM.ASM68K.Macros.cbundle
- Refs.ASM68K.asm
- .clangd
- .gitignore
- calibration-report.c
- Makefile
- sample-buffer-playback.c
- vm-sanity-check.c
- waste-cycles.c
- as.msg
- asw.exe
- cmdarg.msg
- ioerrs.msg
- LICENSE
- p2bin.exe
- p2bin.msg
- tools.msg
- asm68k.exe
- blobtoasm.py
- cbundle.exe
- convsym.exe
- mkvolume.py
- psylink.exe
- sjasmplus.exe
- symtoh.py
- .clangd
- dpcm-hq-conv.cpp
- Makefile
- README.md
- .clangd
- Makefile
- megapcm-rom.asm
- megapcm-viz.c
- README.md
- .gitignore
- .editorconfig
- .gitignore
- CHANGES.md
- LICENSE
- Makefile
- README.md
- toolchain.mk
# Installation Guide
1. Get the code
git clone https://github.com/vladikcomper/MegaPCM
Downloads the entire project code from GitHub to your computer.
cd MegaPCM
Moves into the project folder you just downloaded.
2. Official Install Script
Easy RecommendedPrerequisites
- APT (Debian/Ubuntu κ³μ΄) Built into Debian/Ubuntu-based Linux distributions.
sudo apt install gcc make python3 wine
Installs directly from the APT package repository (Debian/Ubuntu-based).
After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.
Pulled directly from this repo's README.
3. Make
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make # builds Mega PCM bundles
Compiles the code based on the generated build configuration to produce an executable.
make dpcm-hq-conv # builds `dpcm-hq-conv` tool
Compiles the code based on the generated build configuration to produce an executable.
make examples # builds demo ROMs using all Mega PCM bundles (AS, ASM68K, ASM68K-linkable)
Compiles the code based on the generated build configuration to produce an executable.
If it finishes without errors, it worked. Try running the generated executable directly.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
