Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sysz still valid under 9?



I'm updating some extension code written originally for OS 8.1, so that it can run under 9.2.1. In particular, I'm increasing memory allocations in the system heap, and have a couple of questions (if there's a better list to ask, please let me know):

* Technote IMErrata02 <http://developer.apple.com/technotes/im_errata/im_errata_02.html> mentions "'sysz' resources are effective on all versions of system software". Does this statement still apply to Mac OS 9.2.1, given that it as written Aug 01 1998?

* The main change I'm making in the extension is expanding the size of several tables that I maintain, basically global arrays. Is it sufficient to merely increase the value in the 'sysz' 0 resource (or whatever the approved method from above now is) by the amount that I am increasing the size of the arrays? Or is there some other reason why I'd want to add in some more room, for other OS changes?

* On the other hand, IM:OSUtilities <http://developer.apple.com/techpubs/mac/OSUtilities/OSUtilities-192.html> states that "To allocate memory in the system heap in System 7 and later, you merely need to call the appropriate Memory Manager routines, and the system heap expands dynamically to meet your requests." So, do I need a 'sysz' 0 or not?


Thanks!
randy

[Yes, I know all the evils about extensions and TN1126 recommending BGAs. This is merely a stop-gap solution so our customer can finally use all the nice new hardware they've bought but can't use because it doesn't run 8.1. We will be (hopefully) re-writing the entire system from scratch for X whenever the customer fixes the severe cranial-rectal inversion position they've found themselves in; that is, unless said CRI doesn't lead them down the WinTel path...]




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.