Path: csiph.com!usenet.pasdenom.info!gegeweb.org!news.glorb.com!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Sat, 03 Mar 2012 13:10:13 -0600 Date: Sat, 03 Mar 2012 14:10:13 -0500 From: Steven Hirsch User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.27) Gecko/20120216 Thunderbird/3.1.19 MIME-Version: 1.0 Newsgroups: comp.sys.apple2.programmer Subject: Re: Best place to hide about 30 bytes in //e RAM References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Lines: 16 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-s4OpGBGK8P9W350IvHlIZ6zFBqr0mlCB+V1XHNuClsiLBMqfdQ7b7nqQfvjpOeCcv7IlJ3Agr+P01Xp!SPZXdj2pOjvEwZzPxi2Kq3VrmS8AEKujPK+gtiVDJWG9G7XNeaj4RsaNXc/ZxXn5K2IwE55VOzZY X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2068 Xref: csiph.com comp.sys.apple2.programmer:210 On 03/03/2012 10:41 AM, Egan Ford wrote: > Programmers, > > I just created a program launcher that I'd like re-activate on CTRL-RESET. I > know that I have no control over the programs being launched and that there > will be a chance that my reset vector bytes ($3F2-$3F4) may get hosed, but in > the event they do not, where is the least likely place someone will use > memory? I tried page $BF with the worse results. Right now I am starting at > $310 with good results, but I'd like better results if possible. How about the beginning of the stack page? IIRC, few (if any) programs get that close to the end. I hacked up a modified version of the RamFast ROM that copied a small software loop into that location to speed things up when running with ZipChip or TransWarp 2e accelerators (where DMA is a non-starter). Never saw a problem with stack collisions.