# Macintosh Revealed, Volume Four: Expanding the Toolbox — source transcripts, page 1

[Canonical transcript page](https://www.vintageapple.net/transcripts/media/va-macintosh-revealed-voume-four-expanding-the-toolbox-1990-5159da/1)

## Transcribed source material

Machine transcriptions and image descriptions; uncertain copy may be marked [illegible]. Verify against the linked originals. Historical rights remain with the original owners.

These are transcribed excerpts, not the full publications. Open the originals for remaining pages.

### Image 1

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-macintosh-revealed-voume-four-expanding-the-toolbox-1990-5159da/1#scan-948a907c5fbfc3a443d8beb19b7ae2c1d4f13e890f8224ee80dcd157d0edf72d)

Macintosh Revealed

Transcribed text:

HAYDEN Macintosh Library BOOKS

Macintosh® Revealed

Expanding the Toolbox

Volume Four

• Covers programming the Macintosh® II & Macintosh® SE
• Add color and style to your Macintosh programs
• Take full advantage of the MultiFinder™ features

Stephen Chernicoff

Image description: A book cover with a purple-to-gray gradient background, a green top band, a cyan wavy line, and a central framed photo of geometric metallic prisms and cubes set in an arched architectural niche against a blue sky.

Reading notes: Bullet text and italic subtitle are small and stylized; wording transcribed as best read. The series name in the top band is in a stylized script and was read as 'Macintosh Library'.

Printed product names: Macintosh II · Macintosh SE

Languages: English

[Original Image 1](https://www.vintageapple.net/files/2ce1aa58b330903773000c6165cc50c25600c2c9414823d2c8653d622d9ac47a/b9ad5e22be02850e024b02a8.webp)

### PDF page 1

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-macintosh-revealed-voume-four-expanding-the-toolbox-1990-5159da/1#scan-b8b783de40601e288803cd9fcd9bc0dbbf9b6c4cb74ddcf0de0965cfbbf1e59f)

Macintosh Revealed

Transcribed text:

HAYDEN Macintosh Library BOOKS

Macintosh® Revealed
Expanding the Toolbox

Volume Four

• Covers programming the Macintosh® II & Macintosh® SE
• Add color and style to your Macintosh programs
• Take full advantage of the MultiFinder™ features

Stephen Chernicoff

Image description: A book cover with a purple-to-gray gradient background, a green top band with a cyan script 'Macintosh Library' logo, a framed photo of dark geometric prisms and pyramids in an arched architectural niche against a blue sky, and a cyan wavy line across the middle.

Reading notes: Bullet point and small italic subtitle text are slightly stylized and may vary in exact glyph rendering. The 'Macintosh Library' script in the top band is decorative and transcribed as best read.

Printed product names: Macintosh · Macintosh II · Macintosh SE

Languages: English

[Original PDF page 1](https://www.vintageapple.net/files/436b6d8e3522afd82459e6d309291245834926ed4b96ee20f80e3daea3c0e466/Macintosh_Revealed_Voume_Four_Expanding_the_Toolbox_1990.pdf#page=1)

### PDF page 2

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-macintosh-revealed-voume-four-expanding-the-toolbox-1990-5159da/1#scan-73967f8643fe873c687326006f96d31e3240a4eb209acd5693a053ef3acedace)

Image description: The image is an entirely blank white page with no visible artwork, layout, or printed content.

Reading notes: No visible text found; the page appears blank.

[Original PDF page 2](https://www.vintageapple.net/files/436b6d8e3522afd82459e6d309291245834926ed4b96ee20f80e3daea3c0e466/Macintosh_Revealed_Voume_Four_Expanding_the_Toolbox_1990.pdf#page=2)

### PDF page 3

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-macintosh-revealed-voume-four-expanding-the-toolbox-1990-5159da/1#scan-ffe282d752ddeb8c5f57d6482921caccfd748137df50c589cb35f2a765c1f4e6)

Transcribed text:

RELATED   T   I   T   L   E   S
Macintosh® Revealed Volume 1:   Unlocking   the Toolbox,
Second Edition
Stephen Chemicoff
Macintosh® Revealed Volume 2:   Programming   with the Toolbox,
Second   Edition
Stephen Chemicoff
Macintosh® Revealed Volume 3: Mastering the Toolbox
Stephen Chemicoff
The Macintosh® Advisor   (Updated   for MultiFinder   ™)
Cynthia Harriman and Bencion Calica
How to Write Macintosh® Software, Second Edition
Scott Knaster
Macintosh® Hard Disk Management,   Second   Edition
Charles Rubin and Bencion Calica
Object-Oriented   Programming   for the Macintosh®, Second Edition
Kurt]. Schmucker and Carl Nelson
(forthcoming)
HyperTalk®   Programming   (Version 1.2), Revised Edition
Dan Shafer
Understanding HyperTalk TM
Dan Shafer
Using   ORACLE®   with HyperCard®
Dan Shafer
Personal   Publishing   with the Macintosh®
(Featuring   PageMaker®   Version   2.0),   Second   Edition
Teny M.   Ulick
The Waite Group's HyperTalk® Bible
The Waite Group
The Waite Group's Tricks of the HyperTalk® Masters
The Waite Group
For the retailer nearest you, or to order directly from the publisher, call
800-257-5755.   International orders telephone   609-461-6500.

Reading notes: Second author for 'Object-Oriented Programming for the Macintosh®' is printed as 'Kurt]. Schmucker' and may contain a damaged character '(forthcoming)' status line sits between entries and its association with a title is unclear

Printed product names: Macintosh® Revealed Volume 1: Unlocking the Toolbox, Second Edition · Macintosh® Revealed Volume 2: Programming with the Toolbox, Second Edition · Macintosh® Revealed Volume 3: Mastering the Toolbox · The Macintosh® Advisor (Updated for MultiFinder ™) · How to Write Macintosh® Software, Second Edition · Macintosh® Hard Disk Management, Second Edition · Object-Oriented Programming for the Macintosh®, Second Edition · HyperTalk® Programming (Version 1.2), Revised Edition · Understanding HyperTalk TM · Using ORACLE® with HyperCard® · Personal Publishing with the Macintosh® (Featuring PageMaker® Version 2.0), Second Edition · The Waite Group's HyperTalk® Bible · The Waite Group's Tricks of the HyperTalk® Masters

Printed dates: Version 1.2 · Version 2.0 · Volume 1 · Volume 2 · Volume 3

Languages: English

[Original PDF page 3](https://www.vintageapple.net/files/436b6d8e3522afd82459e6d309291245834926ed4b96ee20f80e3daea3c0e466/Macintosh_Revealed_Voume_Four_Expanding_the_Toolbox_1990.pdf#page=3)

### PDF page 4

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-macintosh-revealed-voume-four-expanding-the-toolbox-1990-5159da/1#scan-2bd4e35fd9eb7aea36560ee91d96e378ed090ca7346658a4357f620101bb4da0)

Macintosh Revealed

Transcribed text:

Macintosh®
Revealed
Volume Four: Expanding the Toolbox
Stephen   Chernicoff
HAYDEN   BOOKS
A Division of   Howard   W.   Sams   &   Company
11711   North   College,   Suite   141. Carmel, IN   46032   USA

Printed product names: Macintosh

Languages: English

[Original PDF page 4](https://www.vintageapple.net/files/436b6d8e3522afd82459e6d309291245834926ed4b96ee20f80e3daea3c0e466/Macintosh_Revealed_Voume_Four_Expanding_the_Toolbox_1990.pdf#page=4)

### PDF page 5

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-macintosh-revealed-voume-four-expanding-the-toolbox-1990-5159da/1#scan-db14b77afb1ab150705dd815a1baa5214b9cbf0833839d3dd6de2d954feea5c4)

Transcribed text:

For
Helen,
who is always there.
@1990   by Stephen Chemicoff
FIRST   EDITION
FIRST   PRINTING-1990
All rights   reseived.   No part of this book shall be reproduced, stored   In   a retrieval system, or
transmitted by any means. electronic, mechanical, photocopying. recording, or   otherwise,
without written permission   from   the publisher.   No patent liability is assumed with respect to
the use of the information contained herein.   While every precaution has been taken in the
preparation of this book, the author and publisher assume no responsibility for   errors   or
omissions. Neither is any liability assumed for damages   resulting   from the use of the
information contained herein.
International Standard Book Number:   <H>72-484   l 3-7
Library   of   Congress   Catalog Card Number:   85-8611
Acquisitions Editor:   Greg   Michael
Development   Editor: C.   Herbert   Fellner
Editor:   Albright   Communications,   Inc.
Cover Design:   Celeste   Design
Indexer:   Sharon   Hilgenbery
Production Coordinator:   Becky   Imel
Production:   William   Hartman,   Matj   Hopper, Jodi Jensen,   David   Kline,
Lori   Lyons,   Jennifer   Matthews,   Dennis Sheehan,
Bruce   D.   Steed, Nora Westlake
Composition:   Hartman   Publtshtng
Printed   in   the   UnUed.   Stales   ofAmerica
Trademark Acknowledgments
All terms mentioned in this book that are known to   be   trademarks or   service   marks arc listed
below.   In   addition, terms suspected of   being   trademarks or   service   marks have been
appropriately   capitalized.   Howard W. Sams & Company cannot attest to the accuracy of this
lnfonnaUon.   Use   of a term   In   this book should not be regarded as affecting the validity of any
trademark or service mark.
Apple, the Apple logo, Macintosh, lmageWrtter, LascrWrlter, AppleTalk,   A/UX.   and Lisa   arc
registered trademarks of Apple Computer Inc.
Crayola   Is   a   registered   trademark of Binney &   Smith,   Inc   .•   and   Is   used with permission.
Finder, MultiFlnder,   Switcher,   Apple Desktop   Bus,   HyperTalk.   HypcrCard.   APDA. and MPW   are
trademarks of Apple Computer Inc.
MacPaint   Is   a   registered   trademark of   Claris   Corp.
Motorola,   MC68000,   MC68010,   MC68020,   MC68030,   MC68881, MC68882, and MC68851 are
trademarks of Motorola, Inc.
NuBus ts a trademark of   Texas   Instruments.
PostScript ts a trademark of Adobe   Systems,   Inc.
Sony is a trademark of Sony   Corporation.
UNIX   is   a registered trademark of AT&T Information Systems.
SY6522   is   a trademark of   Synertek,   Inc.
Z8530   is a trademark   ofZilog,   Inc.

Reading notes: OCR damage in copyright and front matter lines (e.g., 'reseived', 'Stales', 'UnUed') and ISBN digits Reading order of trademark acknowledgments and dedication may be uncertain

Printed product names: Apple · Macintosh · AppleTalk · A/UX · Lisa · Crayola · Finder · Switcher · Apple Desktop Bus · HyperTalk · APDA · MPW · MacPaint · Motorola · MC68000 · MC68010 · MC68020 · MC68030 · MC68881 · MC68882 · MC68851 · NuBus · PostScript · Sony · UNIX · SY6522 · Z8530

Printed dates: 1990 · 85-8611

Languages: English

[Original PDF page 5](https://www.vintageapple.net/files/436b6d8e3522afd82459e6d309291245834926ed4b96ee20f80e3daea3c0e466/Macintosh_Revealed_Voume_Four_Expanding_the_Toolbox_1990.pdf#page=5)

### PDF page 6

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-macintosh-revealed-voume-four-expanding-the-toolbox-1990-5159da/1#scan-5640b4df2e01ffb7d2416495f2d36057059d78f219b39ae6f9ac5c2ff75901f1)

Transcribed text:

Contents
Preface   xiii
Acknowledgments   xv
Chapter 1   Mac   by   Popular Demand   1
Chapter 2   Old   Genies   in   New Bottles   5
System   Configuration   5
Dispatch Table Access   8
Shutdown   and Restart   14
Memory Management   15
Memory Layout   16
Memory Allocation   18
Small   Fractions   19
Reference   21
2.1   System   Conf"iguration   21
2.1.1 Operating Environment   21
2.1.2 Dispatch Table   26
v

Reading notes: Possible damaged character in 'Conf"iguration' in the table of contents entry 2.1. Chapter entries are listed with page numbers that may be misaligned in extraction.

Languages: English

[Original PDF page 6](https://www.vintageapple.net/files/436b6d8e3522afd82459e6d309291245834926ed4b96ee20f80e3daea3c0e466/Macintosh_Revealed_Voume_Four_Expanding_the_Toolbox_1990.pdf#page=6)

### PDF page 7

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-macintosh-revealed-voume-four-expanding-the-toolbox-1990-5159da/1#scan-54941c256106e20e6dfcc2065b3dc9c8e93b2f3a6b8f778ae6fd5d65bbbbf996)

Transcribed text:

vi   Expanding the Toolbox
2.1.3 Memory Address Mode   30
2.1.4 Global Variable Access   33
2.1.5   Shutdown   and Restart   35
2.1.6 Shutdown Procedures   36
2.2   Memory   38
2.2.1 Memory Layout   38
2.2.2 Memory Allocation   40
2.2.3 Temporary Allocation   43
2.2.4 Available Temporary   Space   45
2.3 Resources   46
2.3.   l   Resource   'fypes   46
2.3.2 ROM-Based Resources   50
2.4 Arithmetic   53
2.4.1 Small Fractions   53
Chapter3   Going for the Juggler   55
Memory   Partitions   57
Foreground and Background   58
Background Processing   60
Suspend and Resume Events   62
Cursor Control   68
Notifications   71
Nuts and Bolts   73
Desk Accessories and MultlFinder   73
Faking   It   74
MultiFinder Etiquette   76
Reference   79
3.1 Events   79
3.1.1 Event Messages   79
3.1.2 Event Modifiers   81
3.1.3 Retrieving Events   83
3.2 Notifications   86
3.2.1 Notification Records   86
3.2.2 Posting Notifications   88
3.2.3 Response Procedures   90
3.3 Resource Formats   91
3.3.1 Resource   fype   'SICN'   91
3.3.2 Resource   fype   'SIZE'   92
3.3.3 MultiFinder Flags   94
3.3.4 Resource   fypes   'mstr' and   'mstfl•   95

Reading notes: Table of contents with page numbers; some characters appear damaged (e.g., 'fypes', 'mstfl•', 'MlutiFinder' spacing) and uncertain. Reading order is a contents listing rather than body text; some entries are fragmentary.

Languages: English

[Original PDF page 7](https://www.vintageapple.net/files/436b6d8e3522afd82459e6d309291245834926ed4b96ee20f80e3daea3c0e466/Macintosh_Revealed_Voume_Four_Expanding_the_Toolbox_1990.pdf#page=7)

### PDF page 8

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-macintosh-revealed-voume-four-expanding-the-toolbox-1990-5159da/1#scan-1943c46ff66d1950aad568a92c0ad5cf4da6c27ef009a79a91f9c9b51f5c36af)

Transcribed text:

Chapter4
vii   Contents
Chasing   Rainbows
Color   Fundamentals
Physical Properties of Color
Physiological Properties of Color
Color on the Screen
Color on   Paper
Toolboz   Color Representation
Planar Color
Direct Color
Mapped Color
The Color Picker
Graphics Devices
Color Tables
Structure of Color Tables
Inverse Tables
Color Table Management
Color Palettes
Color   Usage
Creating and Destroying Palettes
Reference
4.1   Classic Color Model
4.1.1 Color   Values
4.1.2 Foreground and Background Colors
4.1.3 Color Plane
4.2 Color Representation
4.2.1 Color Formats
4.2.2 Color Conversion
4.2.3 The Color Picker
4.3 Graphics Devices
4.3. l Device Records
4.3.2 Creating and Destroying Devices
4.3.3 Device List
4.3.4 Current Device
4.3.5 Device Attributes
4.4   Color Tables
4.4.1 Color Table Structure
4.4.2 Inverse Tables
4.4.3 Creating and Destroying Color Tables
4.4.4 Color Mapping
4.4.5 Color Table Management
4.4.6 Protecting and Resetvlng Entries
97
98
98
99
100
101
102
102
104
106
106
108
111
112
112
115
116
117
119
121
121
121
124
125
126
126
128
131
133
133
136
138
139
141
143
143
146
148
149
151
154

Reading notes: Section heading 'Color Fundamentals' and the chapter number line 'Chapter4' are reproduced as printed in the source text.

Languages: English

[Original PDF page 8](https://www.vintageapple.net/files/436b6d8e3522afd82459e6d309291245834926ed4b96ee20f80e3daea3c0e466/Macintosh_Revealed_Voume_Four_Expanding_the_Toolbox_1990.pdf#page=8)

### PDF page 9

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-macintosh-revealed-voume-four-expanding-the-toolbox-1990-5159da/1#scan-552cd508760214fde7ebf72b4c5c1b51d2e35a4b0ecfd77675ec6134e4117cda)

Transcribed text:

Viii   Expanding the Toolbox
~~~~~~~~~~~-
Chapter 5
4.5 Color Palettes
4.5.1 Palette Records
4.5.2   Initlallztng   the Toolbox for Palettes
4.5.3 Creating and Destroying Palettes
4.5.4 Setting Palette Colors
4.5.5 Palette Conversion
4.6 Nuts and Bolts
4.6.   l   Custom Matching Routines
4.6.2 Installing Matching Routines
4.   7   Color-Related Resources
4.7.1 Resource   Type   'clut'
4.7.2 ResourceType 'pltt'
Showing   Your   Colors
Pixel   Maps
Color Graphics Ports
Structure of Color Ports
Opening   and Closing Color Ports
Pixel   Pattems
Color Transfer Modes
Additive and Subtractive Modes
Other   Arithmetic Modes
Transparency and Highlighting
Mixing   Color and Monochrome
Drawing   in   Color
Setting Drawing Colors
Line and   Shape   Drawtng
Direct Pixel Transfer
Color Table Animation
Nuts and Bolts
Reference
5.1 Graphical Foundations
5.1.1 Pixel Maps
5.1.2 Creating and Destroying Pixel Maps
5.1.3 Color Graphics Ports
5.1.4 Auxiliary   Port   Record
5.1.5   Creating   and Destroying Color Ports
5.1.6 PixelAccess
5.1.   7 Error Reporting
155
155
158
158
160
161
163
163
165
166
166
168
171
171
174
175
176
177
180
181
182
183
185
187
189
189
191
193
195
197
197
197
200
201
205
206
209
210

Reading notes: Table of contents with OCR-like spacing artifacts (e.g., 'Initlallztng', '4.6.   l'), possibly damaged characters. Heading and page-number columns may be misaligned in reading order.

Languages: English

[Original PDF page 9](https://www.vintageapple.net/files/436b6d8e3522afd82459e6d309291245834926ed4b96ee20f80e3daea3c0e466/Macintosh_Revealed_Voume_Four_Expanding_the_Toolbox_1990.pdf#page=9)

### PDF page 10

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-macintosh-revealed-voume-four-expanding-the-toolbox-1990-5159da/1#scan-70721103ca9e03b261e883cd549497666926860f9d209b23d48d6e0588bae6ae)

Transcribed text:

Contents
6.2   Plzel   Patterns   211
5.2.1   Pixel   Pattern Structure   211
5.2.2 Creating and   Destroying   Pixel   Patterns   214
5.2.3   Filling   Pixel   Patterns   215
5.2.4   Using   Pixel   Patterns   216
6.S   Color   Transfer   llodea   217
5.3.1 Mode Constants   217
5.3.2 Additive and Subtractive Modes   219
5.3.3 Comparative and Comblnatlve Modes   221
5.3.4   Transparency   and   Highlighting   222
6.4   Color   Drawing   Operations   224
5.4.1   Foreground and Background Colors   224
5.4.2   Shape   Drawing   226
5.4.3 Color Table Animation   228
5.4.4 Low-Level Pixel Transfer   229
5.4.5   Special   Operations   232
6.6   Nuts and Bolts   235
5.5.1 Color Bottleneck   235
6.6   Resource   Formats   238
5.6. l Resource   Type   '   pp   at '   238
Chapters   Through   Rose-Colored   Windows   241
Color Icons and Cursors   242
Color Icons   242
Color cursors   243
Color   Windows   244
Window Color Tables   245
Auxiliary Window Records   246
Window Palettes   249
Color Controls   250
Color Dialogs   252
Color Menus   254
Reference   259
8.1 Color Icons   259
6.1.1 Color   Icon   Structure   259
6.1.2   Using   Color   Icons   261
8.2 Color   Cursors   262
6.2.1 Color Cursor Structure   262
6.2.2   Using   Color cursors   265

Reading notes: OCR section numbering is inconsistent (e.g., '6.2 Plzel Patterns' and '5.2.1' headings), so chapter numbers may be misread. Several headings contain garbled characters such as 'Plzel', 'llodea', 'Comblnatlve', and 'Rose-Colored Windows' heading appears to be partially cut off.

Languages: English

[Original PDF page 10](https://www.vintageapple.net/files/436b6d8e3522afd82459e6d309291245834926ed4b96ee20f80e3daea3c0e466/Macintosh_Revealed_Voume_Four_Expanding_the_Toolbox_1990.pdf#page=10)

### PDF page 11

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-macintosh-revealed-voume-four-expanding-the-toolbox-1990-5159da/1#scan-d59e241e31a9e9f195213a2b0028cd9593f68aa383e33ee1a9d1d15711517727)

Transcribed text:

Expanding the Toolbox
6.3 Color   Windows   266
6.3.1 Color Window Records   266
6.3.2   AuxillaryWindow   Records   268
6.3.3 Window Color Tables   270
6.3.4 Creating Color Windows   273
6.3.5 Color Window ProperUes   274
6.3.6 Window Palettes   276
6.3.   7 Screen Properties   277
6.4 Color Controls   278
6.4.1   Auxiliary   Control Records   278
6.4.2 Control Color Tables   280
6.4.3 Color Control ProperUes   282
6.5 Color   Dialogs   284
6.5.1 Creating Color Dialogs   284
6.6 Color   Menus   286
6.6.1 Menu Color Information Tables   286
6.6.2 Access to Menu Colors   289
6.6.3 Managing Menu Colors   290
6.   7   Resource Formats   292
6.7.1 Resource   fype   'cicn'   292
6.7.2 Resource   fype   'crsr'   294
6.7.3 Window Color Table Resources   295
6.7.4 Resource   fype   'cctb'   297
6.7.5 Resource   fype   'ictb'   298
6.7.6 Text   Style   for Dialog Items   299
6.   7.   7 Resource   fype   'mctb   •   301
Chapter 7   Editing   with   Style   303
Color Fonts   304
Text   Styles   and   Tennlnology   307
Structure of   Styled   Text   308
Vertical   Spacing   311
Manipulating   Text   Styles   313
Editing   Styled   Text   322
The   Style   Scrap   323
The Null   Style   324
Scrapless   Styling   325

Reading notes: OCR spacing and character damage in several section headings (e.g., 'AuxillaryWindow', 'ProperUes', 'Tennlnology', 'fype') Table of contents structure lacks clear reading order for chapter entries

Languages: English

[Original PDF page 11](https://www.vintageapple.net/files/436b6d8e3522afd82459e6d309291245834926ed4b96ee20f80e3daea3c0e466/Macintosh_Revealed_Voume_Four_Expanding_the_Toolbox_1990.pdf#page=11)

[Next transcribed scans](https://www.vintageapple.net/transcripts/media/va-macintosh-revealed-voume-four-expanding-the-toolbox-1990-5159da/2.md)
