A blazing-fast, feature-rich Mac OS 8, 9 & Pippin runtime.
Website · Download · Quick start · Using Blue · FAQ · Documentation · License
Blue runs classic Mac OS, from version 8.5 to 9.2.2, on a Mac or a Linux PC of today. It doesn't emulate a whole Power Mac: it replaces the lowest layer of Mac OS, the NanoKernel, with a native program, and runs everything above it, Apple's own code, unmodified. To Mac OS, the machine looks like an original iMac from 1998.
You bring the Mac OS: the Mac starts up from a Mac OS CD image, Mac OS's own installer puts it on a disk image, and from then on the Mac starts up from that disk, in a window on your desktop.
- Mac OS 8.5 to 9.2.2, unmodified, from their CDs or installed on a disk image. Blue starts the "Mac OS ROM" file from the startup disk, as the original iMac's firmware does.
- Fast: a PowerPC JIT on Apple silicon, ARM64 Linux and x86-64 (Intel from 2013, AMD from 2015), many times a real G3's speed.
- 3D: QuickDraw 3D and RAVE through an engine games see as an ATI Rage 128, and Mac OS 9's OpenGL through Blue's own libraries, drawn on the GPU (over Metal on Apple silicon) or in software.
- The rest of a Mac: sound, CD audio and your microphone, networking through your
connection, the internal modem (its calls go over the internet), a serial
port on a serial device of yours, printing to a PDF and your computer's print
dialog, a folder of yours as a disk, the clipboard shared both ways,
and disk, CD (
.iso,.toast,.cue/.bin,.nrg,.mds,.ccd,.chd,.dmg) and floppy images you drop on the window. - Game controllers: Xbox, PlayStation, Switch and other pads play as the keyboard and mouse, as a Pippin's AppleJack, and as game controllers of their own in games that use InputSprocket.
- Guest tools, offered once the Finder is up: the screen follows the window's size, the clipboard is shared, and the 3D engine, OpenGL, game controllers for InputSprocket and a library for Bandai Pippin titles are installed, with a desktop printer, Blue Printer, on the Desktop.
- Reproducible runs for testing and debugging: in instruction time, a run is the same every time, down to the instruction.
On a real Power Mac, only the NanoKernel runs in the processor's supervisor mode. The 68k emulator, the Toolbox, applications and drivers all run in user mode and reach the kernel through a small interface. Blue keeps all of that Apple code as it is and supplies everything below the interface itself:
68k apps, 68k Toolbox code → Apple's own 68k emulator (from the ROM, unchanged)
PPC apps, Toolbox, drivers → Blue's user-mode PowerPC JIT and interpreter
══════ NanoKernel interface: kernel calls (twi, sc), exceptions, interrupts ══════
Native kernel + an iMac's devices + drivers + loader ← Blue, portable C
macOS and Linux hosts, AArch64 and x86-64
docs/architecture.md tells the whole story.
SheepShaver and QEMU are the long-standing ways to run classic Mac OS on today's computers, and Apple's own Classic environment once ran Mac OS 9 inside Mac OS X. Blue owes a lot to the first two (see Acknowledgements). Here's how it stands beside all three:
| Blue | SheepShaver | QEMU | Classic, in Mac OS X | |
|---|---|---|---|---|
| Mac OS | 8.5 to 9.2.2 | 7.5.3 to 9.0.4 | 9.0 to 9.2.2, and Mac OS X 10.0 to 10.5 | 9.1 to 9.2.2 |
| Runs on | macOS 11 and later, and Linux: Apple silicon, ARM64 and x86-64 | macOS, Linux and Windows | macOS, Linux and Windows | PowerPC Macs, with Mac OS X 10.0 to 10.4 |
| How | Apple's code, unmodified, on a native kernel in place of the NanoKernel | Apple's code on a patched ROM, with a kernel of its own | A whole Power Mac emulated, firmware and all | Mac OS 9 as a program in Mac OS X, on a real PowerPC |
| Speed | A JIT on every host: about 18 times a Power Mac G3/300 in MacBench 5's processor test, on an Apple M5 | A JIT on Intel and AMD; none on Apple silicon | A JIT, with every device and the memory management unit emulated | The PowerPC's own, up to a Power Mac G5 |
| What you need | A Mac OS CD or disk image | A Mac OS CD or disk image, and a ROM file found elsewhere | A Mac OS CD or disk image | Mac OS 9 installed beside Mac OS X |
| 3D | QuickDraw 3D, RAVE (as an ATI Rage 128) and OpenGL, drawn on your GPU | Software only | Software only | Programs that draw straight to the screen or the hardware often fail |
| Restart and Startup Disk | Both work | Restarting can freeze or crash it; Startup Disk doesn't work | Neither works | Mac OS X's own |
| Screen | Follows the window's size, scaled to suit your display | A fixed size, set in its settings | Set in Mac OS's Monitors control panel | Mac OS 9's windows among Mac OS X's |
| Audio | Yes, with CD audio from most kinds of CD image, and your microphone as input | Output, with CD audio from .cue/.bin images; no input |
Only in separate experimental builds | Yes, input included |
| Disk images | Dropped on the window or inserted from the menu: CD images in most formats, compressed .dmg and Disk Copy images, floppies |
Uncompressed images, and one at a time dropped in as a CD | Raw and QEMU's own formats, changed from a menu | Mac OS X's |
| Shared folders | A folder of yours as a disk, its changes written back when Mac OS shuts down or puts it away, and offered again with yours | A folder as a live disk, though programs can't run from it | Separate experimental drivers | Mac OS X's disks, directly |
| Networking | TCP/IP through its NAT, with port forwarding, so Mac OS can serve | TCP/IP through its NAT, with port forwarding; AppleTalk with extra setup, on some hosts | TCP/IP through its NAT, with port forwarding; AppleTalk through bridged networking, run as root | Mac OS X's, AppleTalk included |
| Modem | The iMac's internal modem, its calls going over the internet; and a serial port, on a serial device of your computer's | The modem and printer ports passed to the host's serial ports; no modem of its own | A host serial port, through an emulated USB serial adapter and FTDI's driver; no modem of its own | Mac OS X's dial-up connection, for internet programs; terminal and fax programs can't use the modem |
| Game controllers | Gamepads, as keys or through InputSprocket | No | A USB gamepad, passed through | Unreliable |
| USB devices | Passed through from the host, at USB 1.1 speeds, for Mac OS's drivers or their makers' | No | Passed through from the host | Through Mac OS X |
| Pippin titles | Yes | No | No | No |
SheepShaver also runs System 7.5 to Mac OS 8.1, given an Old World ROM. Blue's other gaps, such as FireWire devices, are listed under What isn't there.
| Platform | Download |
|---|---|
| macOS, Apple silicon | Blue-arm64.dmg |
| macOS, Intel | Blue-x86_64.dmg |
| Linux x86-64 | Blue-x86_64.AppImage |
| Linux AArch64 | Blue-aarch64.AppImage |
Each release also has a
SHA256SUMS file with the downloads' checksums, the source code it was
built from, and Blue-third-party-sources.tar.gz: the exact sources of
the libraries the packages carry (SDL2, libslirp, GLib and libusb, with
what they need), as THIRD-PARTY-NOTICES.md describes.
Blue needs macOS 11 (Big Sur) or later. Open the disk image for your Mac
(Blue-arm64.dmg for Apple silicon, Blue-x86_64.dmg for Intel) and drag
Blue to Applications.
The first time, macOS won't open Blue by double-clicking it. Blue is signed ad hoc rather than by a registered Apple developer, and isn't notarised, so macOS asks you to confirm it once:
- On macOS 14 and earlier, right-click (or Control-click) Blue in Applications and choose Open, then Open again.
- On macOS 15 and later, try to open it once, then go to System Settings > Privacy & Security, scroll down, and click Open Anyway next to the note about Blue.
After that it opens normally. If you prefer Terminal,
xattr -dr com.apple.quarantine /Applications/Blue.app does the same.
Blue runs from Terminal for now, as /Applications/Blue.app/Contents/MacOS/blue.
To type just blue, make a link to it in a folder on your PATH, for
example: ln -s /Applications/Blue.app/Contents/MacOS/blue /usr/local/bin/blue.
The AppImages run on Linux with glibc 2.35 or later (Ubuntu 22.04, Debian
12, Fedora 36 and later): Blue-x86_64.AppImage for x86-64 PCs,
Blue-aarch64.AppImage for ARM64. Make yours executable, then run it as
Blue itself:
chmod +x Blue-x86_64.AppImage
./Blue-x86_64.AppImage --versionAn AppImage mounts itself with FUSE, so it needs fusermount (the fuse
or fuse3 package, which most desktops already have). Without FUSE, in a
container for example, add --appimage-extract-and-run before Blue's own
arguments: the AppImage then unpacks itself into a temporary folder each
time. Or unpack it once with --appimage-extract and run
squashfs-root/AppRun instead. AppImage integration tools, such as
AppImageLauncher and Gear Lever, can add Blue to your desktop's
applications.
You can also build Blue yourself: see Building from source.
If you double-click Blue.app or an AppImage, Blue opens its launcher: a
window for choosing the Mac to start. (blue launch opens it from a
terminal.)
- Drives is the Mac's disks and CDs, in the order Mac OS looks for one to start up from. Add Disk... and Add CD... choose an image (or drop images, floppies and folders on the window, and Blue tells which is which), Empty CD-ROM Drive adds a drive to put a disc in later, and New Disk... makes an empty disk image, from 500 MB to 8 GB, to install Mac OS on, and adds it. Below are the floppy disks, and a folder to share with Mac OS as a disk (see The shared folder).
- Settings is the Mac's memory, the window's scale and status bar, the network and the modem, sound, 3D drawn by your graphics card, and whether Mac OS's own settings are kept between runs (its NVRAM, in a file beside Blue's settings).
- Files is the three files a Mac can have besides its drives, each a path you can type or choose and clear: a ROM file to start from instead of the startup disk's, the file Mac OS's own settings are kept in, and the modem's phone book.
- Devices is how the Mac meets your computer's network and USB: the ports of your computer forwarded to the Mac, so that Mac OS can serve; the port its modem answers calls on; and the USB devices it connects when it starts. See Devices, below.
The launcher says what the Mac would start up from, or why it can't (no
drive has a Mac OS ROM file in its System Folder, or an image isn't where
it was, shown in red), and Start starts it. What you choose is kept in
Blue's settings file as you choose it, so Blue
opens with the same Mac next time, and blue boot with no options starts it
too (see Starting the same machine each time).
About Blue..., between Quit and Start, says which version this is.
- Ports forwarded to the Mac: Add... asks for TCP or UDP, a port of your computer and the Mac's port it goes to (8080 to 80, say, to see a web server running in Mac OS from your browser), and whether other computers may connect, or only this one (it's only this one, unless you say). Each is kept with the Mac, and in a Mac that's running takes effect at once (see Networking).
- Modem answers calls on: a port, or
ADDRESS:PORT, for the modem to ring on when something connects to it (see The modem); kept with the Mac, it takes effect when the Mac starts. - Serial port on: a serial device of your computer's, or
pty, for the Mac's serial port (see The serial port); Choose... lists the devices your computer has. Kept with the Mac; it takes effect when the Mac starts. - USB devices: your computer's devices, with a tick beside each for the Mac to connect when it starts (it has two ports), by the device's IDs, so the same device is found again wherever it's plugged in. A device that was ticked and isn't plugged in now stays in the list, by its name. Refresh lists them again. In a Mac that's running, ticking one connects it, and unticking it lets it go, at once (see USB devices).
- The network is said in words beneath: the Mac's address, and where your computer and DNS are to it, with, in a running Mac, how much has gone through.
The button at the top right of the launcher is the Mac that will start. Its
menu lists the others you've made, to go to, and New Machine... makes
another with no drives (Mac OS installs on a disk of its own, with its own
file for Mac OS's settings), Duplicate... makes a copy of this one,
Rename... gives it another name, and Delete... takes it away (not
its disk images, nor any file: only Blue's list of them). Each is kept, as the
rest of the launcher is, in the settings file, and the one you chose last is
the one Blue starts: blue boot --machine "Mac OS 8.6" starts the one of that
name (see Starting the same machine each time).
Add Disk..., Add CD..., Choose... (a folder to share, or one of the Files), New Disk... and a drive's Insert... in Blue's menu open Blue's own file browser, in the window, so that choosing a file is the same on a Mac and on Linux, with no other program to install.
Click a place to go there, a folder or file to select it, and double-click to
open a folder or choose a file (Return does what the button says). The path
at the top can be typed over: Return goes there (~ is your home folder), or
to the file named, with it selected. Typing the start of a name finds it, the
arrow keys, Page Up and Page Down move about, Backspace goes up a folder,
and Esc cancels. Recent lists the images you used lately for that
(disks, CDs, floppies, folders), those that are still there; the browser opens
where you last chose one. Show hidden files shows the names that start with
a dot, and New Folder..., for a place to put a new disk or a folder to share,
makes one. Dropping files on the window still works.
Here's how to install Mac OS on a disk image and start it up. (You can do
the same in the launcher: New Disk... for
the disk, Add CD... for the CD image, then Start.) In the commands below,
blue stands for Blue's command:
| You have | Type this for blue |
|---|---|
| Blue.app on macOS | /Applications/Blue.app/Contents/MacOS/blue |
| An AppImage on Linux | ./Blue-x86_64.AppImage (or ./Blue-aarch64.AppImage) |
| Your own build | build/blue |
- A Mac OS CD image, of version 8.5 to 9.2.2 (see
Compatibility): an
.iso,.toast,.cdr,.imgor.dmgfile, or a.cuesheet with its.binfiles (or another kind of CD image: see Images Blue takes). Blue includes no Apple software, and needs no separate ROM file: it uses the "Mac OS ROM" file on the CD. To make an image of a CD you own, use Disk Utility on a Mac (File > New Image > Image from the disc, in the "DVD/CD master" format, which makes a.cdr), orddon Linux. - About 2 GB of free space for the Mac's disk.
blue disk create hd.img 2G "Macintosh HD"This makes hd.img, a 2 GB disk image holding an empty Mac OS Standard
(HFS) volume called Macintosh HD. On most file systems the file only takes
up the space Mac OS fills. Blue won't overwrite a file that's already
there.
blue boot --disk hd.img --cdrom macos.iso --nvram blue.nvramThis starts the Mac in a window, running in real time, with the new disk and the CD attached:
--disk hd.imgattaches the disk image, which Mac OS can write to.--cdrom macos.isoputs the CD image in a CD-ROM drive.--nvram blue.nvramkeeps the Mac's settings in a file (see below).
Blue starts up from the first drive that has a System Folder with a "Mac OS ROM" file in it, in the order you gave them. The new disk is empty, so the Mac starts up from the CD.
Most Mac OS CDs: open "Mac OS Install" on the CD and follow it, with Macintosh HD as the destination. The installation takes a few minutes at most.
Restore CDs, which install with Apple Software Restore instead: open Apple Software Restore from the CD's window. Click Switch Disk until the destination is Macintosh HD, then Restore, and OK. This erases the disk and copies Mac OS onto it (the disk then takes the restored system's name). When it's done, click Quit, so that the Finder can set the new disk up. Drive Setup may open too, and list no drives: that's expected, and you don't need it.
When the installation is over, choose Shut Down from Mac OS's Special menu. Blue quits when the Mac turns itself off.
blue boot --disk hd.img --nvram blue.nvramThe disk now has a System Folder, so the Mac starts up from it. The first time, Mac OS Setup Assistant asks a few questions. (While it's open, it keeps one of your processor's cores busy, as it kept a real Mac's processor busy; once it's finished, Blue goes back to resting while Mac OS is idle.)
You can leave the CD attached if you like: the disk comes first on the command line, so it stays the startup disk. To start up from the CD instead, hold C as the Mac starts (see Disks, CDs and floppies).
Once the Finder is up, Blue offers to install its guest tools on the startup disk. Click Install and Restart: Mac OS writes the tools into its Extensions folder and restarts, and from then on the screen follows the window's size, the clipboard is shared, the scroll wheel scrolls, and 3D games are accelerated. A desktop printer, Blue Printer, appears on the Desktop too (see Printing). See The guest tools.
--nvram FILE keeps the Mac's NVRAM in a file: the settings Mac OS keeps
in parameter RAM, and the startup disk chosen in the Startup Disk control
panel. Without it, the Mac starts each time with blank settings. Use the
same file every time you start a particular Mac, and give each
installation its own. Mac OS 9.1 and later write their settings when they
shut down or restart, so shut down from Mac OS to keep changes.
Blue keeps its own settings in a settings file: your game controllers'
mappings and whether sound input is on (what you choose
in its menu), and the machine you start (see Starting the same machine
each time, below). It's in
~/Library/Application Support/Blue/settings.ini on macOS, and
~/.config/blue/settings.ini on Linux (or in $XDG_CONFIG_HOME/blue/).
It's plain text, name = value lines under a [section], which you can
read and edit (with Blue closed): [controller] has the mapping for all
controllers, a line for each button, stick and trigger (a = Return,
lefttrigger = Control-Click, rightstickmode = Mouse), and
[controller ID] sections a kind of controller's own, by its SDL GUID;
[sound] has microphone = on or off, and [recent] the disk, CD and floppy
images and folders you used lately (the newest first: what the file browser's
Recent lists). Blue writes it whole each time something changes, to a new file it then
puts in the old one's place. Runs without a window, in instruction time
or with an input script leave it alone; --settings FILE uses another
file (in any run), and --settings none none.
--save keeps the machine an invocation describes, so that later blue boot with no options starts it (the launcher
keeps the same machine as you choose it, and starts it with its Start button):
build/blue boot --disk hd.img --cdrom macos.iso --ram 256 --nvram blue.nvram --save
build/blue boot # the same again: no options
What it keeps is what the options say about the Mac and its window: the
drives in order (--disk, --cdrom, --cdrom-drive), the floppies, the
shared folder, --ram, --rom, --nvram, --scale, --integer-scale,
--no-status-bar, --no-net, --no-modem, --modem-phonebook,
--no-sound and --no-gpu, the --forward ports, --modem-listen's port,
--serial's device and the --usb devices, with the saved machine's for
whatever the options leave out. Paths are kept whole, from where you were. Options
you give when you start it come first, one by one: blue boot --ram 64 starts
the saved machine with 64 MB, and --disk, --cdrom or --cdrom-drive
replace all its drives (so does --floppy its floppies). An option that
turns something off (--no-net) can't turn it back on: --settings none
leaves the saved machine out, and so does anything that isn't a window in
real time (a script, --headless), as for the rest of the file.
The machine is in the file, which you can edit; the [machine],
[drives], [display] and [network] sections hold it, and [sound]
output = on or off:
[machine]
ram = 256
nvram = /Users/me/Mac/blue.nvram
[drives]
disk = /Users/me/Mac/hd.img
cdrom = /Users/me/Mac/macos.iso
# (no image: an empty CD-ROM drive)
cdrom =
floppy = /Users/me/Mac/disk1.img
share = /Users/me/Shared
[display]
# auto, or 1 to 4
scale = auto
integer-scale = off
status-bar = on
[network]
net = on
modem = on
# a port the modem answers calls on, [ADDRESS:]PORT
modem-listen = 127.0.0.1:2323
# ports of your computer forwarded to the Mac: tcp or udp, your computer's port, the
# Mac's (this computer only, unless it says an address: 0.0.0.0:8080 is all of them)
forward = tcp 8080 80
forward = udp 0.0.0.0:5000 5000
[serial]
# the serial device of your computer the Mac's serial port is on (or "pty")
port = /dev/cu.usbserial-1410
[usb]
# devices of your computer the Mac connects when it starts: VID:PID, or where it's
# plugged in, then, if you like, its name (two at most)
device = 046d:c077 Logitech USB Receiver
(Comments go on lines of their own: a # after a value is part of it.)
If a drive or folder the file names has gone, Blue says so and stops,
rather than start from another disk; put it back, change the file, or
start with --settings none.
More than one Mac. The machine above is the one chosen: the one blue boot
starts and the launcher and Settings change. The others are each a section
of their own, [machine NAME], with all the lines of the sections above in it
(sound for [sound]'s output), and name = ... in [machine] names the one
chosen (a Mac without a name is called Mac):
[machine]
name = Mac OS 9.2.2
ram = 256
nvram = /Users/me/Mac/9.nvram
# ... [drives] and the rest, as above
[machine Mac OS 8.6]
ram = 64
nvram = /Users/me/Mac/86.nvram
disk = /Users/me/Mac/86.img
cdrom = /Users/me/Mac/8.6.iso
blue boot --machine "Mac OS 8.6" starts the one of that name (not
case-sensitively), and makes it the one chosen, so that blue boot with no
options starts it next. The launcher makes, copies, renames and deletes them (a
machine is only Blue's list of what's in it: its disk images and NVRAM file
are as they were), and gives each new one a Mac OS settings file of its own,
named for it, beside the settings file. A name can't have a ] or start or end
with a space, and there's room for 16.
The window shows the Mac's screen, with Blue's status bar below it. The Mac runs in real time while the window is open, and rests when Mac OS is idle.
To finish, shut down from Mac OS (Special > Shut Down): applications get to save their work, the shared folder's changes are written back, and Blue quits when the Mac turns itself off.
Closing the window, or quitting Blue (Quit Blue in the menu bar, Quit in the Dock, or logging out of macOS), asks first while Mac OS is running:
- Shut Down (the default, Return) presses the Mac's power key, as Shut down… in Blue's menu does: Mac OS asks whether to shut down, applications may ask to save their work, and Blue quits when the Mac turns itself off.
- Turn Off quits at once, like pulling the plug: anything unsaved in Mac OS is lost, and a shared folder's changes aren't written back. NVRAM is kept.
- Cancel (Esc) goes back to the Mac.
Asking again while Blue is asking changes nothing: choose Turn Off to quit at once. Before Mac OS has started up (until the Finder is up), there's nothing to lose, and Blue quits straight away. Interrupting Blue in its terminal (Control-C) still stops it at once.
Press F12 to open Blue's menu. The Mac pauses while the menu is open; F12 or Esc closes it again.
- Resume closes the menu.
- Restart restarts the Mac at once, like its reset button: anything unsaved in Mac OS is lost.
- Shut down… presses the Mac's power key, so Mac OS asks whether to shut down, and does it properly if you say so.
- Turn off turns the Mac off at once, like its power switch, for a Mac that has stopped responding. NVRAM is kept.
- Settings… opens the launcher's pages for the Mac that's running, to change its drives, memory, files and the rest (see Changing the Mac's settings).
- About Blue… says which version this is, and what it is.
- Install Guest Tools… offers the guest tools again, whenever there's something to install.
- The drives: each floppy and CD-ROM drive shows what's in it, with Eject and Insert… buttons (see Disks, CDs and floppies).
- Refresh "Folder" brings changes across with the shared folder now: Mac OS puts its disk away, what Mac OS changed goes to your folder, and the disk comes back with what's in your folder. The menu says when the folder has changed on your computer.
- Screenshot saves the Mac's screen as a PNG on your Desktop.
- Fullscreen fills your display with the Mac.
- Scale sets how big the Mac's pixels are (see Screen size and scale).
- Status bar shows or hides the status bar.
- Capture the mouse sets whether the mouse is captured while Mac OS hides its pointer, as games do (see Keyboard and mouse).
- Controllers lists the game controllers connected, and which mapping they follow; its checkbox turns them off, and Mappings… sets what their buttons, sticks and triggers do (see Game controllers).
- Modem says what the modem is doing, and Hang Up ends its call.
- Sound input from the microphone says whether Mac OS is using your microphone, and turns sound input off and on (off, Mac OS records silence; see Sound). Blue remembers the choice.
While the menu is open, the Mac's clock stops, so it's behind by that much afterwards.
Settings… in Blue's menu shows the same pages as the launcher (the Mac's drives, its settings, its files and its devices), for the Mac that's running.
The window's Scale, Whole-number scaling only and Status bar change as you choose them, and so do the ports forwarded to the Mac and the USB devices it connects (the Devices page). The rest are the Mac's own, and take effect when it starts again: its memory, disks, CDs, floppies and shared folder, its ROM file and the file Mac OS's settings are kept in (the Files page), the network and modem (and the port the modem answers on), sound, 3D, and whether Mac OS's own settings are kept. Choosing one of them turns on two buttons, with what the Mac would start up from above them:
- Apply Now restarts the Mac at once with what you chose, in the same window. Like Restart, it doesn't shut Mac OS down: work not saved in Mac OS is lost, and Mac OS says at its next start that it wasn't shut down properly.
- Shut Down and Apply presses the Mac's power key, as Shut down… does, and Mac OS asks whether to. When it has shut down, the Mac starts again with what you chose. (If you cancel Mac OS's question, the Mac goes on, and the box says that it will still start again when Mac OS next shuts down, unless you take back what you chose.)
Both are off while there's nothing to apply, or when what you chose can't start, as in the launcher: an image that isn't there, or no Mac OS ROM file on the drives. Done goes back to the menu, with the choices still made, and they're applied by either button later, or not at all (the Mac goes on as it was).
With more than one Mac in the settings file,
Settings says at its top right which this one is; the Mac to start is chosen before
it starts, in the launcher (or with --machine), not here.
Where the choices are kept depends on how the Mac was started. If it's the
machine in Blue's settings file (started from the
launcher, or by blue boot with no options that say what the Mac is, or
with --save), they're kept there as you choose them, as the launcher keeps
them. If it was started with options (--disk, --ram, --scale and the
like: every one that says what the Mac or its window is),
the box says "This run only": what you choose changes this run, which Apply
restarts, and the saved machine stays as it was.
A run without a window, in instruction time, or with an input script has no Settings.
The status bar has a light for each of the Mac's parts, and what each is doing:
- CPU glows green as the Mac works and soft blue while it rests, and shows the Mac's speed, as the clock rate of a G3 that would keep up.
- Disk, CD-ROM and Floppy light up as they read (green) and write (amber), with how many bytes a second they move.
- Network lights up as the Mac sends and receives, in bits a second.
- Microphone appears, lit amber, only while Blue has your microphone open for Mac OS.
A dimmed light means there's no such device, and "F12: menu" on the
right is a reminder of where the menu is. --no-status-bar starts
without the status bar; the menu brings it back.
Some things only code inside Mac OS can do, so Blue comes with guest tools that it installs there for you:
| Guest tool | What it does |
|---|---|
| Blue Enhancements | The screen follows the window's size, the clipboard is shared with your computer, and the scroll wheel scrolls the window under the pointer. |
| Blue 3D Engine | Accelerates QuickDraw 3D and RAVE games, which see an ATI Rage 128. |
| Blue OpenGL Library, Memory and Utility | OpenGL for Mac OS 9 games, drawn on your GPU. |
| Blue Pippin Library | Lets Bandai Pippin titles run, and game controllers play them as the Pippin's AppleJack (see Pippin titles). |
| Blue Game Controllers | Game controllers in games that use InputSprocket, as themselves, set up in each game's own controls dialog (see Game controllers). |
| Blue Printer | Not a tool but a desktop printer, put on the Desktop with them: printing from Mac OS to Blue's printer (see Printing). |
When the Finder is up and a tool is missing, or comes from another version of Blue, Blue offers to install them, over the Mac's screen:
- Install and Restart (or Update and Restart) writes the tools into the System Folder's Extensions folder, puts the desktop printer Blue Printer on the Desktop (unless something of that name is there), and restarts Mac OS, as Special > Restart does: applications may ask to save their work first. CDs and floppies stay in their drives.
- Not Now leaves them for now: Blue asks again the next time Mac OS starts up.
- Don't Ask Again stops the offer for that disk. Blue remembers it in a "Blue Preferences" file in the disk's Preferences folder; Install Guest Tools… in Blue's menu still offers them.
Mac OS 9 comes with OpenGL libraries of Apple's under the same names, so when Blue's are installed, Apple's move to Extensions (Disabled). If you delete Blue's later, Blue offers to put Apple's back.
Blue doesn't offer the tools when the startup disk is a CD, or can't be
written. To install them by hand instead, make a disk of them with
blue tools create tools.img, attach it with --cdrom tools.img, drag
its files onto the System Folder, and restart.
With Blue Enhancements installed, the Mac's screen follows the window: resize the window, or make it full screen, and Mac OS changes its resolution to fill it once you let go. Without it, the screen keeps the resolution chosen in Mac OS's Monitors & Sound control panel (640 × 480 to 1280 × 1024), and the window scales it to fit.
The scale is how many of your display's pixels make one of the Mac's,
from 1 to 4. Auto, the default, makes Mac OS about as big on your
display as on a 1999 Mac's screen (about 80 pixels to the inch), from
your display's size and resolution: 1× on a typical 27-inch 1440p
display, 2× on a 4K one, 3× on a 5K iMac or a 14-inch MacBook Pro. If
Mac OS looks too small or too big, choose another scale in the menu, or
start with --scale 2 (or auto, 1, 3, 4). --integer-scale keeps
the picture crisp, with a border if need be, where the window would
otherwise scale the screen by a fraction.
| Mac key | On a Mac keyboard | On a PC keyboard |
|---|---|---|
| Command (⌘) | Command | Windows or Super |
| Option (⌥) | Option | Alt |
| Control | Control | Ctrl |
Command-key shortcuts go to Mac OS, as on a Mac: Command-Q quits the Mac OS application in front, Command-W closes its window, and so on. Blue takes none of them, on macOS too: its menu bar has just About Blue, Hide Blue and Quit Blue, without shortcuts. (macOS keeps a few for itself, such as Command-Tab, Command-Space and its screenshot keys.) F12 is Blue's: it opens the menu, and Mac OS never sees it. (On a Mac laptop, you may need to hold fn as you press F12.)
The Mac has a one-button mouse: the left button is its button, and the right button Control-clicks, for contextual menus. Mac OS 8 and 9 didn't know scroll wheels, so with Blue Enhancements (one of the guest tools) the wheel, and a trackpad's two-finger scrolling, scroll as the tools of the time made them: the window under the pointer, in the application in front, scrolls by its scroll bar, as clicks on the scroll bar's arrows would scroll it, a line for each step of the wheel (sideways too). Where there's no scroll bar under the pointer (the desktop, a game), and without Blue Enhancements, the wheel presses the arrow keys instead, a press for each line. In a game that has the mouse (below), the right button and the wheel do nothing.
The Mac's pointer follows yours. When Mac OS hides its pointer for a moment, as games do, Blue captures the mouse, so that its movements go to the game; the window's title says so. Press Control-Option (Ctrl+Alt) to get your pointer back, and click in the window to capture it again. Capture the mouse in the menu turns this off.
Game controllers (Xbox, PlayStation, Switch and other pads SDL knows, several at once, plugged in and out as you like) work in the window, as the Mac's keyboard and mouse. Their buttons are known by where they sit: A is the bottom face button, B the right one, X the left and Y the top, whatever the pad's labels say.
| On the pad | In Mac OS |
|---|---|
| D-pad, left stick | The arrow keys |
| A | Return |
| B | Command-period (Cancel) |
| X | Space |
| Y | Tab |
| Start | Esc |
| Back (Select, View, Minus) | Command, held |
| Left and right shoulder | Shift and Option, held |
| Right stick | Moves the mouse (pressed: clicks) |
| Right trigger | Clicks |
| Left trigger | Control-clicks (a contextual menu) |
That's Blue's mapping, and you can change it: Mappings… under Controllers in Blue's menu (F12) shows what each button, stick and trigger does, for all controllers, or for a kind of controller plugged in, which can have a mapping of its own. Click one to choose a key (Press a Key…, then the key, with Command, Shift, Option or Control held for a key with modifiers; a modifier alone is held as long as the button is), a click (with modifiers too), a double-click, Click Lock (the mouse button stays down until pressed again) or nothing; each stick is either the mouse or four keys of its own. Restore Defaults puts Blue's mapping back. Blue keeps your mappings between runs, in its settings file.
While a Pippin title runs in front, the pad is the Pippin's AppleJack controller instead, and the title's own mapping of its buttons applies, as on a Pippin: the D-pad and left stick are its D-pad; A, B, X and Y its red, green, yellow and blue buttons; the shoulders and triggers its left and right fire buttons; Back, Guide (Home, PS) and Start its three buttons below; and the right stick its trackball. With two pads plugged in, the title has two AppleJacks, as a Pippin with two controllers had: the second pad is the second, for titles that play two on one Pippin. Your own mappings are for Mac OS, not for Pippin titles, which have theirs.
Games that use InputSprocket (Apple Game Sprockets' input library, which most Mac action games of the late 1990s do) get each pad as a game controller of its own, through Blue Game Controllers, one of the guest tools. The game sets it up as it would a joystick: shooters move and slide with the left stick, turn and look with the right (as with the mouse), fire with the right trigger and jump with A, and the game's own controls dialog (often under Options) shows the pad, its buttons, sticks and triggers by name, to change what each does; the game keeps your choices. While the game is in front, the controls it uses do only that; the rest keep the mapping above, so Start is still Esc, for its menus. InputSprocket itself is Apple's, not Blue's: games that use it come with it, to install with them.
Controllers in Blue's menu (F12) lists the pads connected and which mapping they follow, and turns them off; Mappings… changes Blue's mapping (not a Pippin title's, nor a game's own InputSprocket controls). A pad's input reaches Blue only while its window is in front. How it all works is in docs/input.md.
With Blue Enhancements, the clipboard is shared both ways: text you copy in Mac OS can be pasted on your computer, and text you copy on your computer is what Command-V pastes in Mac OS. Only text is shared, not styles or pictures, up to 4 MB. Characters that Mac OS's own character set lacks reach Mac OS 9's Unicode-aware applications as they are, and others as the closest match (½ as "1/2", for example) or "?".
The Mac has up to four drives for disks and CDs (a shared folder takes one of them), and a floppy drive:
| Option | Gives the Mac |
|---|---|
--disk FILE |
A disk. Mac OS can write to it if you can write to the file (and it isn't a compressed image). |
--cdrom FILE |
A CD-ROM drive, with that disc in it (read-only). |
--floppy FILE |
The floppy drive, with that disk in it. |
In a window there's always a floppy drive, and a CD-ROM drive if you didn't give one, so you can put discs in later. Blue tries the drives for startup in the order you give them.
Putting a disc in: drop its image on the window, or click Insert… for a drive in Blue's menu and choose it. A floppy-sized image (2880K or smaller) goes in the floppy drive, and anything else in a CD-ROM drive. Mac OS sees it go in as on a real Mac, so an installer waiting for its next disc carries on.
Several floppies: give --floppy once for each disk of a set. The
first is in the drive at startup, and each time Mac OS ejects one, the
next goes in a moment later, so a multi-disk installer just carries on.
The menu shows what's still to come.
Ejecting: eject discs from Mac OS, as on any Mac: drag a disc to the Trash, or select it and choose Put Away from the File menu or Eject from the Special menu. Blue's menu can only eject a disc that Mac OS isn't using. Discs and floppies stay in their drives when Mac OS restarts, as in a real iMac.
The startup disk: Mac OS 9.1 and later choose it in the Startup Disk
control panel, as on a real Mac; keep NVRAM with --nvram so the choice
lasts. Mac OS 8.5 and 8.6 start up from the first drive with a System
Folder, and their Startup Disk lists only the current one. A CD you put
in while the Mac is running is never the startup disk.
Holding C: to start up from a CD whatever the startup disk is, as on a
real Mac, hold C as the Mac starts: restart it (Special > Restart, or
Restart from the power key's box) and keep C down, or hold C as Blue's window
opens. Blue looks for C for the first few seconds after the window opens or
the Mac restarts (pressing it later does nothing), and starts up from the first
CD with a System Folder that has a Mac OS ROM file; a disc you put in from
Blue's menu counts, at a restart. If C can't be honoured, because no CD can
start the Mac, or because the Mac starts from a ROM file you chose (--rom, or
Files in the launcher) and not from a disk, Blue says so in an alert on its
window (and in the terminal) and starts up as usual. C isn't remembered: the
next restart without it goes back to the usual startup disk. (In an input
script, key 8 down holds C for the next restart.)
Images Blue takes:
-
CDs:
.iso,.toast,.cdrand.imgfiles (raw images of HFS or ISO 9660 discs); compressed Mac images (below); and images with tracks, for audio CDs and games' soundtracks:- cue sheets: a
.cuefile with its.bin, WAVE, AIFF, FLAC, MP3 or Ogg Vorbis tracks (audio at 44.1 kHz, the compressed kinds decoded as they play); - Nero's
.nrg, Alcohol 120%'s.mds(with its.mdf), CloneCD's.ccd(with its.imgand.sub), and MAME's.chd.
Give Blue the
.cue,.mdsor.ccdfile; if you give it the.bin,.mdfor.imginstead, it finds the other beside it.blue disk toc FILElists a disc's tracks. - cue sheets: a
-
Compressed Mac images:
.dmgfiles (UDIF: zlib, bzip2, ADC, LZFSE or LZMA, and the early ones Disk Copy 6.3 made, which macOS calls corrupt) and Disk Copy 6's.img(NDIF), whose resource fork must have come with it: in MacBinary (.bin), an AppleDouble._file beside it, or on a Mac's own disk. They're read-only, and unpacked a piece at a time as Mac OS reads them. They go in a CD-ROM drive, or in the floppy drive if they're of a floppy's size, or attach as a locked--disk. -
Floppies: raw images of 400K, 720K, 800K, 1440K and 2880K disks (
.img,.dsk,.ima,.flp), Disk Copy 4.2 images (.image), and compressed images of those sizes (read-only). Convert other kinds first, with Disk Copy in Mac OS or a tool on your computer.blue disk create blank.img 1440K "Untitled"makes a blank, formatted floppy. -
Disks: raw disk images, with an Apple partition map or a bare volume, as
blue disk createmakes (or a GUID partition table, whose HFS+ partitions Mac OS sees), and compressed ones, read-only.
Blue tells these apart by what's in them, not by their names, and says what an image is when it can't use it (encrypted, a ZIP or 7-Zip archive, an audio file at another rate, a DVD's image, and so on).
Mac OS writes to a disk as soon as it mounts it. To keep a floppy or disk image as it is, lock it in the Finder, or make the file read-only: Mac OS then shows the disk as locked.
blue boot --disk hd.img --share ~/Mac --nvram blue.nvram--share FOLDER shows a folder on your computer to Mac OS as a disk of
its own, named after the folder. It's the easiest way to move files
between your computer and the Mac: put a downloaded program in the
folder, and install it from the disk in Mac OS.
Changes cross over each time Mac OS puts the disk away:
- Put the disk away in Mac OS (drag it to the Trash, or select it and choose Put Away or Special > Eject): what Mac OS changed on it is written back to the folder there and then, and a moment later the disk comes back, with what's in the folder now, files you added on your computer included.
- Refresh "Folder" in Blue's menu (F12) does the same without your putting the disk away: Mac OS puts it away, and it comes back. It's disabled while Mac OS has files open on the disk (quit the programs using them first), and the menu says when the folder has changed on your computer.
- Shut down from Mac OS, and what Mac OS changed is written back as
Blue quits. If Blue stops without that, because you chose Turn Off (in
Blue's menu, or when it asked as you quit), nothing is written back, and
anything that had changed is kept as a disk image in the folder's
.blue-recoveryfolder instead.
Blue never destroys your files: a file that Mac OS deleted or replaced is
moved to .blue-recovery inside the folder, under the date and time, and
if a file changed on both sides, Mac OS's version is kept beside yours as
name (Mac OS).ext. Blue lists what it wrote back.
Resource forks and Finder information (type and creator) are kept: on
macOS in the files themselves, and on Linux in AppleDouble ._name
files. Files without them get a type from their extension. Files whose
names start with a dot, links to folders and files larger than 2 GB are
left out, and long names are shortened, as Mac OS 9 shortens them. More
in docs/shared-folder.md.
In a window, the Mac's built-in Ethernet reaches the internet through your computer's connection. Mac OS gets its address by DHCP, so TCP/IP works as soon as it's turned on. On Mac OS 8.5, it starts out inactive: open the TCP/IP control panel, click Yes to make it active, then close the panel and save.
The Mac can connect out, and only IP gets through: AppleTalk and file sharing
between Macs don't. Browsers of the time can't open most of today's secure
(HTTPS) sites, though plain HTTP sites work. --no-net leaves the Ethernet
unplugged.
Mac OS sees your computer as 10.0.2.2, and the Mac as 10.0.2.15; DNS is 10.0.2.3, and answers with your computer's.
Letting something connect to the Mac, so that Mac OS can serve (a web
server, FTP, file sharing over IP, a game's host), is done by forwarding a port
of your computer to one of the Mac's: a connection to it goes on to the Mac. Add
them on the launcher's or Settings' Devices page, or give --forward
for each:
build/blue boot --forward tcp:8080:80 # http://localhost:8080 reaches the Mac's web server
build/blue boot --forward udp:0.0.0.0:5000:5000 # every computer on your network may send to it
A forward is tcp or udp, then your computer's port, then the Mac's (and an
address before the host's port, if it isn't this computer only: 0.0.0.0 is all of
them, so that other computers on your network can connect, as your firewall
allows). A port of your computer below 1024 needs an administrator to listen on it
(on macOS only for this computer alone: for 0.0.0.0 anyone may; on Linux for
both, as a rule), so forward from 1024 up (8080 to the Mac's 80); Blue says so
when you add one. A port something is using already isn't forwarded either, and
what Settings chose stays chosen. There are 16 at most. They're kept with the machine ([network]'s
forward lines, below) and are there in real time only, as the network is.
In Settings, adding or removing one takes effect at once, without a restart.
Blue's network uses libslirp, which Blue.app and the AppImages carry. A build of your own needs it installed (see Building from source).
Mac OS can print to a printer Blue puts on its network: an LPR printer at
10.0.2.5, queue blue, which is there whenever the network is (--no-printer
leaves it out). What a program prints comes out on your computer as a PDF, and
on macOS your computer's own print dialog opens on it, where you choose a
printer, or PDF ▸ Save as PDF. Each job is kept, as PostScript and as a PDF,
in the Prints folder beside Blue's settings file (~/Library/Application Support/Blue/Prints on macOS, ~/.config/blue/Prints on Linux), named by
date, time and the document's name: 2026-11-30 18.56.55 Letter.pdf.
In Mac OS, the guest tools (see The guest tools) put a desktop printer, Blue Printer, on the Desktop with them: select its icon and choose Set Default Printer from the Finder's Printing menu (⌘L). Then Print from any program, or drop a document on the icon. It's LaserWriter 8's, for Mac OS 8.5 to 9.2.2. Blue puts it there whenever it installs or updates the tools (one of the same name that's there already is left as it is); if you delete it meanwhile, make one yourself, as below.
To make one yourself instead (nothing needs installing in the Mac; tried with Mac OS 8.5, 8.6 and 9.2.2, where Desktop Printer Utility is in Apple Extras, Apple LaserWriter Software on 8 and in Applications (Mac OS 9), Utilities on 9):
- Open Desktop Printer Utility, choose LaserWriter 8 and Printer (LPR), and click OK.
- Under LPR Printer Selection (Internet Printer on 8.5), click
Change..., give the address
10.0.2.5and the queueblue, and click OK. - Leave the PostScript Printer Description at Generic, or Change... it to a LaserWriter's. Click Create... (or save it, ⌘S), name it, and quit.
- Select its icon on the desktop and choose Set Default Printer from the Finder's Printing menu. Then Print from any program, or drop a document on the icon.
What it gets is PostScript, which is what LaserWriter 8 writes, and
Ghostscript makes the PDF of it: Blue.app and the AppImages carry one, which
Blue runs as a program of its own. (A Blue built from source has none: make ghostscript builds the same one beside it, in build/ghostscript/gs, or it uses
the gs that's installed, brew install ghostscript or your Linux's package, or
the program BLUE_GHOSTSCRIPT names, which takes the place of Blue's own too.
A Ghostscript installed after Blue started is found by the next job.) On macOS the
PDF goes to your print dialog, a sheet on Blue's window, and the dialog's
printers, copies, Preview and Save as PDF are yours; elsewhere it's opened in
your PDF viewer, where you print it as you would any PDF. With no Ghostscript,
or one that fails, the .ps file stays in Prints and Blue says so in an alert on
its window (macOS) and in the terminal. blue ps2pdf IN.ps OUT.pdf makes a PDF as the printer does, to see what it makes of a file.
A job counts as printed once all of it has come. A connection that goes quiet for 30 seconds in the middle of one is dropped, and its pieces are removed. More in docs/printing.md.
The iMac's built-in 56K modem is there too, as Mac OS's Internal Modem,
with its modem script already chosen in the Modem control panel. Rather
than a phone line, its calls go over the internet: dial a host and port
and it connects there, answering CONNECT 56000, as the modems of DOSBox
and 86Box do. Programs that use a modem (terminal programs, Remote Access,
games with a modem link) use it as they would on the iMac.
- BBSes: many still run, reached by telnet. In a terminal program such
as ZTerm, type
ATDT bbs.example.com(port 23, telnet's) orATDT bbs.example.com:2323. The modem speaks telnet to port 23 and to any far end that opens with telnet's negotiation, as BBSes do, so the BBS sees a telnet client.+++with a second's pause either side returns to the modem's commands;ATHhangs up. - Calling another Blue: start one with
--modem-listen 2323. A call to it (ATDT 127.0.0.1:2323from another Blue on the same computer, orATDTthe first computer's address from another) rings there (RING): answer withATA, or typeATS0=1beforehand to answer at the first ring. Over the internet, the computer listening needs that port open in its router;--modem-listen 127.0.0.1:2323takes calls from your own computer only. The port can be kept with the Mac, in its Devices page (Modem answers calls on), and takes effect when the Mac starts. - The phonebook, for programs that only dial digits:
--modem-phonebook FILEnames a text file of numbers, one a line, such as5551234 bbs.example.com:2323(addtelnetorrawafter it if Blue shouldn't guess). Dialling 555-1234 then calls that host. - Remote Access dials the same way, to a PPP server of your own: type the host and port as its number.
The modem works in real time only (the window, or --headless --realtime),
as the Ethernet does. Characters go at the speed Mac OS sets the serial
port to, rather than a 56K line's. Blue's menu shows the call and can hang
it up; --no-modem leaves the modem out. The commands are the usual Hayes
ones: see docs/devices.md.
The iMac has no serial port, but its serial controller has a second channel,
where its infrared port was, and Blue gives that to the Mac as one, on a
serial device of your computer's: for what used to plug into a Mac's serial
port, such as a terminal, a MIDI interface or lab equipment. The Mac has it
when you choose a device, with --serial or in the Devices page, and
it takes effect when the Mac starts.
- A serial device:
--serial /dev/cu.usbserial-1410on a Mac,--serial /dev/ttyUSB0on Linux (Choose... lists the ones your computer has). Mac OS sets the port's speed, data bits, parity and stop bits as a program asks, and Blue sets the device to the same. The Mac's DTR and RTS go to the device's lines, and the device's DCD and CTS to the Mac's. - A pseudo-terminal:
--serial ptymakes one, and says its name (/dev/ttys004). Another program opens it to talk to the Mac as to a serial device (screen /dev/ttys004, orsocatto join it to anything else). It keeps its name while Blue runs, through restarts and Apply Now. - What Mac OS makes of it: programs that open the Mac's second serial driver
(
.BOutand.BIn) are talking to the device. Mac OS's own panels still take it for the infrared port: AppleTalk's Connect via lists it as Infrared Port (IrDA), and the Chooser's serial printers say they have no printer port.
The serial port works in real time only (the window, or --headless --realtime), as the modem and the network do, and the Mac has one. Linux
takes the usual speeds up to 230,400 bits a second; macOS takes any its driver
does. A device that leaves CTS low, as some adapters do with nothing plugged into
them, holds up a program that waits for it. If the device goes away, the Mac keeps
its port with nothing behind it, and says so in Settings: restart the Mac to
connect it again. On Linux your user has to be allowed to open the device (the
dialout group, usually). More in docs/devices.md.
Your computer's own USB devices can be passed through to Mac OS, as UTM and QEMU do: plugged into one of the iMac's two USB ports, a device is Mac OS's, and Mac OS's drivers drive it as on a real iMac. Blue supplies no drivers; it only passes the device through.
- Which devices work: USB 1.1 ones. The iMac's USB is 1.1, so a device your computer connects at high speed (USB 2.0) or faster isn't taken; plugged in through a USB 1.1 hub, most USB 2.0 devices connect at full speed instead, and can be. Mac OS also needs a driver for the device: Mac OS 9 has USB mass storage built in (USB disks and flash drives, and USB floppy drives as far as its driver knows them; Mac OS 8.6 needs Apple's USB Mass Storage Support 1.3.5, and 8.5 has none), and a device of its maker's own design needs the maker's Mac OS drivers, installed in Mac OS as on a real Mac.
- Connecting one: Blue's menu (F12) lists your computer's USB devices
under the Mac's two ports, with Connect beside each (and why not, if it
can't be), and Disconnect beside each port; Refresh lists them again.
--usb VID:PIDconnects a device at startup, by the IDslsusbshows (in hex:--usb 0644:0000), or--usb BUS-PORTby where it's plugged in (--usb 1-2.3);blue usblists them both ways. Put away a device's disks in Mac OS before you disconnect it, as on a Mac. - Connecting one each time: tick it in the launcher's or Settings'
Devices page, and the Mac connects it when it starts, if it's
plugged in then (two at most; kept with the Mac, by its IDs, as
--usb VID:PIDgives them). In a Mac that's running, ticking connects it at once and unticking lets it go. The menu's Connect is for this run only. - Unplugging: a device unplugged from your computer goes from Mac OS too; plugged in again while Blue runs, it goes back into the same port.
- Real time only, as the network is: in the window, or with
--headless --realtime.
On macOS, a device that no macOS driver has taken (the bespoke kind,
with its own vendor-specific interface) works as it is, for any user.
A device macOS drives itself (USB disks and floppy drives, audio devices,
keyboards, mice and game controllers) has to be taken from macOS's
driver first, which macOS lets only a program running as root do (or an
app holding Apple's com.apple.vm.device-access entitlement, which Apple
grants to virtual machines' publishers and which a self-signed app like
Blue can't have). So for those, Connect says Connect (needs your
password): macOS asks for an administrator's name and password in its
own dialog ("Blue wants to make changes"), and then Blue's small USB
helper (blue-usb-helper, inside Blue.app) takes the device from macOS
as root and passes its transfers to Blue, which goes on as an ordinary
program. --usb, and a device ticked in the Devices page,
ask the same way, but before the Mac starts: Blue waits for the
dialog, so that the device is on its port as Mac OS starts up (a startup
disk, say, that Mac OS would otherwise have looked for too early). The
password is asked for once while Blue runs, including across Apply Now:
the helper takes any other device macOS drives without asking again, and
stops when Blue quits. Cancel the dialog and the Mac starts without that
device (Blue says so in the terminal), and doesn't ask again for the next.
Connect in the menu asks as the Mac runs, since the Mac is up already. The helper doesn't take keyboards, so that nothing you type goes
through it, and so Blue doesn't ask for a password for one (the Devices page
says why it can't be ticked). (Starting all of Blue with sudo still works, and takes
keyboards too, but runs Mac OS's old software as root, and leaves files
of root's behind.)
Eject a disk in the Finder before you connect its drive. When Blue lets the device go (Disconnect, or quitting), macOS's driver has it back. macOS may refuse even then for keyboards, mice and other HID devices, which Mac OS gets from your own anyway.
On Linux, Blue needs to be allowed to write the device's node in
/dev/bus/usb, which only root can by default. A udev rule gives a device
to whoever is logged in; for example, in
/etc/udev/rules.d/70-blue-usb.rules (with the device's IDs from lsusb):
SUBSYSTEM=="usb", ATTR{idVendor}=="0644", ATTR{idProduct}=="0000", TAG+="uaccess"
Then sudo udevadm control --reload && sudo udevadm trigger, and plug the
device in again. Linux's own driver for it (usb-storage, usbhid and
the like) is detached as Blue takes it, and attached again when Blue lets
it go; unmount a disk first.
Blue uses libusb, which Blue.app and the AppImages carry (the AppImage's loads your system's libudev). A build of your own needs it installed (see Building from source).
Sound plays while the Mac runs in a window, through Mac OS's own sound
driver for the iMac's sound chip (a Burgundy), and follows Mac OS's volume
and mute (in the Monitors & Sound or Sound control panel, or the Control
Strip). CD audio, from an audio CD's or a game's cue sheet, plays through
the same chip and follows the same volume, as on the iMac; AppleCD Audio
Player, in the Apple menu, plays audio CDs. --no-sound turns sound off.
Mac OS records from your computer's microphone: choose Built-in Mic,
External Mic or Sound In as the sound input (Monitors & Sound's Sound
Monitoring Source on Mac OS 8.5 and 8.6, the Sound control panel's Input
on Mac OS 9), then record, for example a new alert sound (SimpleSound's
Add… on 8.5, the Sound control panel's New Sound on 9). With CD, Mac OS
records the CD's audio. Blue opens your microphone only while Mac OS
records from it, and closes it a moment after; the status bar's
Microphone light shows when it's open. The first time, macOS asks
whether Blue may use the microphone; if you say no, Mac OS records
silence (System Settings, Privacy & Security, Microphone changes it).
Blue's menu turns sound input off, and so does --no-mic. Sound input
works in real time, in the window or with --headless --realtime;
--mic-file FILE.wav has Mac OS hear a WAV file instead, in any run.
Mac OS 9.0 and 9.0.4 get no sound input: their sound input component has
a bug that can crash Mac OS at startup when there is one (untested with
Blue's sound chip).
With the guest tools installed, games that use QuickDraw 3D or RAVE draw
with Blue 3D Engine, and games that use OpenGL draw with Blue's OpenGL
libraries. Both draw on your computer's GPU, through OpenGL 3.3 (over
Metal on Apple silicon), or in software if there's no GPU to use, or with
--no-gpu. Install what a game needs from Mac OS as on a real Mac, such
as QuickDraw 3D, Game Sprockets or URL Access. Frames come at most 60 a
second, as on the iMac's display, which keeps games of the time at their
proper speed.
Many discs for the Bandai Pippin, Apple's 1996 game console design, run
in Blue. Titles that need the Pippin's own library get Blue Pippin
Library, one of the guest tools. Their saved games and preferences go in
System Folder:Preferences:Pippin:, under the title's name. A game
controller plays them as the Pippin's AppleJack controller, by the
title's own mapping of its buttons, and a second one as its second
AppleJack (see Game controllers); the keyboard and
mouse work too.
More in docs/software.md.
A Pippin disc doesn't start the Mac by itself: a Pippin's system is in its console, and its titles run inside Mac OS. Start Blue with the Mac OS disk you installed as well, and the disc in a CD-ROM drive:
blue boot --disk hd.img --cdrom "Super Marathon (USA).cue" --nvram blue.nvramThen open the title from the disc in the Finder. Given only a Pippin disc, Blue says so over a black screen (and in the terminal), with the command for your Mac OS disk and the disc, ready to copy:
Blue's commands:
| Command | What it does |
|---|---|
blue boot [OPTIONS] |
Starts the Mac in a window (see the options below). |
blue disk create FILE SIZE [NAME] |
Makes a disk image holding an empty HFS volume. SIZE is in bytes, or with K, M or G: 1M or more, or a floppy's size (400K, 720K, 800K or 1440K). The name is Macintosh HD, or Untitled for a floppy, unless you give one. |
blue disk toc FILE |
Lists a CD image's tracks, as its CD-ROM drive gives them to Mac OS. |
blue tools create FILE |
Makes a disk of the guest tools, to install them by hand (attach it with --cdrom). |
blue ps2pdf IN.ps OUT.pdf |
Makes a PDF of a PostScript file with Ghostscript, as Blue's printer does for a job (see Printing). |
blue rom info FILE |
Describes a Mac OS ROM file, or the one in a disk or CD image's System Folder. |
blue rom config FILE |
Shows the ROM's NanoKernel configuration and memory map. |
blue rom parcels FILE |
Lists the parcels of a Mac OS 9.1 or later ROM file. |
blue rom extract FILE OUT |
Writes the ROM's 4 MB Toolbox image. |
blue rom trampoline FILE OUT |
Writes the ROM file's Trampoline (an ELF file). |
blue run-raw FILE ADDR [N] |
For developers: loads raw PowerPC code at hex address ADDR in 64 MB of memory, runs it for at most N instructions (100 million unless you say), and shows the registers. |
blue usb |
Lists your computer's USB devices, as --usb names them (see USB devices). |
blue --version |
Shows Blue's version, and which SDL2, libslirp and libusb it found. |
blue |
Lists the commands and options. |
The options of blue boot:
Drives and memory
| Option | What it does |
|---|---|
--disk FILE |
Attaches a disk image, writable if the file is (a compressed one is read-only). |
--cdrom FILE |
Attaches a CD image, read-only, in a CD-ROM drive. |
--cdrom-drive |
Adds an empty CD-ROM drive. (A window, or real time, has one anyway, unless four drives are taken.) |
--floppy FILE |
Puts a floppy image in the floppy drive; give it again for each disk of a set, up to 16. |
--floppy-drive |
Adds an empty floppy drive. (A window, or real time, has one anyway.) |
--share FOLDER |
Shows a folder on your computer as a disk (one folder). |
--nvram FILE |
Keeps the Mac's NVRAM (settings, the startup disk) in this file. |
--settings FILE |
Keeps Blue's own settings (the game controllers' mappings, sound input, the machine --save keeps) in this file, in any run; --settings none keeps none (see Keeping your settings). |
--machine NAME |
Starts the saved machine of that name (see Starting the same machine each time), and keeps it as the one blue boot starts. Needs the settings file, so a window in real time (or --settings FILE). |
--save |
Keeps the machine these options describe in the settings file, then starts it; blue boot with no options then starts it (see Starting the same machine each time). |
--ram MB |
The Mac's memory, from 8 to 1024 MB (128 unless you say). |
--rom FILE |
Starts this ROM file, or 4 MB ROM image, instead of the startup disk's. |
Up to four drives in all can be disks, CD-ROM drives or the shared folder.
The window
The Mac runs in a window, in real time, until Mac OS shuts down or you
quit Blue. With no display to open a window on (over SSH, in a container
or CI), blue boot says so and stops: run it with --headless.
| Option | What it does |
|---|---|
--headless |
Runs without a window, counting time in instructions (see below), until --max. |
--scale auto|1|2|3|4 |
How many of the display's pixels make one of the Mac's (Auto unless you say). |
--integer-scale |
Scales the screen by whole numbers only: crisp, with a border if need be. |
--no-status-bar |
Starts without the status bar. |
--no-sound |
Doesn't play the Mac's sound. |
--no-mic |
Mac OS records silence: Blue never opens your microphone (see Sound). |
--mic-file FILE.wav |
Mac OS's microphone hears this WAV file, over and over, instead of yours, in any run (for tests). |
--no-net |
Leaves the Mac's Ethernet unplugged. |
--no-printer |
Leaves out the printer at 10.0.2.5 that Mac OS prints to over LPR (queue blue; see Printing). |
--forward PROTO:[ADDRESS:]PORT:GUESTPORT |
Sends connections to this port of your computer to the Mac's, so that Mac OS can serve: tcp:8080:80, udp:0.0.0.0:5000:5000; give it again for each, up to 16 (see Networking). |
--no-gpu |
Draws 3D in software rather than on the GPU. |
The modem
| Option | What it does |
|---|---|
--no-modem |
Leaves the internal modem out. |
--modem-listen [ADDRESS:]PORT |
A connection to this port is a call to the modem: it rings. |
--modem-phonebook FILE |
Numbers the modem dials: lines of NUMBER HOST:PORT. |
The serial port
| Option | What it does |
|---|---|
--serial DEVICE |
The Mac has a serial port (where the iMac's infrared port was), on this serial device of your computer's (/dev/cu.usbserial-1410, /dev/ttyUSB0), or on a pseudo-terminal Blue makes (pty); real time only (see The serial port). |
USB
| Option | What it does |
|---|---|
--usb VID:PID, --usb BUS-PORT |
Passes one of your computer's USB devices through to Mac OS, connected at startup (twice for both ports; real time only). On macOS, one macOS drives itself asks for an administrator's password first. |
--usb-test-disk FILE |
Plugs Blue's USB test disk into a port: a USB mass storage device whose disk is this image, for testing and debugging (in any run: see docs/debugging.md). |
Time and speed
| Option | What it does |
|---|---|
--realtime |
With --headless, runs in real time. |
--instruction-time |
Counts time in instructions in the window too. |
--no-idle |
Keeps running flat out while Mac OS is idle, rather than resting. |
--no-fast-start |
Doesn't hurry through the timeouts of startup. |
--interp |
Interprets the PowerPC code, without the JIT. |
--seconds S |
Stops after S seconds of your computer's time. |
--max N |
Stops after N instructions (with --headless, 500 million unless you say). |
--fixed-time T |
Starts the Mac's clock at Unix time T rather than now. |
Testing and debugging
| Option | What it does |
|---|---|
--input FILE |
Plays scripted input: clicks, keys, discs and more at given instruction counts. |
--screenshot FILE.png |
Saves the screen when the run ends. |
--dump-ram FILE |
Saves the Mac's memory when the run ends. |
--trace, --trace-from N, --trace-reg R, --trace-range LO:HI, --trace-insn WORD |
Logs the instructions run. |
--watch ADDR |
Logs every write to the page holding ADDR. |
--traps N, --traps-after N |
Logs the first N 68k traps. |
--log-hostcalls |
Logs the requests Blue's drivers handle. |
--io-ram |
Treats unknown device addresses as plain memory. |
With --headless (and without --realtime), a run counts time in
instructions, so it's the same every time (blue boot --headless --cdrom macos.iso --max 4000000000 --screenshot finder.png boots a CD to its Finder
and saves the screen): see docs/debugging.md, which also
lists the BLUE_* environment variables.
| Mac OS | Works | Notes |
|---|---|---|
| 8.5 | Yes | TCP/IP starts out inactive. |
| 8.6 | Yes | Includes URL Access, which some programs need. |
| 9.0 to 9.0.4 | Yes | |
| 9.1 | Yes | |
| 9.2 to 9.2.2 | Yes |
Blue's machine is an original iMac, which covers Mac OS from 8.5 to 9.2.2. Earlier versions aren't supported, and Mac OS X, which has no NanoKernel, can't run on Blue.
| Computer | Blue runs on | Speed |
|---|---|---|
| Mac with Apple silicon | macOS 11 or later | JIT |
| Mac with an Intel processor | macOS 11 or later | JIT on most Macs from 2013 on |
| PC with an x86-64 processor | Linux with glibc 2.35 or later (the AppImage) | JIT on most processors from 2013 (Intel) or 2015 (AMD) on |
| ARM64 computer | Linux with glibc 2.35 or later (the AppImage) | JIT |
The JIT translates PowerPC code into your processor's, which makes Blue
many times faster than a real G3. On x86-64 it needs the x86-64-v3
features (AVX2, FMA3, BMI1 and 2, LZCNT and MOVBE), which Intel's Core
processors have from Haswell (2013) and AMD's from Excavator (2015), but
some Pentium, Celeron and Atom processors lack. Without them, Blue says
what's missing and interprets the code instead: slower, but it still
works. On a Mac with Apple silicon, use Blue-arm64.dmg: the Intel
version runs in Rosetta 2 without the JIT.
Blue doesn't do everything a Mac of the time could:
- FireWire devices of any kind.
- USB 2.0 speed: USB devices go through at USB 1.1's, as on the iMac: a device that only works at high speed, or isochronous transfers at it, can't be passed through; nor can a USB hub, though devices behind one can. A device macOS drives needs an administrator's password (see USB devices). Game controllers reach Mac OS as the keyboard and mouse, and through InputSprocket (see Game controllers).
- AppleTalk networking, and connections into the Mac.
- Printers of the Mac's own kinds: Mac OS prints to Blue's virtual printer (see Printing), whose jobs come out as PDFs. The Chooser finds no AppleTalk printers, and a serial printer needs a printer port that Mac OS doesn't offer on the serial port (see The serial port).
- Old World Macs: Blue is an original iMac, and can't start the ROMs of earlier Power Macs or 68k Macs.
docs/roadmap.md has what's next.
Blue isn't notarised, so macOS asks you to confirm it the first time: see
macOS under Download and install. If macOS says the app is
damaged, xattr -dr com.apple.quarantine /Applications/Blue.app in
Terminal clears the download's quarantine.
Check that it's executable (chmod +x). If it says it can't mount itself,
your system lacks FUSE: install the fuse or fuse3 package, or run it
with --appimage-extract-and-run before Blue's arguments. See
Linux.
That's the launcher: choose the Mac's disks and CDs, then press Start. See Opening Blue from the desktop. If Start is dimmed, the launcher says why under the drives: none of them has a Mac OS ROM file in its System Folder (add a Mac OS CD, or a disk Mac OS is installed on), or an image isn't where it was.
- Blue says "No Mac OS startup disk: none of the disks or CDs has a System Folder with a Mac OS ROM file" (over a black screen, and in the terminal): the image isn't a startup CD of Mac OS 8.5 to 9.2.2. Update CDs and other programs' CDs can't start the Mac.
- Blue says it's a Pippin disc: Pippin titles run inside Mac OS, so start Blue with your Mac OS disk as well (see Pippin titles).
- Blue refuses the image: it says what it is (an archive, an encrypted
.dmg, a.binwithout its.cue, ...). See Images Blue takes. - Your disk starts instead: hold C as the Mac starts (restart it, and
keep C down), or put the CD first (
--cdrombefore--disk, with no--nvramfile naming the disk). See Disks, CDs and floppies. - Attach CDs with
--cdrom, not--disk: the Mac OS 8.5 CD won't start from a drive it can write to. - If you used
--rom, leave it out: Blue then uses the CD's own ROM file, which is the one that version of Mac OS needs.
If Blue closed before Apple Software Restore finished (you didn't click its last Quit), the new disk has no Desktop Folder yet, and quitting the Setup Assistant leaves the desktop without a menu bar. Restart: the Finder has made the folder by then, and the next startup is as it should be.
Choose another Scale in Blue's menu (F12), or start with --scale. See
Screen size and scale.
Sound plays only in the window, in real time (not with --headless or
--no-sound). Check Mac
OS's own volume and mute, in the Monitors & Sound or Sound control panel.
For a CD's music, attach an image with tracks (a .cue, .nrg, .mds,
.ccd or .chd): a plain .iso has no audio tracks.
If Mac OS records only silence: check the sound input it records from (Built-in Mic, in the control panel), that sound input is on in Blue's menu, and that macOS lets Blue use the microphone (System Settings, Privacy & Security, Microphone). Blue says on its output why it can't open one. Mac OS 9.0.x has no sound input.
- The network runs only in real time (not with
--headlessunless--realtimeis given too), and not with--no-net. - In your own build, Blue needs libslirp:
blue --versionsays whether it found it. - On Mac OS 8.5, make TCP/IP active (see Networking).
- Most of today's websites need HTTPS, which browsers of the time can't manage: plain HTTP sites work. AppleTalk doesn't work, and nothing can connect in to the Mac.
- The printer is on Blue's network (at
10.0.2.5), so it needs the network: real time (not--headlessunless--realtimeis given too), and neither--no-netnor--no-printer. The first job can wait a moment while Mac OS starts TCP/IP. - Select Blue Printer on the Desktop and choose Set Default Printer from the Finder's Printing menu (⌘L). If it isn't on the Desktop (you deleted it, or the tools went in by hand), make one (see Printing).
- If Blue says it has no Ghostscript, a build from source needs one:
make ghostscript, orbrew install ghostscript. The.psfile of every job is kept in thePrintsfolder either way.
Blue's menu says why beside Connect (point at it), as does blue boot --usb in the terminal. A device connected to your computer at high speed
(USB 2.0) can't be passed through: plug it in through a USB 1.1 hub. On
macOS, a device macOS drives itself needs an administrator's password,
which macOS asks for when you connect it: if that's cancelled, connect it
again; if the dialog never comes (in a session without a screen, over
ssh say), start Blue with sudo instead. On Linux, a device needs a
udev rule (see USB devices). If Mac OS gets the
device but nothing happens, it has no driver for it: install its maker's
Mac OS drivers in Mac OS (Mac OS 8.5 has no driver for USB disks at all).
- The modem's calls go out only in real time (not with
--headlessunless--realtimeis given too). - Dial a host and port (
ATDT bbs.example.com:2323); a number of digits only reaches somewhere listed in the phonebook (--modem-phonebook). BUSYmeans nothing listens on that port (the connection was refused);NO CARRIER, that the host didn't answer or its name didn't resolve (either, afterATX0toATX2). A Blue already in a call answers another and hangs it up at once.
Blue says why in the terminal, and in Settings (Devices, with the pointer on
the serial port's field): the device isn't there (is the adapter plugged in?),
Blue isn't allowed to open it (on Linux, join the group that owns it, dialout
usually, and log in again), or another program has it. Then restart the Mac: it
tries again. The port is for real time only (not --headless unless
--realtime is given too). A program that waits for CTS waits if the device
leaves it low: see The serial port.
Your processor lacks what the JIT needs (on x86-64, the x86-64-v3 features), and Blue says what's missing. Blue still runs, by interpreting the code, but more slowly. See Your computer.
Mac OS Setup Assistant never rests while it's open: finish or quit it. Otherwise an idle Mac costs only a few percent of one core.
On your Desktop, as blue followed by the date and time (in the folder
Blue was started from, if there's no Desktop). --screenshot FILE.png
saves one when a run ends.
blue boot shows the Mac in a window, which needs a display: over SSH,
in a container or in CI there's none. Run it with --headless to start
the Mac without a window (counting time in instructions, until --max;
add --realtime for real time).
On a Mac laptop, hold fn as you press F12, or set the function keys to work as standard function keys in System Settings > Keyboard. In your own build, the menu needs SDL 2.0.18 or later: with an older SDL, F12 only pauses the Mac.
Not any more: Command-Q, Command-W and every other Command-key shortcut now go to Mac OS only (see Keyboard and mouse). Older versions of Blue had a menu bar on macOS that took them as well, and quit or closed the window at once. Closing the window or quitting Blue now asks first while Mac OS is running (see The window).
Press Control-Option (Ctrl+Alt), or switch to another application. Click in the window to capture the mouse again.
Blue's window has to be in front. Check Controllers in Blue's menu (F12): the pad should be listed, and the checkbox on. Blue takes the pads SDL recognises as game controllers (most Xbox, PlayStation and Switch pads, and many others); a build of your own needs a recent SDL2 (2.0.18 or later, as for the menu). A game that uses InputSprocket gets the pad as a controller of its own once Blue Game Controllers is installed (Install Guest Tools… in Blue's menu), and if InputSprocket is (it comes with the game); look for the pad in the game's controls dialog. Other games get the pad as keys, which their own key settings may not use: set the game's keys to the arrows, Return, Space and Tab, change the pad's mapping to the game's keys (Mappings… under Controllers), or use the keyboard.
It shouldn't any more: discs and floppies now stay in their drives through a restart, as in a real iMac. If one came out, Mac OS ejected it (with Put Away, the Trash, Eject, or an installer).
Blue's menu opens to say why: there's no empty drive, the drive's disc is in use by Mac OS (eject it from Mac OS first), or the image isn't one Blue takes (see Disks, CDs and floppies). If all four drives are taken by disks and CDs, there's no spare CD-ROM drive.
Changes are written back when Mac OS puts the disk away (drag it to the
Trash, or choose Refresh in Blue's menu) or shuts down: choose Shut Down
when Blue asks as you quit. If Blue stopped without a shutdown (Turn Off),
look in the folder's .blue-recovery folder. See
The shared folder.
Start with the same --nvram file each time, and shut down from Mac OS:
Mac OS 9.1 and later write their settings when they shut down or restart.
Blue offers them only in a window, and only on a startup disk Mac OS can write to. If you chose Don't Ask Again, Install Guest Tools… in Blue's menu still offers them. To stop the offer, choose Don't Ask Again.
Give the Mac more memory with --ram (up to 1024 MB), and the application
more in its Get Info window. Mac OS's virtual memory stays off in Blue, so
the memory --ram gives is all Mac OS has.
Most archives from 1998 on need StuffIt Expander 5 or later, and 8.5 and
8.6 come with 4.5, which quits without a word. Install Expander 5.5, or
expand the archive on your computer with The Unarchiver's unar, which
keeps the files' resource forks on macOS for the shared folder.
While Mac OS starts up, Blue runs its clock fast to hurry through the timeouts of startup, so the clock is 15 to 25 seconds ahead at first, and right again after a minute or two of the Mac resting. While Blue's menu is open, the clock stops.
Blue builds with a C11 and C++17 compiler (Clang or GCC) and make, on
macOS and Linux:
git clone https://github.com/mcbridet/Blue
cd Blue
make # builds build/blue
make test # runs the unit testsBlue loads SDL2 (the window, sound and input), libslirp (the network) and
libusb (USB devices passed through) when it runs, so they aren't needed to
build it, but you'll want them to use it: brew install sdl2 libslirp libusb on macOS, or your distribution's SDL2, libslirp and libusb-1.0
packages on Linux.
make app and make dmg make Blue.app and its disk image on macOS (with
GS=PREFIX, carrying the Ghostscript that tools/build-ghostscript.sh PREFIX
builds), and make appimage an AppImage on Linux. docs/building.md
has the details: the tests, CI, packaging and releases. Ghostscript is only for
printing: Blue without one makes no PDFs (make ghostscript, brew install ghostscript or your Linux's package gives it one).
The docs folder goes further:
- How Blue works, and how Mac OS 8.5 to 9.2.2 were brought up on it.
- The iMac's devices, the drives, the shared folder, the window, game controllers, the guest tools and printing, in depth.
- 3D: the RAVE engine, OpenGL and the GPU backend.
- The JIT.
- Notes on programs and games.
- Building, testing and packaging, testing and debugging, and the source layout.
- The QEMU reference and NanoKernel 2 under QEMU.
- What was found along the way, in detail.
- The roadmap.
Blue is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License, version 3 only (AGPL-3.0-only), as published by the Free Software Foundation. It comes with no warranty: see LICENSE. The code it includes or bundles from others, and their licences, are listed in THIRD-PARTY-NOTICES.md. Blue includes no Apple software, and isn't affiliated with Apple.
The AGPL asks that anyone who gives others a copy of Blue, or lets them use a modified Blue over a network, also gives them its source. Blue's own is at https://github.com/mcbridet/Blue, at the tag of each release. Versions of Blue up to v2026.11.4 were released under the GPL, version 2 only, and stay so for whoever has them.
Blue stands on other people's careful work:
- Elliot Nunn's reverse engineering of the Power Mac ROM: NanoKernel (NanoKernel 1), powermac-rom (NanoKernel 2: its tasks and the blue task, scheduler, Multiprocessing Services calls and objects) and tbxi (the ROM file's parcels). Blue's kernel is its own code, written to the interfaces and behaviour these document.
- QEMU and OpenBIOS,
whose
mac99machine runs Apple's real NanoKernel 2: Blue's was checked against it (docs/nk2-reference.md). Blue's networking uses QEMU's libslirp. - SheepShaver and Basilisk II, which showed long ago that classic Mac OS can run on a host kernel.
- Mesa, the reference Blue's OpenGL is tested against, and SGI's OpenGL Utility library, which Blue's follows.
- SDL and Dear ImGui (Omar Cornut) for the window, and Robin Casady's ChicagoFLF, after Susan Kare's Chicago, for its menus.
- Apple's own documentation: Inside Macintosh, the technotes and developer notes, and the headers published with Darwin.
Blue was called syshm until November 2026. Its settings in the environment
are BLUE_* now: if one of the old names is set, Blue says what it's
called now, and doesn't read it.








