;   ####             #    #     # #
;   #   #            #    #       #          The FreeWare C library for
;   #   #  ##   ###  #  # #     # ###             RISC OS machines
;   #   # #  # #     # #  #     # #  #   ___________________________________
;   #   # ####  ###  ##   #     # #  #
;   #   # #        # # #  #     # #  #    Please refer to the accompanying
;   ####   ### ####  #  # ##### # ###    documentation for conditions of use
;   ________________________________________________________________________
;
;   File:    Sound.SysBeep.s
;   Author:  Copyright  1993 Jason Williams
;   Version: 1.00 (28 Mar 1992)
;   Purpose: Does a VDU 7 in order to sound a system beep

  GET     Desk.sh.regdefs
  GET     ^.h.swinos
  GET     Desk.sh.macros


  PREAMBLE
  STARTCODE Desk_Sound_SysBeep

    STMFD   sp!, {lr}
    SWI     Desk_OS_WriteI + 7 + Desk_XOS_Bit
    Desk_Error2_CheckV
    LDMFD   sp!, {pc}^

  END
