Path: utzoo!mnetor!uunet!husc6!m2c!applix!scott From: scott@applix.UUCP (Scott Evernden) Newsgroups: comp.sys.amiga Subject: Re: LVOs and SetFunction Message-ID: <661@applix.UUCP> Date: 7 Mar 88 06:44:18 GMT References: <8803060000.AA29981@cory.Berkeley.EDU> Sender: news@applix.UUCP Reply-To: scott@applix.UUCP (Scott Evernden) Organization: APPLiX Inc., Westboro MA Lines: 35 In article <8803060000.AA29981@cory.Berkeley.EDU> dillon@CORY.BERKELEY.EDU (Matt Dillon) writes: > >>First off, where do the LVOs come from? Is there some file (I hope) with them >>defined? Where does one get this file? > > LVOs are defined IN the link library... They are actual symbols >used as offsets. I suppose you can recover them by decoding the link >library. Otherwise, if you don't have access to a list you need to >write a program that simply prints their values out. I do it this way from Manx: =========================== extern int lvoScrollRaster; VOID myScrollRaster(); /*********************************************/ /* get the ABS symbol describing gfx/intui lib offsets */ #asm public _LVOScrollRaster dseg _lvoScrollRaster dc.w _LVOScrollRaster cseg #endasm oldScrollRaster = SetFunction(GfxBase, (long) lvoScrollRaster, myScrollRaster); -scott