parkern@jacobs.CS.ORST.EDU (Neil Parker) (05/21/91)
OK--here's one for the real IIGS gurus our there. On ROM 01, the pointer to the Memory Manager's list of active blocks is at $E1/1600, the pointer to the list of purged blocks is at $E1/1604, and the pointer to the list of free blocks is at $E1/1608. Are these three pointers still in the same place in ROM 3? If not, where have they moved to? I need this information because I want to write a program that walks the handle list, identifying certain kinds of blocks on the basis of UserID, attributes, and size. To do so, I must of course find the start of the list, and I'd like to do so in a way that works on ROM 3 as well as ROM 01. (I realize I could call FindHandle($000000), but that only works for the "used" list--not for the "purged" list or the "free" list.) - Neil Parker -- Neil Parker No cute ASCII art...no cute quote...no cute parkern@jacobs.cs.orst.edu disclaimer...no deposit, no return... parker@corona.uoregon.edu (This space intentionally left blank: )
dlyons@Apple.COM (David A. Lyons) (05/21/91)
In article <1991May21.082040.20195@lynx.CS.ORST.EDU> parkern@jacobs.CS.ORST.EDU (Neil Parker) writes: >On ROM 01, the pointer to the Memory Manager's list of active blocks is at >$E1/1600, the pointer to the list of purged blocks is at $E1/1604, and the >pointer to the list of free blocks is at $E1/1608. > >Are these three pointers still in the same place in ROM 3? [...] They're still there--not guaranteed officially, but fairly safe. If that ever changes, then Memory Peeker, Nifty List, Mangler, and other utilities would have to be changed to keep working. -- David A. Lyons, Apple Computer, Inc. | DAL Systems Apple II System Software Engineer | P.O. Box 875 America Online: Dave Lyons | Cupertino, CA 95015-0875 GEnie:DAVE.LYONS CompuServe:72177,3233 Internet:dlyons@apple.com My opinions are my own, not Apple's.