Overview of Power Mac G4

The desktop Power Mac G4 computer uses dual PowerPC G4 microprocessors and is intended for use in content creation, desktop publishing, multimedia, and other activities that require high performance.

New Features

Here is a list of the features that are new to the Power Mac G4 computer.

Hardware Features Summary

Here is a list of the hardware features of the Power Mac G4 computer. The major features are described more fully later in this note.

Features of the Enclosure

The Power Mac G4 computer’s enclosure is a mini-tower design with opaque side panels and transparent handles. To access the main logic board to install PCI cards or additional memory, lift the latch and swing the side door down.

The front of the computer’s enclosure has the speaker, media doors for the two removable media drives, the power button with power-on light, and a headphone jack.

The back panel includes the A/C power socket, the I/O ports, and the openings for I/O connectors on the PCI cards.

The enclosure has space for four hard-disk storage and two optical devices. See Fixed-Media Drives.

System Software

The Power Mac G4 computer comes with Mac OS X 10.2 and Mac OS 9.2.2 installed. Mac OS X is the default operating system.

Use the APIs IOKitLib and IOKit.framework to get information from I/O Registry Explorer.

Computer Identification

Rather than reading the box flag or the model string and then making assumptions about the computer’s features, applications that need to find out the features of the computer should use the I/O Registry Explorer calls to test for the features they require.

Asset management software that reports the kind of computer it is run on can obtain the value of the property at Devices:device-tree:compatible in the IODeviceTree plane of the I/O Registry. The model string is the first program-usable string in the array of C strings in the compatible field. For the Power Mac G4, the value of the model property is PowerMac3,6.

Dual Processors and Mac OS 9 Applications

To gain a performance advantage on dual-processor configurations, applications that run in Mac OS 9 must be modified to use Multiprocessing Services, an API that allows applications to create tasks that run independently on one or more processors.

Multiprocessing Services allows you to create preemptive tasks within an application. The application still operates in a cooperative multitasking environment with respect to other applications.

Multiple processor support is transparent in Multiprocessing Services. If multiple processors are available, Multiprocessing Services divides the tasks among the available processors. If only one processor is available, Multiprocessing Services schedules all the tasks with that processor.

Multiprocessing Services allows you to determine the number of processors available before creating any tasks.

To obtain more information, including interfaces and libraries, documentation, demonstration applications, and sample code, refer to the references in Multiprocessing Services.

Power-Saving Modes

The Power Manager is designed to implement a common power management strategy across all Macintosh models.

Processor States

The following processor states are defined:

  • Run Multiple: The system is running at maximum processing capacity with all processors running at full speed.

  • Run Single: One processor is running at maximum processing capacity. One processor is running at full speed; all other processors are in sleep mode with their caches flushed and their states saved.

  • Idle One: The system is idling. All clocks are running and the system can return to running code within a few nanoseconds. All other processorsare asleeping as described for Run Single.

System Modes

The Macintosh system has two power-saving modes.

  • Partial sleep: The power to the disk drive motors and the display is turned off, but the power supply and fans are still on. The computer can still respond to network activity. Hard drive sleep and monitor sleep can be controlled independently via the energy saver control pane.

  • Full sleep: The main power supply is shut down. A trickle supply provides auxiliary power to the PCI slots and keeps the DRAM state preserved for a quick recovery. All processors are powered off with their state preserved in DRAM. All clocks in the system are suspended except for the 32.768 KHz timebase crystal on the PMU99 IC. This mode allows the computer to meet the 5 W sleep requirement while providing the ability to start up without rebooting.

Velocity Engine Acceleration

The Velocity Engine (an implementation of AltiVec) is the vector processing unit in the PowerPC G4 microprocessor. Some system software has been modified to take advantage of the accelerated processing that the Velocity Engine makes possible. System software has also been modified to support low-level operations using the Velocity Engine.

For complete information on the Velocity Engine, refer to the following Apple websites:

http://developer.apple.com/hardwaredrivers/ve/index.html

and

http://developer.apple.com/documentation/Performance/Conceptual/vDSP/vDSP_Library.pdf