🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #12093

SetFunction

#12093
From: Alexander Hinds
Date: Mon, 03 Apr 1989 12:48
14 lines
920 bytes
	Can anybody tell me how to use SetFunction()?  I want to replace
DisplayBeep to point to my own code, because I hate screen flashing.  I'd
like it to play an IFF sample, or use SPEAK: instead.  I thought it would be
a cool hack.  Unfortunately, I seem to call SetFUnction incorrectly.  I did:

	SetFunction(IntuitionBase,(long)-60,&MyFunction);
I used -60 because it is DisplayBeep() offeset.(I think).  Any help would
be appreciated, and a personal response would be much better than one posted.

Sincerely,,
	Alexander HInds

USENET:ahinds@hvrford
Technical Details
Message-ID: <518@hvrunix.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!lll-winken!uunet!cbmvax!vu-vlsi!hvrunix!ahinds

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!lll-winken!uunet!cbmvax!vu-vlsi!hvrunix!ahinds
From: ahinds@hvrunix.UUCP (Alexander Hinds)
Newsgroups: comp.sys.amiga.tech
Subject: SetFunction
Keywords: can't get it work
Message-ID: <518@hvrunix.UUCP>
Date: 3 Apr 89 12:48:10 GMT
Organization: Haverford College, Haverford, PA
Lines: 14