Classic, or Classic Environment, is a hardware and software abstraction layer in Mac OS X that allows applications compatible with Mac OS 9 to run on the OS X operating system. The name "Classic" is also sometimes used by software vendors to refer to the application programming interface available to "classic" applications, to differentiate between programming for Mac OS X and the previous version of the Mac OS.
Classic can be loaded at login (for faster activation when needed later), on command, or whenever a Mac OS application that requires it is launched (to reduce the use of system resources when not needed). It requires a full version of Mac OS 9 to be installed on the system, and loads an instance of that OS in a sandbox environment, replacing some low-level system calls with equivalent calls to Mac OS X via updated system files and the Classic Support system enabler. This sandbox is used to launch all "classic" Mac OS applications—there is only one instance of the Classic process running for a given user, and only one user per machine may be running Classic at a time.
If the "load-when-needed" option is selected, double clicking a "classic" application first launches Classic, which can be configured to appear in a window resembling the display of a computer booting into Mac OS 9. When Classic is finished loading, the application launches. When a "classic" application is in the foreground, the menu at the top of the screen changes to look like the older Mac OS system menu. Dialog boxes and other user-interface elements retain their traditional appearance.
Classic's compatibility is very good, provided the application using it does not require direct access to hardware or engage in full-screen drawing. However, it is not a perfect clone of Mac OS 9. The Finder included with Mac OS X v10.2 and later does not support the "Reveal Object" Apple event used by Mac OS 9 applications, causing the "Reveal In Finder" functionality for those applications to be lost. Early releases of Mac OS X 10.2 would often fail to draw window frames of Classic applications correctly. Additionally (somewhat to the surprise of end-users) Classic resurrected some older applications that had previously been unusable on the Macintosh Quadra and Power Macintosh series; this is because Mac OS X replaced Mac OS 9's virtual memory system with a more standard and less fragile implementation, and eliminated the Motorola 68040's split cache system.
Classic's performance is also generally acceptable, with a few exceptions. Most of an application is run directly as PowerPC code. (This is likely a major reason why Classic is not supported on Intel-based Macs.) Motorola 68k code is handled by the same Motorola 68LC040 emulator that Mac OS 9 uses. Some application functions are actually faster in Classic than under Mac OS 9 on equivalent hardware, due to performance improvements in the newer operating system's device drivers. These applications are largely those that use heavy disk processing, and as of 2005 most have been ported to Mac OS X. On the other hand, applications that rely on heavy processing and which did not share resources under Mac OS 9's co-operative multitasking model will be interrupted by other (non-Classic) processes under Mac OS X's preemptive multitasking. The greater processing power of most systems that run OS X (compared to systems intended to run Mac OS 8 or 9) helps to mitigate the performance degradation of Classic's emulation.
Mac OS X | Compatibility layers
Macintosh Classic | Classic (Mac OS X) | Classic | Classic (Mac OS X)
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Classic (Mac OS X)".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world