🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #15439

Re: Global blowing away Mac II?

#15439
From: woody
Date: Mon, 06 Apr 1987 18:25
22 lines
1621 bytes
In article <2957@sdcsvax.UCSD.EDU> jww@sdcsvax.UCSD.EDU (Joel West) writes:
>In article <2236@cit-vax.Caltech.Edu>, woody@tybalt.caltech.edu (William Edward Woody) writes:
>Why doesn't it use 
>	scratch20	equ	$1E4
>	scratch8	equ	$9FA
>which are unallocated and rarely used by programs?
>-- 
>	Joel West

According to IM V.1, scratch20 and scratch8 are not guarenteed across 
various ROM calls.  (Apparently, they're also used as scratch space by
the ROMS.)  However, ApplScratch (I don't have IM with me, so I think
that this is the right symbol--I don't know the memory address) is 12 bytes
of scratch space useable by the application, and guarenteed unfussed with
across ROM calls.

Most likely, I'll try patching my copy of the Megamax C compiler, and 
re-compile the syslib file and see if it works on our institute's Mac II.

- William Woody                          Mac! > ][n && /|\
  woody@tybalt.caltech.edu
  woody@juliet.caltech.edu
Technical Details
Message-ID: <2244@cit-vax.Caltech.Edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!ames!cit-vax!tybalt.caltech.edu!woody
References: <2236@cit-vax.Caltech.Edu> <2957@sdcsvax.UCSD.EDU>

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!watnot!watmath!clyde!rutgers!ames!cit-vax!tybalt.caltech.edu!woody
From: woody@tybalt.caltech.edu.UUCP
Newsgroups: comp.sys.mac
Subject: Re: Global blowing away Mac II?
Message-ID: <2244@cit-vax.Caltech.Edu>
Date: Mon, 6-Apr-87 13:25:41 EST
Article-I.D.: cit-vax.2244
Posted: Mon Apr  6 13:25:41 1987
Date-Received: Wed, 8-Apr-87 03:37:22 EST
References: <2236@cit-vax.Caltech.Edu> <2957@sdcsvax.UCSD.EDU>
Sender: news@cit-vax.Caltech.Edu
Reply-To: woody@tybalt.caltech.edu.UUCP (William Edward Woody)
Organization: Calfornia Institute of Technology
Lines: 22