Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!cs.utexas.edu!tut.cis.ohio-state.edu!ucsd!hub!6600pete From: 6600pete@hub.UUCP Newsgroups: comp.sys.mac.programmer Subject: Re: Segmentation (was Re: ARRGH (Strings and things)) Message-ID: <2825@hub.UUCP> Date: 31 Oct 89 20:58:28 GMT References: <14386@well.UUCP> Sender: news@hub.UUCP Lines: 24 From article <14386@well.UUCP>, by svc@well.UUCP (Leonard Rosenthol): > By using UnloadSeg and > keeping careful watch of which segs get used the most to keep them around and > possibly preloaded one is able to not only get lots of code into very small > MF partitions but can also keep their heap from getting fragmented. > I think more programmers should start using UnloadSeg so that we can > have more small partition applications and therefore have more and more of them > running - sure I know about virtual memory, but I prefer the real thing! > So get with it folks - there is such as thing as UnloadSeg - USE IT!!! This would be a good article for Macker. How to use UnloadSeg safely. It would cover o when to do it o what to do in the rest of the code to make sure you don't access any globals accessed while their segment is swapped out o how to make sure there will always be space to load a swapped-out segment. Takers? Mail me for submission guidelines. Pete Gontier : pete@cavevax.ucsb.edu; outgoing .UUCP addresses bounce Editor, Macker : Online Macintosh Programming Journal; mail for subscription Hire this kid : Mac, DOS, C, Pascal, asm, excellent communication skills Underground : Internet BBS via rlogin 128.11.41.100 -l bbs