|
|
|
re: Enable Internal Speaker
Tuesday, April 1, 2008 at 2:23 pm Windows 98 Annoyances Discussion Forum
Posted by gewg_
(3433 messages posted)
dhm wrote:
|Go into DOS. (You don't have to boot to DOS.)
|Enter QBASIC
|
|Type BEEP
|Type PRINT "Did it beep?"
|Press F5
Nice try--but no cigar.
Turn down the volume on your amplified speakers and see what you get.
(Hint: Windoze takes over all hardware calls.)
If you want to do this, you have to be in Real DOS(tm).
...and IIRC, QBASIC isn't part of a default W98 install.
(Anyway, *I* installed it seperately.)
This trick can be also be done quite simply from a batch file.
(The file should be created in an ASCII-compliant text editor;
Windoze fonts show you those stupid, useless squares for too many things.)
The 1st line is:
@ECHO OFF
The 2nd line is:
CLS
To make the 3rd line:
ECHO{hit the spacebar once}
Make sure NumLock is engaged.
Hold down the Alt key and on the Numerical keypad enter 0 0 7
then release the Alt key.
Do a carriage return so that ECHO{space}and that character (a block with a dot)
are the only things on that line.
cache of http://www.physics.utah.edu/~wiencke/elab/ascii/ascii.html
The 4th line is:
ECHO Did it ding?
Note: Carriage returns (blank lines) after the last line of text
are not advised in batch files.
This must also be executed from Real DOS(tm) to sound the internal speaker.
To create the file from a Command Prompt:
ECHO @ECHO OFF > C:\Ding.bat
ECHO CLS >> C:\Ding.bat
ECHO ECHO ^G >> C:\Ding.bat
ECHO ECHO Did it ding? >> C:\Ding.bat
Notice that all except the 1st line have TWO greater than signs.
The ^G is what shows up on the command line when you do Alt 0 0 7.
- Written in response to:
- re: Enable Internal Speaker (dhm: Monday, March 31, 2008 at 11:10 pm)
There are presently no replies to this message.
|
|
All messages in this thread [show all]
 |  |  |  | re: Enable Internal Speaker (gewg_: Tue, Apr 1, 2008, 2:23 pm) |
| |
| |
Return to the Windows 98 Discussion Forum
|
|
|
|