Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ukma!xanth!krell From: krell@xanth.cs.odu.edu (Mike Krell) Newsgroups: comp.sys.amiga.tech Subject: Help wanted on SetFunction in Multi-Forth Message-ID: <7450@xanth.cs.odu.edu> Date: 30 Jan 89 13:53:27 GMT Organization: Old Dominion University, Norfolk Va. Lines: 17 I'm trying to write a simple program in Multi-Forth to replace the annoying flash generated by DisplayBeep with an audio bell instead. My idea is to use SetFunction to replace the DisplayBeep jump vector in the Intuition library with one to my own code. SetFunction requires the absolute address of the replacement routine. How do I get this address? Even if I use the FROM.HEAP word to request heap space for my routine, how do I tell Multi-Forth to compile my Forth code at the address returned by FROM.HEAP? Will this approach even work, or should I be thinking along different lines? Thanks in advance for any help. Mike Krell "I may be accused of being confused, krell@xanth.cs.odu.edu but I'm average weight for my height. My philosophy, like color TV, "I can't believe my life is all there in black and white." is happening to me." -- P. Norton M. Python