home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / programm / 15236 < prev    next >
Encoding:
Text File  |  1992-09-09  |  2.4 KB  |  52 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!wupost!gumby!destroyer!terminator!potts
  3. From: potts@itl.itd.umich.edu (Paul Potts)
  4. Subject: Protected Memory (was: Re: THINK C linker makes me sad)
  5. Message-ID: <1992Sep9.175006.12531@terminator.cc.umich.edu>
  6. Sender: news@terminator.cc.umich.edu (Usenet Owner)
  7. Organization: Instructional Technology Laboratory, University of Michigan
  8. References: <1992Sep09.054939.1042@km4ba.uucp> <1992Sep9.130716.5621@terminator.cc.umich.edu> <srsnphf.stever@netcom.com>
  9. Distribution: usa
  10. Date: Wed, 9 Sep 1992 17:50:06 GMT
  11. Lines: 39
  12.  
  13. In article <srsnphf.stever@netcom.com> stever@netcom.com (Steve Riggins) writes:
  14. >Will all this A4 stuff Think uses break when the protected memory kernal comes
  15. >out and the PowerPC ships?  8-)
  16. >
  17.  
  18. This looks like the start of a longer discussion, so I modified the subject.
  19.  
  20. Interesting question...
  21.  
  22. It seems to me that there are many internals that will have to change, but
  23. the goal I guess would be to maintain source-code compatibility wherever
  24. possible. Since an XCMD loads in Hypercard's heap and is called on
  25. Hypercard's time (process), I would think that the use of A4 wouldn't be
  26. a problem, as long as it gets set up right. The mechanism to set it up right
  27. might change; I never did completely understand how the A4 prologue/epilogue
  28. code worked. 
  29.  
  30. More difficult would be: Toolbox calls that return a pointer to a data
  31. structure in system memory. I'm not fully conversant with how the PMMU can
  32. be programmed for memory protection, but it seems to me that a lot of things
  33. will have to be stored and returned differently. If everything is done 
  34. with Toolbox calls, rather than stuffing into system data structures, this
  35. might not be too painful.
  36.  
  37. Is it time for Apple to release "The Joys of Protected Memory," as they once
  38. released "The Joys of being 32-bit clean" before System 7 came out?   
  39.  
  40. >
  41. >-- 
  42. >Steve Riggins                  Internet: stever@netcom.com
  43. >AppleLink:  Voyager.geek       AOL:      RigginsS
  44. >CompuServe: 75300,1635         "Can never have enough EMail addresses"
  45.  
  46.  
  47. -- 
  48. "...remove protective cap. Hold atomizer with thumb at base and nozzle 
  49. between first and second fingers. Without tilting head, insert nozzle into 
  50. nostril. Fully depress rim with a firm, even stroke and sniff deeply."
  51. -advice for presidential candidates from Paul Potts - potts@itl.itd.umich.edu
  52.