Article View: comp.sys.amiga.tech
Article #11705Re: Inserting custom library routines
From: Colin Plumb
Date: Tue, 07 Mar 1989 08:12
Date: Tue, 07 Mar 1989 08:12
31 lines
1466 bytes
1466 bytes
Classic_-_Concepts@cup.portal.com wrote:
> How does he substitute a routine which is a superset of the original?
> He is particularly interested in applying this to the Text function.
NAME
SetFunction -- change a function vector in a library
SYNOPSIS
oldFunc = SetFunction(library, funcOffset, funcEntry)
D0 A1 A0.W D0
FUNCTION
SetFunction is a functional way of changing those parts of
a library that are checksummed. They are changed in such a
way that the summing process will never falsely declare a
library to be invalid.
INPUTS
library - a pointer to the library to be changed
funcOffset - the offset that FuncEntry should be put at.
funcEntry - pointer to new function
Basically, open the library and SetFunction() the apropriate routine.
Good luck!
--
-Colin (uunet!microsoft!w-colinp)
"Don't listen to me. I never do." - The Doctor
Technical Details
Message-ID:
<819@microsoft.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!decwrl!sun!pitstop!sundc!seismo!uunet!microsoft!w-colinpReferences:
<8902040530.AA29151@postgres.Berkeley.EDU> <19927@agate.BERKELEY.EDU> <15377@cup.portal.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!decwrl!sun!pitstop!sundc!seismo!uunet!microsoft!w-colinp From: w-colinp@microsoft.UUCP (Colin Plumb) Newsgroups: comp.sys.amiga.tech Subject: Re: Inserting custom library routines Message-ID: <819@microsoft.UUCP> Date: 7 Mar 89 08:12:51 GMT References: <8902040530.AA29151@postgres.Berkeley.EDU> <19927@agate.BERKELEY.EDU> <15377@cup.portal.com> Reply-To: w-colinp@microsoft.uucp (Colin Plumb) Organization: very little Lines: 31