TweetFollow Us on Twitter

Mac II, SE
Volume Number:3
Issue Number:5
Column Tag:Macintosh II

Programming the New Macs

By Sue Goodin, Apple Computer & Dave Wilson, Personal Concepts

Sue Goodin is a Technical Communications Engineer for Apple Computer. Dave Wilson is President of Personal Concepts, a consulting firm specializing in training courses for the Macintosh. He is currently teaching Apple's MacApp programming course. In this article, Sue and Dave review the new Apple product offerings and the new ROM calls behind the new features.

Figure 1 summarizes the latest results of Apple's increased R & D spending, and certainly indicates that the folks in Cupertino have been busy. In this article, we want to review and preview information about some of these new products, emphasizing details of interest to programmers. Apple's new computers represent new market opportunities, and new programming challenges, so we should discuss both areas.

The evolutionary Macintosh SE should be an even more popular machine than the successful Macintosh Plus, since it offers somewhat better performance and an expansion slot for adding a peripheral board. Its 256K ROM offers some new features, as discussed below, but is primarily focused at retaining compatibility with present Macintosh software, so there are no earthshaking changes for programmers to worry about.

The revolutionary Macintosh II, on the other hand, is a very well-designed and powerful machine that will open up completely new markets and opportunities for us all. The only catch is that the Macintosh II is even more sophisticated and complicated than earlier Macintoshes, so we have a lot more to learn before our software can really shine. Will our present programs work on the II? They should. Apple believes that more than 2/3 of the present software will run unchanged, and almost all software that follows the compatibility guidelines should work fine.

The Macintosh SE

The Macintosh SE (stands for System Expansion) still has an 8 MHz 68000, but has new 256K ROMs, and one expansion slot. It has the standard built-in 9-inch monochrome monitor, but you can, of course, add other monitors using the expansion port. You can put up to 4 MB of RAM in an SE.

A tricky point is that both the Macintosh SE and the Macintosh II have 256K ROMs, but they are not the same. The Macintosh II's ROM has Color QuickDraw and other goodies that are not in the SE. The SE was designed for software compatibility, and over 90% of existing applications should run on it. The Macintosh II is less compatible, with over 60% of the software running unchanged. Macintosh II ROMs are complete, and its system software is in the final testing stages, while the SEs are in the stores now.

The SE provides somewhat improved performance over the Macintosh Plus, as we shall see. Apple still intends to sell both the Macintosh Plus and the 512K Enhanced, because they provide a lower-priced entry point in the product line.

The Macintosh II


The Macintosh II offers a 68020 microprocessor with a 68881 floating point coprocessor, 1M or more of RAM, and 6 NuBus expansion slots. The Macintosh II supports color and gray-scale display, and has four-voice sound capability. The Macintosh II includes:

• 68020 microprocessor, clocked at 16 MHz

• 68881 floating point coprocessor (always there - not an option)

• 1M RAM (expandable to 2, 5, or 8M on the logic board)

• 256K ROM

• 6 NuBus slots

• general memory management unit (or optional 68851 PMMU)

• Two Apple Desktop Bus (ADB) ports for the mouse, keyboard, tablets, etc.

• One or two internal 800K floppy drives

• Room for a 20, 40, or 80M internal SCSI hard disk

The Motorola 68020 microprocessor has a 32-bit data bus, which can speed up Macintosh Plus software by a factor of 4. Other properties of the 68020 add to that speed advantage, and with the inclusion of the 68881 floating-point coprocessor, certain types of Macintosh code may now run as much as 200 times faster on the Macintosh II than on existing members of the Macintosh family.

The ROM in the Macintosh II has been completely rewritten, and now includes Color Quickdraw, which supports the definition of as many as 248 colors (about 200 trillion). The Macintosh II Video Card with its Expansion Kit can display 256 colors (or shades of gray) on the screen at once.

The six NuBus slots provide a flexible means of expanding the architecture for such products as processor cards, video output, non-Apple Desktop Bus input devices, storage devices, and network cards.

NuBus, Texas Instruments' synchronous bus definition, allows any device to become master of the system. Therefore, 80286 cards, EtherNet cards, and other intelligent interfaces may, at times, gain control of the CPU. With this architecture, the Macintosh II could run MS-DOS software, act as a smart terminal, or drive a variety of output devices. Apple's NuBus implementation includes interrupt lines from each of the slots, and has changed the size of the interface card to conform to the Macintosh II case size.

The addition of 4-voice sound is also supported by the Macintosh II hardware. The firmware now contains synthesizers for MIDI, note, wave table, and sampled sound production.


Although a number of the external ports on the Macintosh II are similar to those on previous Apple equipment, the logic board of this computer is significantly different than other members of the Macintosh family.

Memory management chores are handled by a general memory management unit, which allows the 68020 to devote its processing time to other tasks. A paged memory management unit (PMMU), the Motorola 68851, is available to support paged virtual memory management, and is required to run Apple A/UX, Apple's version of the UNIX operating system.

Eight SIMM sockets, organized into two groups, provide a starting configuration of 1M memory. Apple will offer RAM upgrades to increase available memory on the Macintosh II to 8M. As SIMM technology advances, the Macintosh II will be able to take advantage of up to 128M RAM on the logic board.

The 256K Macintosh II ROM has been written to support all of the previously mentioned devices and features. The ROM also includes all packages available on the Macintosh Plus. The following features are among those that have been added to the ROM:

• Color Quickdraw, and color support in other Managers

• Apple Desktop Bus support

• More fonts - Monaco 9, Chicago 12, Geneva 9 and 12

• Slot Manager to handle NuBus card communication

• 4 Voice Sound Manager

• SCSI Driver

