home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 1 / RISC_DISC_1.iso / pd_share / code / desklib / Libraries / Sound / s / SysBeep
Encoding:
Text File  |  1993-03-28  |  872 b   |  28 lines

  1. ;   ####             #    #     # #
  2. ;   #   #            #    #       #          The FreeWare C library for
  3. ;   #   #  ##   ###  #  # #     # ###             RISC OS machines
  4. ;   #   # #  # #     # #  #     # #  #   ___________________________________
  5. ;   #   # ####  ###  ##   #     # #  #
  6. ;   #   # #        # # #  #     # #  #    Please refer to the accompanying
  7. ;   ####   ### ####  #  # ##### # ###    documentation for conditions of use
  8. ;   ________________________________________________________________________
  9. ;
  10. ;   File:    Sound.SysBeep.s
  11. ;   Author:  Copyright © 1993 Jason Williams
  12. ;   Version: 1.00 (28 Mar 1992)
  13. ;   Purpose: Does a VDU 7 in order to sound a system beep
  14.  
  15.   GET    h.regdefs
  16.   GET     h.swinos
  17.   GET     h.macros
  18.  
  19.  
  20.   PREAMBLE
  21.   STARTCODE Sound_SysBeep
  22.  
  23.     STMFD   sp!, {lr}
  24.     SWI     OS_WriteI + 7 + XOS_Bit
  25.     LDMFD   sp!, {pc}^
  26.  
  27.   END
  28.