Macintosh Old World ROM

Old World ROM is the name used for Macintosh models that carry the Macintosh Toolbox in read-only memory on the logic board, usually socketed and sometimes soldered. Every Macintosh before the iMac, the iBook, the Blue and White Power Macintosh G3 and the Bronze Keyboard (Lombard) PowerBook G3 is an Old World machine, including the Beige Power Macintosh G3 and every other beige or platinum Power Macintosh. Those four and all later PowerPC models are New World machines, which load the Toolbox from a file on disk.[1] In common use the term usually means the PCI Power Macintosh models, but the Toolbox starts the same way on 68k Macs, NuBus Power Macs and PCI Power Macs.[1]
What the ROM holds
[edit | edit source]The ROM holds the Toolbox and Operating System routines and the system traps.[2] Its size grew with each generation:
| ROM | Models and arrangement |
|---|---|
| 64 KB | 128K and 512K: two 256 Kbit ICs |
| 128 KB | 512Ke and Plus: two 512 Kbit ICs |
| 256 KB | SE: two 1 Mbit ICs. II and IIcx: four 512 Kbit ICs. Macintosh Portable: two 1 Mbit ICs plus a ROM expansion connector |
| 512 KB | IIci: four 1 Mbit ICs plus a 64-pin ROM SIMM socket. IIfx: one ROM SIMM of four 1 Mbit ICs |
| 4 MB | PowerPC models, for example the Power Macintosh 6100 (on a SIMM), 5200/5300 and 6400/6500 |
Sources: Guide to the Macintosh Family Hardware for the 68k models; Apple's Service Sources for the Power Macintosh 6100, 5200/5300 and 6400/6500.[2][3]
The Portable's ROM expansion card can hold up to 4 MB, either adding to the system ROM (up to 5 MB in total) or replacing it. The Portable's permanent ROM has a 150 ns access time and needs two wait states; an expansion card controls its own wait states with the /EXT.DTACK signal and may draw at most 2 mA at +5 V.[2]
ROM SIMMs
[edit | edit source]On the SE/30 and IIx the ROM is a 64-pin ROM SIMM in a socket on the logic board, which makes it easy to upgrade.[2] The IIci has four soldered ROM ICs and a 64-pin SIMM socket for upgrading or expanding ROM; the IIfx has only the SIMM.[2] A 64-pin ROM SIMM is a different part from the 72-pin RAM SIMMs used in later Macs.
ROM addresses and access rates
[edit | edit source]Apple's guidance is that software should find the ROM through the constant romStart or the global variable ROMBase, not a fixed address.[2] The trap dispatch table stores each ROM routine as an offset from ROMBase.[4] On the Macintosh SE the address decoder selects ROM for addresses $400000 to $4FFFFF. On the Macintosh II family a NuBus card that places an address from $F0800000 to $F0FFFFFF on the bus reaches ROM at $40800000 to $40FFFFFF.[2]
Apple gives ROM performance as a measured access rate for each model. Because ROM cycles are not interleaved with video or sound, the processor always reaches ROM at the same rate.[2]
| Model | CPU | ROM access rate |
|---|---|---|
| Macintosh Plus, SE | MC68000 | 3.92 MB/s |
| Macintosh Portable | MC68HC000 | 7.86 MB/s |
| Macintosh II | MC68020 | 12.53 MB/s |
| Macintosh SE/30, IIx, IIcx | MC68030 | 15.67 MB/s |
| Macintosh IIci | MC68030 | 20.0 MB/s |
| Macintosh IIfx | MC68030 | 64.0 MB/s |
PowerPC models
[edit | edit source]Every Power Macintosh runs a 68LC040 emulator inside a nanokernel. The emulator boots the Toolbox, which is still largely 68k code, and runs 68k applications.[1]
PCI Power Macs with an Old World ROM contain an Open Firmware implementation, with the Toolbox as an Open Firmware device that the machine boots by default. These early versions (1.0.5 and 2.x) were written only to enumerate PCI devices and load the Toolbox; they have bugs that boot loaders and nvramrc patches must work around, and they cannot load files from an HFS partition. Apple set their default console to the modem port, so reaching the Open Firmware prompt needed a terminal or a setting changed from Mac OS. Holding Command-Option-O-F at startup was officially supported from the PowerBook 3400's firmware onward.[5][1] NuBus Power Macintosh models (6100, 7100, 8100) have no Open Firmware.[1]
Startup
[edit | edit source]Once the Toolbox is running, the startup is the same on every Old World machine. The ROM runs its memory test, finds the devices it knows about, starts the built-in video or the video card's option ROM, then looks for a startup disk.[1] Apple's System 6 manual gives the search order:[6]
- Internal 3.5-inch floppy drive 1.
- Internal or external 3.5-inch floppy drive 2, if fitted.
- The startup device set in the Control Panel (Macintosh SE and II).
- The internal hard disk, or the SCSI hard disk with ID 0.
- Other SCSI devices in descending ID order, from 6 to 0.
A Macintosh-initialised volume carries its system startup information in logical blocks 0 and 1, read at startup; it sets parameters such as the size of the event queue, the initial size of the system heap and the number of open files.[4]
If a startup disk is found, the Happy Mac appears and control passes to the System file. If none is found, the disk icon with a flashing question mark appears. If a hardware test fails, the machine shows a Sad Mac icon with a hexadecimal code and stops; on Macs made after 1987 a "Chimes of Death" sound plays as well. PCI Power Macs play the chime but do not draw the Sad Mac icon or its code.[1]
The codes, the test numbers and the chime for each machine family are on Sad Mac Error Codes, which also covers the Test Manager that later ROMs expose on the modem port for use over a null-modem cable (see also Diagnostic Serial Console).
Other operating systems
[edit | edit source]Because an Old World ROM boots the Toolbox, other operating systems are usually started by a boot loader running under Mac OS; BootX is the usual one for Linux. 68k Macs and NuBus Power Macs must have Mac OS installed to load another system, including Apple's own A/UX. PCI Power Macs can instead be set to boot into Open Firmware and load a boot loader such as quik directly, or can boot from a specially prepared floppy.[1]
Identification
[edit | edit source]An Old World Mac has no factory USB port. Every New World Mac has one; Old World machines use ADB for keyboard and mouse and mini-DIN-8 serial ports for other peripherals.[1][5] The PowerBook G3 Series (Wallstreet and PDQ) is Old World and has no USB; the Bronze Keyboard (Lombard) PowerBook G3 that followed it is New World.[1]
New World ROM
[edit | edit source]On New World machines the Toolbox ROM image lives in a file called "Mac OS ROM" in the System Folder, which Open Firmware 3.0 loads at startup. Because Mac OS X does not need the Toolbox, the physical ROM shrank, typically from 4 MB to 1 MB, and could be flash memory. All New World Macs report the same machine ID, 406, through Gestalt; the real model is in the Open Firmware device tree.[5]
Related pages
[edit | edit source]- Macintosh Toolbox
- Sad Mac Error Codes
- Sad Mac Decoder
- List of Apple Macintosh models by CPU type
- Inside Macintosh Volumes I-II-III 1985
- Macintosh System Software Users Guide 1988
- The Programmer's Apple Mac Sourcebook 1989
- Technical Introduction to the Macintosh Family 1987
External links
[edit | edit source]- Folklore.org, stories of the original Macintosh development team
- 68k Mac ROM Boot Disk, a modification that lets a Mac IIx boot from a disk image stored in ROM, based on the IIsi ROM
- Mini vMac, an emulator of early 68k Macs that needs an Old World ROM image
- MAME Mac 68K driver notes
References
[edit | edit source]- ↑ 1.00 1.01 1.02 1.03 1.04 1.05 1.06 1.07 1.08 1.09 Wikipedia, "Old World ROM".
- ↑ 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 Apple Computer, Guide to the Macintosh Family Hardware, second edition (Addison-Wesley, 1990), chapter 5 "Memory", section "ROM", pp. 230–232, and chapter 3, NuBus address translation. Hosted as File:Apple Guide to the Macintosh Family Hardware 2nd Edition 1990.pdf.
- ↑ Apple Computer, Power Macintosh 6100/WS 6150 Service Source ("ROM 4 MB installed on SIMM socket"), File:Powermac 6100 series.pdf; Power Macintosh/Performa 5200 and 5300 Service Source, File:Powermac.perf 5200.5300.pdf; Performa/Power Macintosh 6400 and 6500 Series Service Source ("4 MB of read-only memory"), File:Powermac.perf 6400.6500.pdf.
- ↑ 4.0 4.1 Apple Computer, Inside Macintosh, Volumes I–III (1985), "The Trap Dispatch Table" and the File Manager chapter. Hosted as Inside Macintosh, Volumes I–III (PDF).
- ↑ 5.0 5.1 5.2 Wikipedia, "New World ROM".
- ↑ Apple Computer, Macintosh System Software User's Guide, Version 6.0 (1988), chapter 9 "Startup Disks", "Scanning order for startup disks", p. 215 (PDF p. 231). See Macintosh System Software Users Guide 1988.