The Macintosh II has two lithium batteries, with a lifetime rated at 7 years, soldered on the logic board. These replace the removable dry cell battery found on earlier Macintosh computers. If your program crashes and writes garbage into Parameter RAM, you may have up to seven years of bad luck, so be sure to write perfect programs! Actually, Macintosh II users may continue to use ParmBlaster -type programs to erase parameter RAM, should it become irretrievably corrupted.

Six Macintosh II slots follow Texas Instruments' NuBus standard, with Apple modifications. The NuBus definition allows any NuBus device (of which the 68020 is one) to become the "system master". With its open architecture, the Macintosh II will encourage developers to sell processor cards, graphic interfaces, memory devices, and drive interface cards.

One of the NuBus slots will normally be used by a video card, since the Macintosh II does not contain video signals on the logic board. Apple has a Macintosh II Video Card available for use with the Apple High Resolution Monochrome Monitor and the AppleColor High Resolution RGB Monitor. The card's factory-installed memory can allocate up to 4 bits per pixel, for a maximum display of 16 colors or shades of gray. With the optional 8-Bit Expansion Kit, as many as 256 colors and gray-scales may be shown.

Macintosh II Video Card

The Macintosh II graphics plug-in video card provides color capability for simultaneous display of up to 256 colors on the Apple High Resolution Color Monitor. This capability is further enhanced by its three 8 bit digital to analog converters (RGB) providing more than 16 million possible colors to choose from. Color modes range from one bit per pixel (2 colors) to an optional eight bits per pixel (256 colors).

On the same card, using the Macintosh II control panel desk accessory options, you may select true grey scaling. With the Macintosh II Video Card , the grey shading is intensified or diminished by hue and brightness values. The user no longer has to rely on the spaced dot patterns of previous grey schemes. When grey scaling is selected from the control panel, each of the presently available colors is translated into a shade of grey.


A Motorola MC68851 co-processor is used by the Macintosh II to implement paged memory management. This chip replaces the standard memory management chip in the Macintosh II, and is used by systems programmers to implement advanced and multi-user operating systems, like Apple's A/UX. While the standard MMU simply offers two modes of translation (a 32 to 24 bit mode for software compatibility with programs for older Macintoshes, and a straight-through 32 bit mode), the PMMU offers such features as:

• 32 bit logical to physical address translation with 4-bit function codes.

• memory protection by access level and access type.

• hardware maintenance of address translation, and address translation cache (ATC).

• 16 extensions to the 68000 family that provide control for:

- loading and storing of MMU registers.

- testing access rights, and conditionals based on the results of this test.

- MMU control functions.

Expansion through NuBus

The 68020 communicates through the memory management unit with each of the six synchronous NuBus slots through a full 32-bit address/data transfer between each slot and the 68020. Each slot is identified to the microprocessor by 4 ID lines, which the bus master uses to determine the source of the communication. Power, timing, and acknowledge lines are also implemented. Apple has changed Texas Instruments' NuBus definition by adding an interrupt line from each slot, so that each card can generate an interrupt to the on-board logic.

The 32-bit address space (equating to 4G bytes) available for all NuBus slots is partitioned to provide space for each slot. First, the top 256M of address space is divided into 16 "slots". This allows each physical slot to "own" 16M, which is referred to as its Slot Space. Each NuBus slot is also allocated 256M (although it may request more!) of "SuperSlot Space" from the portion of memory remaining in the 4G of address space.

Each NuBus card should contain a configuration ROM mapped to the top of its Slot Space. This ROM provides information so the Macintosh II operating system can identify the card at startup time. The Macintosh II looks at the ROM to determine the type of card, how it is to be accessed, and its slot resource data.

Pre-defined NuBus card categories include display, network, terminal emulator, serial, parallel, intelligent bus, and human input devices. Each category is further defined by a type indicator. For example, the network category is subdivided into AppleTalk, EtherNet, TokenRing, etc. With this information, slot drivers can then locate any appropriate card by checking these bytes in configuration ROM on each card.

NuBus cards may be designed to be "masters" of the bus, or as slaves only. A master card must be able to initiate bus transfers of 8, 16, or 32 bits, and must be able to arbitrate requests for bus mastership. It may have the ability to lock the bus from access by other NuBus devices for a specified period of time. A slave card responds to requests, but can only send a "non-master request", and need not support the full 32-bit transfer.


Two new keyboards were announced that each hook up to the Apple Desktop Bus, along with the mouse. The larger one will look quite friendly to those of you who sell to the IBM world, with 15 function keys that you can have your program interpret in any way that you wish. The keyboard has an output for other ADB devices, so the mouse can be connnected directly to the keyboard (on either side).


New Managers in the ROM

The Macintosh II ROM features have been greatly extended from those found in the Macintosh Plus. A number of new managers have been added to the ROM, and most existing managers have been modified to support the new hardware capabilities of the Macintosh II.

The modifications most frequently introduced involve color support - QuickDraw, menus, dialog boxes, and TextEdit are among those items that have been extended with color features. The NuBus slots are also a prime candidate for causing additions and changes. The Macintosh II introduces a Slot Manager, an Operating System Utilities Manager, and the Deferred Task Manager to support Apple's NuBus implemen-tation.

Other managers have been rewritten to remove previous limitations: the Macintosh II is an open machine, so the ROM designers have made every effort to permit developers the freedom to design products for the Macintosh II without being concerned with ROM limitations.

We'll list information about some of the new managers, in roughly alphabetical order. In some cases we include descriptions of new data structures and ROM calls, but you should remember that these are preliminary specs. A.P.D.A. should now be shipping a draft of Inside Macintosh Volume V to provide all the hairy details.

Apple DeskTop Bus Manager

