home *** CD-ROM | disk | FTP | other *** search
/ Frostbyte's 1980s DOS Shareware Collection / floppyshareware.zip / floppyshareware / USCX / STEVEUT.ZIP / BEEP.DOC < prev    next >
Text File  |  1984-05-23  |  2KB  |  46 lines

  1. BEEP:   
  2.     This procedure is used from dos to beep the speaker in the
  3.     same fashion as BIOS error beep.  It is 1000Hz for the duration
  4.     of 0.1 seconds.  You may create any tone you prefer by modifing
  5.     the value of DI (1000) now, in the range 0 .. 65527 this deter-
  6.     mines the frequency of the sound (really the interval divisor.
  7.     
  8.     The duration may be from 0.01 seconds (bx=1) to 655.36 seconds
  9.     (BX=0).
  10.  
  11.     Written:  23-May-1984
  12.  
  13.     Steve Leoce
  14.     201 Delaware Avenue
  15.     Kingston, New York  12401
  16.     
  17.     
  18.     NOTE:  If BEEP.COM will not properly function on your
  19.     machine, and you desire that BEEP be converted to a .COM file
  20.     so that you can load faster and save space on disk then do the
  21.     following:   Note, also  BEEP.EXE will ALWAYS work because
  22.     .EXE files are DOS relocatable,  .COM files are not.  For this
  23.     reason .EXE files contain extra code to tell DOS loader how to
  24.     relocate the procedure.  .COM files contain only the memory
  25.     binary image with no extra code except how to execute and how to
  26.     return.
  27.  
  28.     (Type all things written in lower case the system responses are
  29.      shown in upper case)
  30.  
  31.     debug beep.exe<cr>
  32.     -r ds
  33.     DS : ####        <-- #### is the hex value in DS Prefix area
  34.     :<hit return>    <-- hit return at the : prompt
  35.     -q
  36.  
  37.     You MUST remember the hex number #### displayed when the
  38.     display register command (R ds).
  39.  
  40.     Then, load with the DOS disk with EXE2BIN type
  41.     exe2bin beep beep.com
  42.     The system will respond:  Segment Fix-ups required.
  43.     At this prompt type the hex number in DS  #### from debug.
  44.     This tells the conversion program where to put the absolute
  45.     return address so that control can return to DOS.
  46.