Path: utzoo!attcan!uunet!wuarchive!gem.mps.ohio-state.edu!apple!mattd From: mattd@Apple.COM (Matt Deatherage) Newsgroups: comp.sys.apple Subject: Re: Paintworks Gold Patch for 5.0 Summary: Memory can still get you Message-ID: <36002@apple.Apple.COM> Date: 28 Oct 89 17:39:36 GMT References: <8910160027.AA01105@decwrl.dec.com> <2939@umn-d-ub.D.UMN.EDU> Organization: Apple Computer Inc, Cupertino, CA Lines: 47 In article <2939@umn-d-ub.D.UMN.EDU> ptrepan1 (pat trepanier) writes: >In article <8910160027.AA01105@decwrl.dec.com>, craparotta@liovax.enet.dec.com (Physical T5--Virtual T7) writes: >> Here is the Paintworks Gold patch that I have. This is also written by >> Jason Harper. Hope it helps >> >> Search the program file for the bytes C9 08 00 D0 CE, and change the $08 >> to a $7F. It's trying to allocate a 640K block of contigious memory, and is >> only checking the first 512K of your computer for the start of such a block > >I tried this patch and all that happens is I get the Paintworks Gold title >screen and then it crashes into the monitor. I even tried this with ram disk >set to 0k and it still didin't work, by the way it will eork under GS/OS 4.0. > >I don't know if it is just me or why it dosen't seem to work. > > Pat Trepanier > ptrepan1@ub.d.umn.edu May I say, first of all, that lines in messages longer than 80 characters really mess up my terminal program at home when I try to use vi. Just a note to alert those out there to try to avoid such lines if they can. PWGold is looking for a 640K block that begins on a bank (64K) boundary. The first problem is that it only looks in the first 512K to find such a block which means it ignores one if it exists in a large machine (like a 2 or 4 MB IIgs, for example). Jason's patch doesn't get around the second problem, which is that a contiguous block of memory 640K long has to exist. The patch makes it search the entire machine instead of just the first 512K for such an area, but the program will still unceremoniously crash if it can't find one at all. Adding more memory to your machine should make the patched version work. (To those thinking "purgeall", it won't help. The Memory Manager will dump all purgeable memory during the search since it's trying to allocate memory at a specific address which is already occupied, like bank 2.) -- ----------------------------------------------------------------------------- Matt Deatherage, Apple Computer, Inc. | "The opinions expressed in this tome Send PERSONAL mail ONLY (please) to: | should not be construed to imply that Amer. Online: Matt DTS | Apple Computer, Inc., or any of its ThisNet: mattd@apple.com | subsidiaries, in whole or in part, ThatNet: (stuff)!ames!apple!mattd | have any opinion on any subject." Other mail by request only, please. | "So there." -----------------------------------------------------------------------------