The Apple Desktop Bus was introduced with the Apple IIGS last fall. Apple is now implementing the same technology on the Macintosh SE and Macintosh II. Apple Desktop Bus provides a low-cost, simple local bus network used by low speed input devices, such as keyboards and mice. The ADB can control as many as 16 devices on its network, each of which is identified to the ADB controller by a unique identifier. The CPU can issue commands to the network at large, or to a particular device on the bus. Four ADB commands are supported:

• Reset Forces a hardware reset of ADB devices.

• Flush Initializes the addressed ADB device.

• Talk Requests information from ADB device.

• Listen Sends an instruction from the CPU to ADB device.

Color Capabilities

The Macintosh II supports both QuickDraw color, as implemented in Macintosh Plus ROMs, and a new Color QuickDraw, as defined in the sections below.

"Classic" QuickDraw color was designed to conform to a planar model, where each of the bits used to describe a color turns a particular color plane on or off. QuickDraw used this technique to define eight standard colors, each with a unique bit pattern, to be used as the foreground or background color of a GrafPort, in RGB display, or in color printing. If you write programs using classic QuickDraw, they will run perfectly well in black and white on a Macintosh Plus or SE, but will appear in color on the Macintosh II.

The new Color QuickDraw uses an absolute approach to determine color representation. A new data type, RGBColor, is defined to be a record containing three 16-bit integers, each of which represents an intensity value for one of the three additive primary colors red, green, and blue.

 red:   INTEGER; {Red component}
 green: INTEGER; {Green component}
 blue:  INTEGER; {Blue component}

Under Color QuickDraw, the application need not be concerned with the type of output device. The application specifies a color in RGBColor format, but the Color Manager then uses information from the display device's driver to translate the RGBColor definition into the best available match on the output device. Some output devices may be limited to 8 or 16 colors; others use a lookup table to select from a wide range of possible display colors. In any event, the Color Manager handles these details independently of Color QuickDraw or the application.

On the Macintosh II, the user may choose the depth to which the screen image should be displayed, up to the limits of the video hardware, by using the Control Panel desk accessory. This permits the customer to choose a display that is consistent with the type of program. A word processing application may need only black and white, and a greater selection of colors (i.e., greater depth) would only slow down the application. On the other hand, drawing and charting applications benefit from the ability to use more colors, so the user might choose to use a greater pixel depth.

Pixel depth must be a power of 2. A display of 4 bits per pixel permits each pixel to choose from among 16 colors, while 8 bits per pixel allows a selection of 256 colors. Normally, the device will implement these choices through a color lookup table controlled by the Color Manager.

Color QuickDraw

Color QuickDraw includes the same types of procedures and calls found in "old" QuickDraw, but it has expanded to support color on the Macintosh II in GrafPorts, pixel maps, icons, polygons, and cursors.

A new data type, the CGrafPort, is analogous to a GrafPort, but it replaces pattern and map information with handles to a PixMap, pnPixPat, bkPixPat, and pnFillPat. The resulting free bytes have been used to add RGBColor records for the foreground and background of the port.

