Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the board
Thread view  Mix view  Order
Zyzzle(R)

05.03.2013, 01:15
 

Dumb 0.9.3 Sound MODule player for DJGPP (Developers)

While searching for another good MODule music player for DOS other than Judas, or Cubic Player, I stumbled upon DUMB 0.9.3:

http://dumb.sourceforge.net/

The source is provided, but I can't get it to compile either in the latest DJGPP 2.03 or MINGW (GCC 4.6.2). My fear is that since the program was last updated in 2005, I am using too new a version, and alas the DOCS do not say WHICH version of GCC compiler to use! The code is straight C, and the makefile seems good, but I'm getting many errors about 'No DEPRECIATED_1662 code found', and the result is no binaries are created. Not even the 'example' programs dumb2wav or dumbplay are produced, I DO see a program called dumbask.exe, but it doesn't do anything.

It seems to be tied into the (obsolete) Allegro sound library. Wonder if it could instead use the WSS sound libraries to support modern sound cards in DOS.

Alas, I can't find any binaries on the net. Can anyone give it a go for compilation under DJGPP 2.03 and report back to the forum if successful?

FWIW: I also see BASSMOD source and MODPLUG source at other sites, but wonder if they could be compiled for DJGPP and DOS at all?

Rugxulo(R)

Homepage

Usono,
05.03.2013, 11:38

@ Zyzzle

Dumb 0.9.3 Sound MODule player for DJGPP

> While searching for another good MODule music player for DOS other than
> Judas, or Cubic Player, I stumbled upon DUMB 0.9.3:
>
> http://dumb.sourceforge.net/
>
> The source is provided, but I can't get it to compile either in the latest
> DJGPP 2.03 or MINGW (GCC 4.6.2). My fear is that since the program was last
> updated in 2005, I am using too new a version, and alas the DOCS do not say
> WHICH version of GCC compiler to use! The code is straight C, and the
> makefile seems good, but I'm getting many errors about 'No DEPRECIATED_1662
> code found', and the result is no binaries are created. Not even the
> 'example' programs dumb2wav or dumbplay are produced, I DO see a program
> called dumbask.exe, but it doesn't do anything.

Did you try DJGPP 2.04 ("beta") as well? I know I build it successfully a few years ago (for FBC, though they wanted an example program to use it in order to include it, which I didn't have). Though it's possible that it has some quirks (or bugs) in the build system, esp. with newer GCC, who knows.

> It seems to be tied into the (obsolete) Allegro sound library. Wonder if it
> could instead use the WSS sound libraries to support modern sound cards in
> DOS.

Allegro isn't obsolete, but 4.x is, esp. the old version that supports DOS. :-( Try the "patched Raine" version here, if all else fails.

> Alas, I can't find any binaries on the net. Can anyone give it a go for
> compilation under DJGPP 2.03 and report back to the forum if successful?

2.03 is kinda old. It's not really "that" bad, but it does lack some stuff people take for granted (e.g. snprintf) these days. Usually I just use 2.04 if possible.

> FWIW: I also see BASSMOD source and MODPLUG source at other sites, but
> wonder if they could be compiled for DJGPP and DOS at all?

When in doubt, the answer is usually "no". Most people and projects, even those that used to support DJGPP, don't anymore. Don't ask me why, guess it's not trendy enough for them. This is why it takes such heavy tweaks just to get things to work anymore, which is difficult with no help. But what can you do when upstream has no sympathy? :-(

RayeR(R)

Homepage

CZ,
05.03.2013, 12:28

@ Rugxulo

Dumb 0.9.3 Sound MODule player for DJGPP

I compiled it under DJGPP 2.04 and with latest Allegro without problems (except some warnings). Here's my package with build EXE and libs: http://rayer.g6.cz/1tmp/dumb093.zip
I cannot try it (don't support my soundcard).

---
DOS gives me freedom to unlimited HW access.

Zyzzle(R)

06.03.2013, 08:28

@ Rugxulo

Dumb 0.9.3 Sound MODule player for DJGPP

> Did you try DJGPP 2.04 ("beta") as well? I know I build it successfully a
> few years ago (for FBC, though they wanted an example program to use it in
> order to include it, which I didn't have). Though it's possible that it has
> some quirks (or bugs) in the build system, esp. with newer GCC, who knows.
>

Got it compiled finally, under DJGPP 2.03, with a few errors, nothing which seems to effect play. Had to modify the makefile to use -O3 though. I think the problem before was that I didn't use raine Allegro, so thanks for the tip! I mis spoke when I said Allegro was obsolete, I was thinking of the old MIDAS DOS sound system, which I think really is no longer current...

My compile is similar to RayeR's, and I got sound thru and old AudioPCI (=SB 16 PCI) card. dumb2wav also seems to work fine.

Back to the board
Thread view  Mix view  Order
15191 Postings in 1365 Threads, 250 registered users, 19 users online (0 registered, 19 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum