ochrons/dsmi ? reverse-engineered prompt

Reverse engineered prompt

Build me a working version of this old DOS sound and music library, and make it easy to compile and try out from the source in this repo.

I want it to handle module music files and sound effects the way it did back in the 90s, with a small demo or test program that shows it working in a DOS style setup. If anything is missing or unclear in the old code, clean it up enough that it can be built and understood today, and add short notes on how to run it in an emulator like DOSBox.

If you need to check old docs or file format details online, go ahead. Just keep the result faithful to the original project and don’t turn it into a modern rewrite.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab