home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frostbyte's 1980s DOS Shareware Collection
/
floppyshareware.zip
/
floppyshareware
/
USCX
/
STEVEUT.ZIP
/
BEEP.DOC
< prev
next >
Wrap
Text File
|
1984-05-23
|
2KB
|
46 lines
BEEP:
This procedure is used from dos to beep the speaker in the
same fashion as BIOS error beep. It is 1000Hz for the duration
of 0.1 seconds. You may create any tone you prefer by modifing
the value of DI (1000) now, in the range 0 .. 65527 this deter-
mines the frequency of the sound (really the interval divisor.
The duration may be from 0.01 seconds (bx=1) to 655.36 seconds
(BX=0).
Written: 23-May-1984
Steve Leoce
201 Delaware Avenue
Kingston, New York 12401
NOTE: If BEEP.COM will not properly function on your
machine, and you desire that BEEP be converted to a .COM file
so that you can load faster and save space on disk then do the
following: Note, also BEEP.EXE will ALWAYS work because
.EXE files are DOS relocatable, .COM files are not. For this
reason .EXE files contain extra code to tell DOS loader how to
relocate the procedure. .COM files contain only the memory
binary image with no extra code except how to execute and how to
return.
(Type all things written in lower case the system responses are
shown in upper case)
debug beep.exe<cr>
-r ds
DS : #### <-- #### is the hex value in DS Prefix area
:<hit return> <-- hit return at the : prompt
-q
You MUST remember the hex number #### displayed when the
display register command (R ds).
Then, load with the DOS disk with EXE2BIN type
exe2bin beep beep.com
The system will respond: Segment Fix-ups required.
At this prompt type the hex number in DS #### from debug.
This tells the conversion program where to put the absolute
return address so that control can return to DOS.