Did you ever get .MOD sound files working? #1
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: gered/ack3d#1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I just recently came across this github repository because I had just picked this book back up myself. Beforehand, I had already gotten the source code working to an extent, but I then found that you had fixed it all the way.
I could never get sound working on Dosbox or the Windows 95 virtual machine. The sound would work with the precompiled executable, but when I would try and play either the one I compiled or the one that you provided on this repository, I could never get sound working on anything I compiled myself.
It didn't work with my source code and it didn't work with your source code.
I was just wondering if you ever got the sound working, and whether you could provide some assistance for me in getting sound to work.
I have run out of ideas. I honestly feel that it could be something wrong with the library itself, but I am not sure.
Thank you in advance for responding to this! I know that adults are usually quite busy during the week, so if you cant help, then that is fine too.
-Ryan
I figured it out... I had some code that I had forgotten to put in the main file. :P
Glad you figured it out!
I'm curious though about something you mentioned:
Which precompiled executable are you referring to? The FDEMO/MALL exes included on the book's CD-ROM? That's interesting if so! I know the music never played for me with those exes. Once I found that the
modplay.asm
code was slightly broken here, I just assumed that was the reason (since the code is most definitely broken).Anyway, I can 100% confirm that the code included in this repository for the FDEMO and MALL projects absolutely should be playing .MOD files (works perfectly on my 486 PC). As mentioned in the readme files included in this repository, the existing code is configured to use your sound card using address 220h, IRQ 5, DMA 1 though, so if this is not correct for you, obviously you will not hear any sound. I don't use Dosbox so I don't know what it defaults to.