🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #16180

Re: Patch for many problem programs and 4.1

#16180
From: lsr
Date: Fri, 15 May 1987 17:58
41 lines
1881 bytes
In article <248@trwspf.TRW.COM> vito@trwspf.UUCP (Herb Barad) writes:
>Try this on your favorite problem application:
>
>find 02B6 and change this to 0A78

Just a few words of explanation.

The purpose of this patch is to change applications that use memory
location $2B6 (which was reserved by Apple and is now used in System 4.1)
to use location $A78 (which is the start of a 12 byte area that is
available to applictions).

There are 2 things to watch out for:

(1) Locating all occurences of 02B6 is potentiall dangerous since those 2
bytes may occur in other circumstances.  Ideally, you should check to see
if those bytes are part of an instruction that is actually referencing the
memory location, and not something else.

(2) Since the 12-byte area is available to applications, it is possible that
the application is already using it.  (I suppose one could search of
occurrences of 0A78 first to see if this is true.)  Since the scratch area
is 12 bytes long, there are other possible choices for the replacement
string.

Also, the usual advice (work on a copy of the application, etc.) applies.






-- 
Larry Rosenstein

Object Specialist
Apple Computer

AppleLink: Rosenstein1
UUCP:  {sun, voder, nsc, mtxinu, dual}!apple!lsr
CSNET: lsr@Apple.CSNET
Technical Details
Message-ID: <771@apple.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!ames!oliveb!pyramid!voder!apple!lsr
References: <248@trwspf.TRW.COM>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!ames!oliveb!pyramid!voder!apple!lsr
From: lsr@apple.UUCP
Newsgroups: comp.sys.mac
Subject: Re: Patch for many problem programs and 4.1
Message-ID: <771@apple.UUCP>
Date: Fri, 15-May-87 13:58:23 EDT
Article-I.D.: apple.771
Posted: Fri May 15 13:58:23 1987
Date-Received: Sat, 16-May-87 15:47:28 EDT
References: <248@trwspf.TRW.COM>
Reply-To: lsr@apple.UUCP (Larry Rosenstein)
Distribution: world
Organization: Advanced Technology Group, Apple Computer
Lines: 41