[net.micro.mac] SysBeep

costin_2@h-sc1.UUCP (dan costin) (04/29/85)

*** REPLACE THIS LINE WITH YOUR MESSAGE ***

Does anyone know what the trap number for this function is?  I can't
seem to find it in any of my C libraries, and it is in the O.S. Utilities
section of the Inside Mac docs.

Alternately, how can one *easily* make the Mac beep from Manx C?

-dc

lra@rduxb.UUCP (Lonnie R. Abelbeck, AT&T Bell Labs) (04/29/85)

> 
> Does anyone know what the trap number for this function is?  I can't
> seem to find it in any of my C libraries, and it is in the O.S. Utilities
> section of the Inside Mac docs.
> 
> Alternately, how can one *easily* make the Mac beep from Manx C?
> 
> -dc

SysBeep(Tickcount) is in the "#include <osutil.h>" header file.  Or

pascal void SysBeep() = 0xa9c8;

Pass a Tickcount (integer) as the argument.

Lonnie Abelbeck
ihnp4!rduxb!lra

alexis@reed.UUCP (Alexis Dimitriadis) (05/02/85)

>
>Does anyone know what the trap number for [SysBeep()] is?  

		$A9C8
alx

-- 
_______________________________________________
  As soon as I get a regular job, the opinions expressed above
will attach themselves to my employer, who will never be rid of
them again.

	  alexis @ reed
	...ihnp4!{harvard|tektronix}!reed
	...decvax!tektronix!reed
	...teneron!reed