Computing.Net > Forums > Windows XP > qbasic sound

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

qbasic sound

Reply to Message Icon

Name: jz
Date: November 29, 2008 at 12:01:01 Pacific
OS: winxp sp3
CPU/Ram: PIII 600MHz/256mb ram
Product: IBM PC 300GL/6563-86U
Comment:

I got QBASIC program off of my old computer along with an example file (nibbles.BAS) and when I tried to run the example file everything worked but the sound. It uses the PLAY command to play small sounds (in the intro and during play). The BEEP command does not work either.



Sponsored Link
Ads by Google

Response Number 1
Name: paulsep
Date: November 29, 2008 at 12:42:48 Pacific
Reply:

As I know, it's not possible to play sound to the sound card by DOS programs.

In the time of Windows 95/98, you also had to install and load DOS drivers for the sound card, which where loaded before Windows 95/98 started up.
After that you where able to play sound at the sound card from within a DOS program.

I guess, the only way is, to run the machine in pure DOS mode by using a floppy disk or BOOT CD you may have created, that let's you start in DOS mode, load DOS sound driver and start your QBasic program.


0

Response Number 2
Name: jz
Date: November 30, 2008 at 07:41:35 Pacific
Reply:

it used to work in win2k.


0

Response Number 3
Name: paulsep
Date: November 30, 2008 at 08:50:34 Pacific
Reply:

W2K, WinXP, same problem.


0

Response Number 4
Name: jz
Date: December 8, 2008 at 15:42:10 Pacific
Reply:

There was never a problem on win2k.
actually I just ran it on my other computer (win2k) and the sound worked but that computer is very slow. I remember it working on my laptop (win2k) too. I guess what I really want to know was if there was some kind of dos sound compatibility fix that windows 2k came with that win xp doesn't ship with that can be obtained for free from microsoft.


0

Response Number 5
Name: paulsep
Date: December 8, 2008 at 19:08:40 Pacific
Reply:

Ah, ok.
Open Explorer and navigate to \windows\system32.
Edit the Autoexec.nt file.
There are some REM lines, that has to be aktivated, to configure sound for the NTVDM (Virtual DOS Machine).


0

Related Posts

See More



Response Number 6
Name: jz
Date: December 13, 2008 at 07:33:39 Pacific
Reply:

The sound blaster II support was already enabled.


0

Response Number 7
Name: jz
Date: February 20, 2009 at 13:53:27 Pacific
Reply:

Also, (if anyone is still looking at this post) Qbasic uses the pc speaker, not a sound card. It may also be because my computer is an ibm 300gl and the pc speaker is also the speaker for the sound card, windows is not recognizing a pc speaker in the computer since it's already being used.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: qbasic sound

Disable old sound card www.computing.net/answers/windows-xp/disable-old-sound-card/178461.html

no sound www.computing.net/answers/windows-xp/no-sound/178627.html

Bad sounding CDs www.computing.net/answers/windows-xp/bad-sounding-cds/19318.html