First post, by darkblacklife
Hi, I'm new... excuse me for my bad english, I'm from Argentina. And excuse me for use this forum for this request, I think is the best place for this request. Thanks for your understanding...
I was re-editing and compiling an old QBasic's program (a game) using, of course, the wonderful DosBox. I want give this to my nephew, and hi is very young (< 2 years old ) and his parents are very lazy. I know if they must install and configure DosBox they won't use this game. And I want my game never died but QBasic is a old languaje and I think now is the moment to pass this code to a new Basic languaje. For theses two reasons I began to use FreeBasic, a very similar languaje that compile executables under Windows and Linux.
But Freebasic have a problem (for me)... Doesn't have implementation for SOUND and PLAY commands of QBasic. I can emulate the QB's SOUND and use the PC-Speaker, but it is not enough, I'd like use the soundcard out (it's most modern). It's true that exists "QBSound", a collection of tools that adds QB style sound commands to FreeBasic, implementations of SOUND, PLAY and BEEP using midi lib and midi functions. But these don't sound like QB's PLAY (or SOUND).
Somebody said me: "Now SOUND and PLAY sounds better than when use PC-Speaker". It is not about better or worse, It's about "same sound", I want same sound because if sound changes, game changes...
DosBox emulates perfectly PC-Speakers sound (by the soundcard out), QB's executables sounds perfectly with DosBox. I think a DosBox's developer maybe know enough about emulation stuff (a lot more than me) and could make a library or implementation or something for SOUND, PLAY and BEEP commands using part of the DosBox source code. Maybe some DosBox's developer loves Freebasic and wants to contribute doing these procedures. I'd like to have SOUND and PLAY procedures (using the souncard out like DosBox) for my game and I think a lot of FreeBasic programmers too (especially the old QBasic programmers).
Please, if somebody can help me, write me to darkblacklife@hotmail.com
or send me the library, procedure, implementation or whatever that give me this functionality for FreeBasic.
Thanks!!!