CGrafPort = record device : integer; (Device ID font select)
 portPix: PixMapHandle  (Port's pixel map)
 portVersion: integer;  (Color QuickDraw ver. no.)
 cgRsrv1: longint; (Reserved)
 cgRsrv2: longint; (Reserved)
 portRect : Rect;(Port Rectangle)
 visRgn : RgnHandle; (Visible region)
 clipRgn: RgnHandle; (Clip region)
 bkPixPat : PixPatHandle; (Background Pattern)
 rgbFgColor : RGBColor; (request foreground color)
 rgbBkColor : RGBColor; (request background color)
 pnLoc  : Point; (Pen location)
 pnSize : Point; (Pen Size)
 pnMode : Integer; (Pen Transfer Mode)
 pnPixPat : PixPatHandle  (Pen pattern)
 pnFillPat: PixPatHandle  (Fill pattern)
 pnVis  : integer; (Pen Visibility)
 txFont : integer; (Font number for text)
 txFace : Style; (Text's character style)
 txMode : integer; (Text's transfer mode)
 txSize : integer; (Font size for text)
 spExtra: fixed; (Extra Space)
 fgColor: longint; (Actual foreground color)
 bkColor: longint; (Actual background color)
 colrBit: integer; (Plane being drawn)
 patStretch : integer;  (Used internally)
 picSave: Handle;(Picture being saved)
 rgnSave: Handle;(Region being saved)
 polySave : Handle;(Polygon being saved)
 grafProcs: QDProcPtr;  (Low-Level draw routines)

Here are some of the new calls for setting colors:

PROCEDURE RGBForeColor (color: RGBColor);    $AA14;
PROCEDURE RGBBackColor (color: RGBColor);    $AA15;
PROCEDURE SetCPixel (h,v: INTEGER; cPix: ColorSpec);     $AA16;
FUNCTION  GetCPixel (h,v: INTEGER): ColorSpec;     $AA17;
PROCEDURE GetForeColor (VAR color: RGBColor);      $AA19;
PROCEDURE GetBackColor (VAR color: RGBColor);      $AA1A;

Color cursors and color icons are implemented through two new data structures, CCrsr and CIcon. Both structures remove size limitations from items by using handles to the actual data, rather than keeping data within the structure itself. Both cursors and icons access a pixmap, which allows the use of color at a depth of the user's choosing.

All drawing by Color QuickDraw is done in a pixel map, which is analogous to the bitMap of old. New fields have been added to track the horizontal and vertical resolution in pixels per inch, the number of bits per pixel, and the handle to the pixel map's color table.

PixMap = record
 baseAddr : Ptr; (Pointer to pixel image)
 rowBytes : integer; (Offset to next row)
 bounds : Rect;  (Boundary Rectangle)
 pmVersion  : integer;  (Color QuickDraw version number)
 packType : integer; (Packing format)
 packSize : longint; (Size of data in packed state)
 hRes   : fixed; (Horizontal Resolution)
 vRes : fixed; (Vertical Resolution)
 pixelType  : integer;  (Format of pixel image)
 pixelSize  : integer;  (Physical bits per pixel)
 cmpCount : integer; (Logical Components per pixel)
 cmpSize  : integer; (Logical bits per component)
 planeBytes : longint;  (Offset to next plane)
 pmTable  : CTabHandle; (Absolute colors for image)
 pmReserved : longint;  (Reserved for future expansion)

Here are two routines for handling PixMaps:

PROCEDURE CopyPix (srcPix,dstPix: PixMap; srcRect,dstRect: Rect; mode: 
INTEGER; maskRgn: RgnHandle);        $A8EC;
PROCEDURE CopyCMask (srcPix: PixMap; maskBits: BitMap; dstPix: PixMap; 
srcRect,maskRect,dstRect: Rect);         $A817;

Color QuickDraw includes color patterns. It provides an undefined limit to the size of the pattern, and a variable pattern depth. Although Color QuickDraw is capable of translating the depth of a pattern to the current screen display depth, this can be a time-consuming process, and should be avoided. As always, color patterns provide a method of dithering, which increases the number of perceived colors shown on the screen by trading off resolution.

Here are some of the new calls for drawing in color:

PROCEDURE FillCRect (r: Rect; pp: PixPatHandle); $AA0E;
PROCEDURE FillCOval (r: Rect; pp: PixPatHandle); $AA0F;
PROCEDURE FillCRoundRect (r:Rect; ovWd,ovHt: 
 INTEGER; pp: PixPatHandle);             $AA10;
PROCEDURE FillCArc (r: Rect; startAngle,arcAngle: 
 INTEGER; pp: PixPatHandle);             $AA11;
PROCEDURE FillCRgn (rgn: RgnHandle; pp: PixPatHandle);$AA12;
PROCEDURE FillCPoly (poly: PolyHandle; pp: PixPatHandle);      $AA13

Color Manager

The Color Manager controls the task of translating an application's color requests to a color capable of being displayed by the current hardware. In order to handle this task, the Color Manager keeps information about the display in a device record known as a GrafDevice.

GrafDevice = record
 gdUnitNum: integer; (Unit number of driver)
 gdID : integer; (Client Id for search proc)
 gdType : integer; (Device type)
 gdITable : ITabHandle; (Inverse table)
 gdResPref: integer; (Preferred resolution)
 gdSearchProc  : ProcListPtr; (List of search procedures)
 gdCompProc : ProcList Ptr; (List of complement procs)
 gdMap  : PixMapHandle; (Pixel map for display image)
 gdReserved : longint;  (Reserved)

The GrafDevice holds information concerning the type of search mechanism to be used for color matching and inverting, as well as a handle to its pixel map.

The Color Manager sets up an initial color table for each GrafDevice with default values, which correspond to the colors defined by the original QuickDraw. Color Manager procedures can also manipulate individual colors in a color table, so that an application can "fine tune" the mapping of the program's color description to the color displayed on the screen device.

Deferred Task Manager

Because the Macintosh II supports interrupts through all six NuBus slots, a manager is needed to handle the interrupts in an orderly fashion. The Deferred Task Manager determines the appropriate time to service each of the requested interrupts, depending on the level of interrupt requested and other activity occurring within the Macintosh II.

Operating System Utilities

These three routines in the Operating System Utilities which provide the ability to switch between 24-bit address mode, required for compatibility with existing Macintosh applications, and 32-bit address mode allowing access to the full 32-bit addressing capability of the MC68020 and NuBus slots:

 FUNCTION GetMMUMode (var mode: integer);
 FUNCTION SetMMUMode (mode: integer);

Note that the 68851 PMMU is needed for full 32-bit operation.

Script Manager

The Script Manager will normally be transparent to the Macintosh II application programmer, but it is used by TextEdit, which is commonly called by applications. The Script Manager provides the means for an application to be written independently of the language (or script) in use which should be a particular boon to programs written in Japanese and Arabic languages, as well as those based on the Roman alphabet.

Shutdown Manager

The Shutdown Manager is designed to provide a consistent way for the Macintosh to be turned off or to be rebooted from the Finder as well as from within an application. It allows the system to perform some housekeeping prior to turning off or rebooting. The Shutdown Manager is contained in the system resource file as "INIT" resource 4, making it available to any Macintosh that has been booted from a system file containing this resource.

A Shutdown Alert is defined in "INIT" resource 2 and is also found in the system resource file. This alert is used on a Macintosh without power-off capabilities, such as the Macintosh Plus or Macintosh SE. Custom ShutDown procedures may be installed and removed through routines available in the ShutDown Manager.

Slot Manager

The Slot Manager in the Macintosh II provides the means for the on-board ROM and logic to communicate with cards in the NuBus slots. The process of sending information to and from the slots requires an address translation between 24 and 32 bit addresses; this function is provided by Operating System Utilities. The Slot Manager concentrates on interpreting the information supplied by NuBus cards, and arbitrates requests for bus mastership. Each NuBus card is expected to have a declaration ROM which allows the Macintosh II Slot Manager to classify it and communicate with the card according to its capabilities.

Sound Manager

The Macintosh II Sound Manager replaces the 64K and 128K ROM Sound Driver. All previous data structures, routines, and synthesizers are supported in the Sound Manager, and new routines have been added to take advantage of the new Apple Sound Chip on the Macintosh II logic board. There are four standard synthesizers defined within the Sound Manager:

• Note synthesizer, for simple, monophonic sounds

• Wave table synthesizer, for monophonic or polyphonic sound

• M.I.D.I synthesizer, for playing music on external MIDI devices through the serial port

• Sampled sound synthesizer, for playing pre-recorded sounds

If a programmer wishes to expand upon the synthesizers provided in the Macintosh II ROM, he may do so by defining a synthesizer or sound resource. The Sound Manager can call the new resources to play existing channels, using the rules defined by the new synthesizer. This feature permits developers the flexibility to develop external sound hardware via NuBus slots, while using the Sound Manager to provide a consistent interface for sound software.

Start Manager

The Start Manager controls (what else?) the bootup process on the Macintosh II. Once power is supplied to the Macintosh II and control has been transferred to the ROM, the Startup Manager determines which microprocessor is present and initializes the Operating System Utilities, global variables, the system heap, and other ROM Managers as needed.

Changes to Existing Managers

All existing Manager Calls are supported in the Macintosh II ROM. Many of the changes to existing Managers are to provide compatibility with the new color capabilities of the Macintosh II. Here are some of the changes, again listed in alphabetical order.

AppleTalk Manager

The AppleTalk Manager incorporates significant increases in its capabilities and resources. Several of these changes result in easier programming for server, workstation, and spooler machines.

Control Manager

The Control Manager has been expanded to include color support with the definition of a new data structure, AuxCtlRec, and its corresponding resource type cctb. These structures define a color table associated with the control and determine the border color, fill color, and text color for the control.

Device Manager

The Device Manager has been modified to include support for NuBus cards, both as boot devices, and through the interrupt process.

The user-written device package added to the Chooser in the Macintosh Plus ROM has been extended in the Macintosh II so that device packages can now position the buttons displayed in the Chooser window. The programmer may also supply, through the List Manager, the list of devices to be associated with a particular Chooser icon.

Dialog Manager

Two new resource types, actb and ictb, add color and style information to alerts and dialogs, and dialog item lists. These resources are associated with a dialog or alert by assigning them the same resource ID as the parent ALRT or DITL.

The contents of the color table resources are similar to those found in TextEdit style records: face, size, font, and color fields are present to specify the look of an alert or dialog item.

File Manager

The Macintosh II File Manager can be used with an external file system other than the traditional Macintosh code. The File Manager documentation in Volume V of Inside Macintosh describes the method used to integrate such file systems into the File Manager.

Font Manager

Fonts in ROM now include Monoco 9, Geneva 9 and 12, as well as Chicago 12. There are also 4 and 8-bit versions of Chicago 12 and a 4-bit Geneva 9 font to increase the speed with which those fonts can be displayed when using 4 or 8 bit color or gray-scale. The fontType structure has been modified to support color fonts. The new font color table resource, fctb, specifies one or more absolute colors in the font.

International Utilities Package

The International Utilities Package has been extended to support the new Script Manager. It now includes multiple resources within a given script, and new date and time formatting options. International scripts with non-Roman sorting rules may specify the details via hooks in this package, so that characters such as "ä" and "á" may be treated as equals for sorting purposes.

Menu Manager

The menu manager has also been extensively rewritten. Modifications include:

Hierarchical Menus. The Menu Manager now implements hierarchical menus; if another level of menu is "beneath" a menu item, a right or left arrow is shown next to the menu item. The user moves the mouse to the left or right as needed, and another menu "pops out" to the side of the original item. The mouse is used to select an item from that menu, or to go up or down to another menu level. Five levels of hierarchical menus are permitted, but they look terribly confusing if you use more than one extra level.

Color Menus. Color menus are not implemented through a standard Color Lookup Table, but use a unique definition, the Menu Color Information Table. A distinct MCInfoRec may exist for the menu bar and for each menu title and item. Within each MCInfoRec, you find RGBColor information for the item in question and its background color.

Printing Manager

The Printing Manager has been moved to ROM. All routines are now available through a single trap, $A8FD, which is then vectored to the particular Printing Manager call.

SCSI Manager

The Macintosh II and Macintosh SE ROMs implement an SCSI "blind" transfer mode. The types of SCSI drives Apple will use support hardware handshaking, so blind transfer capabilities will result in faster transfer rates in those situations.


TextEdit records have not changed in size or structure, but they may now be interpreted in a different way. If the TextEdit field, txsize, has a value less than zero, the TextEdit record has style information associated with it. In that case, a handle to a TEStyleRec structure replaces the TextEdit fields txFont and txFace. This style record holds an array of "runs", each of which may use a different text style (font, face, size, color, line height, and font ascent).

With the addition of multiple runs within a TextEdit record, the existing limitation of one type of font and style has been removed. Further, an RGBColor can be specified with the STElement for each run, so TextEdit now supports color. You can therefore use TextEdit to write a paragraph like this one, which should make many programs much easier to write (if not easier to read). You did notice that some of these characters are in green, while others are in red, didn't you?

Style information can be passed from TextEdit to the application through a TextStyle record, which includes font, face, size, and color information. When the scrap is used to cut and paste style information, a new scrpSTElement type is used to transfer style and start character information.

Here are some new TextEdit calls:

FUNCTION  TEStylNew (destRect,viewRect: Rect):     TEHandle;   $A83E;
PROCEDURE SetStylHandle (theHandle: TEStyleHandle;       hTE: TEHandle);
FUNCTION  GetStylHandle (hTE: TEHandle):     TEStyleHandle;
FUNCTION  TEGetOffset (pt: Point; hTE: TEHandle):  integer;    $A83C;
PROCEDURE TEGetStyle (offset: integer; VAR theStyle:     TextStyle; VAR 
lineHeight,fontAscent: integer; hTE: TEHandle);
PROCEDURE TEStylPaste (hTE: TEHandle);
PROCEDURE TESetStyle (mode: integer; newStyle:     TextStyle; redraw: 
BOOLEAN; hTE: TEHandle);
PROCEDURE TEReplaceStyle (mode: integer;     oldStyle,newStyle: TextStyle; 
redraw: BOOLEAN; hTE: TEHandle);
PROCEDURE StylTextBox (theHandle: TEStyleHandle; theText: Ptr; 
 theLength: longint; box: Rect; just: integer);

[Unfortunately, a number of limitations still remain. Chief among them are a 32K limit on text and problems with teScroll using integer offsets which cause Text Edit to crash if the number of lines times the line height exceeds the integer offset for the number of pixels to scroll. Also the limitations of integer rectangle coordinates in the destination rectangle still exits. -Ed]

Vertical Retrace Manager

The Vertical Retrace Manager has been changed slightly to take into account the flexible video interface on the Macintosh II.

Window Manager

A new data type, CWindowRecord, has the same structure and size as the old WindowRecord, except the field port is now defined as a CGrafPort rather than the old GrafPort. A few other new data types are also provided.


The 12-inch monochrome monitor runs at 75 pixels per inch, displaying 640 by 480 pixels. This represents a screen about 8.5" wide, and 6.4" tall, with 1.75 times more pixels than the old Macintosh. The 13-inch analog RGB color monitor runs at 68 pixels per inch, but has the same 640 by 480 pixels. Both monitors have a screen refresh rate of 66.7 Hz, because flicker was still visible at the normal 60 Hz rate. The Vertical Retrace Manager still provides "ticks" at a rate of 60 Hz for compatibility.

After comparing both screens side-by-side, you can see that the color monitor is excellent, but still not quite as sharp as the monochrome monitor. It is still very sharp, however. We do believe that you could use the color monitor all day, even for word processing, since you could use a larger font if necessary. Which monitor should you order? The monochrome will ship before the color one, so if you are in a hurry you might choose it. On the other hand, the color digitized images are spectacular, and even color More™ (version 1.1c) is quite attractive. If you need to do presentations, color More will be just the thing.

You will definitely need a color monitor, if you plan on writing color software.

Several other companies have announced other video options for the Macintosh II. For example, SuperMac has shown a 19-inch, high-resolution color monitor connected to a Macintosh II, just in case you are addicted to full page displays. It also seemed very sharp.

System Software

Finder 5.4 and System 4.0 are temporary versions offering a fancier Control Panel, Trash Can, Chooser, and other changes, including many new resources in the System file. Finder 5.4 and System 4.1 will actually be shipped with the Macintosh II, and will eventually be the choice for all Macintoshes except the original 128K RAM Macintosh, and the Macintosh XL. There is reason to suspect that the new System file will contain enough library routines to support using the new calls to TextEdit and some of the other Managers on existing Macintoshes. In this way, we could write programs that would run on the all Macintoshes with at least 512K of RAM, and still use many of these new features.

LaserWriter driver version 3.4 is on the way, offering numerous enhancements and bug fixes.

A/UX is a version of UNIX which conforms to AT&T System V, Version 2, Release 2, with Berkeley and Apple enhancements. You can, of course, use all the ROM calls from within this multi-tasking environment, and therefore write "proper" Macintosh programs.

Comments about the new Macintoshes

The Macintosh SE

The SE is probably more important than it seems at first glance, because it can be expanded relatively painlessly, and offers better performance than a Macintosh Plus. In particular, the internal SCSI hard disk is considerably faster than Apple's external HD-20SC on a Plus. The Apple field people like the SE, and think it will sell extremely well.

The Macintosh II

Obvious strong points include:

It has very few limitations to limit future expansion and growth of the product line.

You can put giant display screens showing thousands of colors in it. The color monitors seem to be very crisp and clear. We will actually be able to look at them all day long without going blind. You can also use up to six monitors simultaneously!

You will eventually be able to directly address up to 128 MB of RAM on the motherboard. Each NuBus card can address more than 256 MB (that's right, megabytes).

You can add processors and co-processors that can take over the NuBus (80386s, perhaps 68030s next year and who knows what a few years later).

The ROM software is designed, as always, with device independence in mind, so that well-written applications should continue to work as the hardware progresses.

Limitations include:

DMA was not implemented on the logic board, so this means that the processor still has to give disk I/O its full attention. NuBus cards, however, can use DMA.

There is no floppy drive port, so we can't connect our HD-20s to the II. How do we get our data over to it's SCSI disks? We need an adapter to attach old HD-20s to the internal floppy connector - here is another opportunity for an enterprising individual.

Many people feel that Apple needs a multi-tasking O/S to succeed in the workstation market, but they do not have one yet (except A/UX, of course). [A new Finder is under development, inspired by Andy Hertzfeld's Servent, which Apple purchased last year. Unfortunately, developer's have been signed to non-disclosure on the development efforts so we can't comment on it. Apple has been very sensitive on the issue of Servent and it's influence on this effort. -Ed]

The price is high. Will the MS-DOS clone wars make the Macintosh II too expensive for business? Perhaps, but the Macintosh II does look cheap as an engineering workstation - if we write some great software for those markets. So don't stand there, get busy! Recent announcements by IBM make those products even more expensive, and the delay in delivery of their new OS should make the Mac II an attractive price/performance alternative over the next ten months.


Here are some benchmark results from the Macintosh SE and the Macintosh II. Noted that Macintosh II graphics performance depends on the graphics mode, with one-bit per pixel color (or grey scale) naturally operating faster than eight-bit per pixel color.

The raw numbers, in ticks, are given in the table below. The chart that follows has a vertical axis of Time, relative to the Macintosh Plus as a standard.

PlusSEIIProdigy 4
256 colors
(2 colors)
Transcend.55255963 or 14***10
Lines301265244 (170)102
Windows393356165 (99)124

One prototype Macintosh II gave a benchmark result of 63 ticks for a program that computes transcendental functions, such as logarithms, cosines, arctangents, and square roots. Another prototype gave a much shorter time of 14 ticks. Since this test depends on SANE's use of the 68881 math co-processor, we need to run these tests again after the system software is finalized. We show the longer time in the chart.

What do these numbers mean? Here are some tentative conclusions:

1. The SE is up to 15% faster than the Macintosh Plus. This is because the video circuits no longer steal as much processor time for RAM refresh. Although we did not test the hard disk, other tests indicate that the SE's hard disk performance may be up to two times faster than that of a Macintosh Plus, due to improvements in the SCSI driver in the SE.

2. The Macintosh II is similar in performance to a Macintosh Plus with a Levco Prodigy board. This is reasonable, since both have a 16-MHz 68020 with a 68881 math co-processor. The Macintosh II is often 4 to 5 times faster than a Macintosh Plus, but may be 50 times faster on some number crunching. Again, our test results are not clear in this area yet.

3. The number crunching tests reflect the Macintosh II's use of a newly written SANE package. SANE will use the math co-processor if it is there. If you were to write your program directly using 68881 instructions, you would see even better performance. One Apple test showed that direct calls to the 68881 were about 6 times faster than using the patched SANE. You can write instructions to access the 68881 with MPW Assembler, a version of Consulair C, and Absoft FORTRAN. Other support, such as MPW Pascal version 2.0, is on the way. Note however, that SANE is more accurate than the 68881 alone due to some problems with certain functions in the math chip. If accuracy is important, you might want to use the more accurate algorithms in SANE for SINE and COSINE functions rather than calling the 68881 directly.

4. Other tests indicate that the Macintosh II has much faster hard disk performance than other Macintoshes, running up to three times faster than a Macintosh Plus. It is not as fast as it might be however, and early indications are that if the II has any weakness at all it might be in this area of disk access.

All in all, the Macintosh II looks like a superior computer - one that presently offers the best combination of performance, price, and superior software. We think that you will like it.


Community Search:
MacTech Search:

Software Updates via MacUpdate

Chromium 75.0.3770.142 - Fast and stable...
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all Internet users to experience the web. Version 75.0.3770.142: Release notes were... Read more
Viber 11.1.0 - Send messages and make fr...
Viber lets you send free messages and make free calls to other Viber users, on any device and network, in any country! Viber syncs your contacts, messages and call history with your mobile device, so... Read more
Wireshark 3.0.3 - Network protocol analy...
Wireshark is one of the world's foremost network protocol analyzers, and is the standard in many parts of the industry. It is the continuation of a project that started in 1998. Hundreds of... Read more
DEVONthink Pro 3.0beta4 - Knowledge base...
DEVONthink Pro is your essential assistant for today's world, where almost everything is digital. From shopping receipts to important research papers, your life often fills your hard drive in the... Read more
Adobe Creative Cloud - Access...
Adobe Creative Cloud costs $20.99/month for a single app, or $52.99/month for the entire suite. Introducing Adobe Creative Cloud desktop applications, including Adobe Photoshop CC and Illustrator CC... Read more
SketchUp 19.1.174 - Create 3D design con...
SketchUp is an easy-to-learn 3D modeling program that enables you to explore the world in 3D. With just a few simple tools, you can create 3D models of houses, sheds, decks, home additions,... Read more
ClamXav 3.0.12 - Virus checker based on...
ClamXav is a popular virus checker for OS X. Time to take control ClamXAV keeps threats at bay and puts you firmly in charge of your Mac’s security. Scan a specific file or your entire hard drive.... Read more
BetterTouchTool 3.151 - Customize multi-...
BetterTouchTool adds many new, fully customizable gestures to the Magic Mouse, Multi-Touch MacBook trackpad, and Magic Trackpad. These gestures are customizable: Magic Mouse: Pinch in / out (zoom)... Read more
FontExplorer X Pro 6.0.9 - Font manageme...
FontExplorer X Pro is optimized for professional use; it's the solution that gives you the power you need to manage all your fonts. Now you can more easily manage, activate and organize your... Read more
Dropbox 77.4.131 - Cloud backup and sync...
Dropbox is an application that creates a special Finder folder that automatically syncs online and between your computers. It allows you to both backup files and keeps them up-to-date between systems... Read more

Latest Forum Discussions

See All

Upcoming visual novel Arranged shines a...
If you’re in the market for a new type of visual novel designed to inform and make you think deeply about its subject matter, then Arranged by Kabuk Games could be exactly what you’re looking for. It’s a wholly unique take on marital traditions in... | Read more »
TEPPEN guide - The three best decks in T...
TEPPEN’s unique take on the collectible card game genre is exciting. It’s just over a week old, but that isn’t stopping lots of folks from speculating about the long-term viability of the game, as well as changes and additions that will happen over... | Read more »
Intergalactic puzzler Silly Memory serve...
Recently released matching puzzler Silly Memory is helping its fans with their intergalactic journeys this month with some very special offers on in-app purchases. In case you missed it, Silly Memory is the debut title of French based indie... | Read more »
TEPPEN guide - Tips and tricks for new p...
TEPPEN is a wild game that nobody asked for, but I’m sure glad it exists. Who would’ve thought that a CCG featuring Capcom characters could be so cool and weird? In case you’re not completely sure what TEPPEN is, make sure to check out our review... | Read more »
Dr. Mario World guide - Other games that...
We now live in a post-Dr. Mario World world, and I gotta say, things don’t feel too different. Nintendo continues to squirt out bad games on phones, causing all but the most stalwart fans of mobile games to question why they even bother... | Read more »
Strategy RPG Brown Dust introduces its b...
Epic turn-based RPG Brown Dust is set to turn 500 days old next week, and to celebrate, Neowiz has just unveiled its biggest and most exciting update yet, offering a host of new rewards, increased gacha rates, and a brand new feature that will... | Read more »
Dr. Mario World is yet another disappoin...
As soon as I booted up Dr. Mario World, I knew I wasn’t going to have fun with it. Nintendo’s record on phones thus far has been pretty spotty, with things trending downward as of late. [Read more] | Read more »
Retro Space Shooter P.3 is now available...
Shoot-em-ups tend to be a dime a dozen on the App Store, but every so often you come across one gem that aims to shake up the genre in a unique way. Developer Devjgame’s P.3 is the latest game seeking to do so this, working as a love letter to the... | Read more »
Void Tyrant guide - Guildins guide
I’ve still been putting a lot of time into Void Tyrant since it officially released last week, and it’s surprising how much stuff there is to uncover in such a simple-looking game. Just toray, I finished spending my Guildins on all available... | Read more »
Tactical RPG Brown Dust celebrates the s...
Neowiz is set to celebrate the summer by launching a 2-month long festival in its smash-hit RPG Brown Dust. The event kicks off today, and it’s divided into 4 parts, each of which will last two weeks. Brown Dust is all about collecting, upgrading,... | Read more »

Price Scanner via

Verizon is offering a 50% discount on iPhone...
Verizon is offering 50% discounts on Apple iPhone 8 and iPhone 8 Plus models though July 24th, plus save 50% on activation fees. New line required. The fine print: “New device payment & new... Read more
Get a new 21″ iMac for under $1000 today at t...
B&H Photo has new 21″ Apple iMacs on sale for up to $100 off MSRP with models available starting at $999. These are the same iMacs offered by Apple in their retail and online stores. Shipping is... Read more
Clearance 2017 15″ 2.8GHz Touch Bar MacBook P...
Apple has Certified Refurbished 2017 15″ 2.8GHz Space Gray Touch Bar MacBook Pros available for $1809. Apple’s refurbished price is currently the lowest available for a 15″ MacBook Pro. An standard... Read more
Clearance 12″ 1.2GHz MacBook on sale for $899...
Focus Camera has clearance 12″ 1.2GHz Space Gray MacBooks available for $899.99 shipped. That’s $400 off Apple’s original MSRP. Focus charges sales tax for NY & NJ residents only. Read more
Get a new 2019 13″ 2.4GHz 4-Core MacBook Pro...
B&H Photo has new 2019 13″ 2.4GHz MacBook Pros on sale for up to $150 off Apple’s MSRP. Overnight shipping is free to many addresses in the US: – 2019 13″ 2.4GHz/256GB 6-Core MacBook Pro Silver... Read more
AirPods with Wireless Charging Case now on sa...
Amazon has extended their Prime Day savings on Apple AirPods by offering AirPods with the Wireless Charging case for $169.99. That’s $30 off Apple’s MSRP, and it’s the cheapest price available for... Read more
New 2019 15″ MacBook Pros on sale for $200 of...
B&H Photo has the new 2019 15″ 6-Core and 8-Core MacBook Pros on sale for $200 off Apple’s MSRP. Overnight shipping is free to many addresses in the US: – 2019 15″ 2.6GHz 6-Core MacBook Pro Space... Read more
Amazon drops prices, now offers clearance 13″...
Amazon has new dropped prices on clearance 13″ 2.3GHz Dual-Core non-Touch Bar MacBook Pros by $200 off Apple’s original MSRP, with prices now available starting at $1099. Shipping is free. Be sure to... Read more
2018 15″ MacBook Pros now on sale for $500 of...
Amazon has dropped prices on select clearance 2018 15″ 6-Core MacBook Pros to $500 off Apple’s original MSRP. Prices now start at $1899 shipped: – 2018 15″ 2.2GHz Touch Bar MacBook Pro Silver: $1899.... Read more
Price drop! Clearance 12″ 1.2GHz Silver MacBo...
Amazon has dropped their price on the recently-discontinued 12″ 1.2GHz Silver MacBook to $849.99 shipped. That’s $450 off Apple’s original MSRP for this model, and it’s the cheapest price available... Read more

Jobs Board

Best Buy *Apple* Computing Master - Best Bu...
**696259BR** **Job Title:** Best Buy Apple Computing Master **Job Category:** Store Associates **Location Number:** 001076-Temecula-Store **Job Description:** The Read more
Business Development Manager, *Apple* Globa...
Business Development Manager, Apple Global Tampa, FL, US Requisition Number:73805 As a Global Apple Business Development Manager at Insight, you proactively Read more
*Apple* Systems Architect/Engineer, Vice Pre...
…its vision to be the world's most trusted financial group. **Summary:** Apple Systems Architect/Engineer with strong knowledge of products and services related to Read more
*Apple* IOS Systems Engineer - Randstad (Uni...
Apple IOS Systems Engineer **job details:** + location:Irvine, CA + salary:$45 - $55 per hour + date posted:Tuesday, July 16, 2019 + job type:Temp to Perm + Read more
Business Development Manager, *Apple* Globa...
Business Development Manager, Apple Global Tampa, FL, US Requisition Number:73805 As a Global Apple Business Development Manager at Insight, you proactively Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.