Inside Macintosh, Volume II by Apple Computer Inc

By Apple Computer Inc

Quantity II covers dossier and machine I/O, reminiscence administration and interrupt dealing with.

Show description

Read or Download Inside Macintosh, Volume II PDF

Best desktop publishing books

PostScript Language Tutorial and Cookbook

PostScript, a progressive, device-independent web page description language, is readily changing into the commonplace for printing high quality built-in textual content and snap shots. it's a robust, versatile language that has the power to explain successfully the looks of textual content, photographs, and image fabric at the revealed web page.

Italian Music Incunabula: Printers and Type

Musical notation offered strange demanding situations to the hot craft of printing within the 15th century. Its calls for have been so tricky that the 1st effect of tune from steel style used to be now not made until eventually an entire 20 years after the 1st revealed alphabetic texts. by means of the top of the century dozens of such fonts had seemed all through Europe.

Manly Crafts

Manly Crafts grants complete step by step directions for 35 artful tasks with not anything frilly, lacy, or pastel in sight. methods to make a 5-cent marriage ceremony band, leather-based iPod case, and paracord bullwhip!

Additional info for Inside Macintosh, Volume II

Example text

Adding the relative handle to the zone pointer produces a true handle for this block. For nonrelocatable blocks, the second long word of the header is just a pointer to the block's zone. For free blocks, these four bytes are unused. The structure of a tag byte is shown in Figure 13. 6 5 4 3 L 3ize c o r r e c t i o n not used 00: 01: 10: free block nonre I ocatab I e b I ock r e l o c a t a b l e block Figure 13. Tag Byte A s s e m b l y - l a n g u a g e n o t e : You can use the global constants tyBkFree, tyBkNRel, and tyBkRel to test whether the value of the tag byte indicates a free, nonrelocatable, or relocatable block, respectively.

W a r n i n g : Whenever you call the Resource Manager with SetResPurge(TRUE), it installs its own purge warning procedure, overriding any purge warning procedure you've specified to the Memory Manager; for further details, see chapter 5 of Volume I. The last field of a zone record, heapData, is a dummy field marking the bottom of the zone's usable memory space. HeapData nominally contains an integer, but this integer has no significance in itself—it's just the first two bytes in the block header of the first block in the zone.

You can examine the contents of the zone's fields, but in general it doesn't make sense for your program to try to change them. The few exceptions are noted below in the discussions of the specific fiejds. BkLim is a pointer to the zone's trailer block. Since the trailer is the last block in the zone, bkLim is a pointer to the byte following the last byte of usable space in the zone. HFstFree is a pointer to the first free master pointer in the zone. Instead of just allocating space for one master pointer each time a relocatable block is created, the Memory Manager "preallocates" several master pointers at a time; as a group they form a nonrelocatable block.

Download PDF sample

Rated 4.42 of 5 – based on 17 votes