Every embedded Infinite Mac emulator is configured through the query string of itsDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/mihaip/infinite-mac/llms.txt
Use this file to discover all available pages before exploring further.
/embed URL. Parameters are parsed by the runDefFromUrl function. The sections below document each supported parameter, grouped by category.
Machine & Disk Selection
Name of a system disk to load, exactly as shown in the Infinite Mac disk
browser (e.g.
System 7.1, System 6.0.4, Mac OS 8.1). This parameter
may be repeated to mount multiple disks. The first disk listed determines the
default machine if machine is not also specified.Machine model name to emulate (e.g.
Quadra 650, Mac Plus, Power Mac G3). Must match a name from the Infinite Mac machine registry. If omitted,
the preferred machine for the first disk is used.RAM size override for the emulated machine (e.g.
8M, 32M). The value must
be one of the sizes supported by the chosen machine. Defaults to the
machine’s first (maximum) RAM size.Storage
Whether to mount the Infinite HD read-only software library disk. When the
emulator is reached via a year-path URL (e.g.
/1994/System 7.1) this
defaults to true; when using the /embed path it defaults to false unless
explicitly set.Whether to include the Saved HD persistent writable disk. Data written to
this disk is preserved across sessions in the browser’s storage. Defaults to
false on the /embed path and true on year-path URLs.Whether to include the Macintosh Garden library drawer. Defaults to
true
on year-path URLs; on the /embed path the generator sets it to false by
default.URL of a Macintosh Garden (or compatible) library item to pre-download into
the library drawer at boot. May be repeated for multiple items.
Screen
Requested screen resolution. Accepts:
- A
WxHpair such as640x480or800x600 auto— pick the best size for the machinewindow— fill the browser windowfullscreen— request fullscreen mode
/embed path the size is derived from the iframe’s
width and height attributes.Integer scale factor applied to the emulated screen for crisp pixel doubling
(or tripling, etc.). Set the iframe dimensions to
width × scale and height × scale to match.For example, to render a 640×480 screen at 2× scale with sharp pixels:When
true, the emulator emits a postMessage event of type emulator_screen
to the parent page every time the screen contents change. Defaults to false.
See the postMessage API for how to receive these
events.CD-ROMs & Additional Disks
URL to a CD-ROM image to mount at startup. Equivalent to
cdrom_url. May be
repeated for multiple CD-ROMs. Not supported by DingusPPC, PearPC, or Snow
machines that lack a SCSI bus.Alias for
cdrom. URL to a CD-ROM image. May be repeated.Comma-separated list of chunk indices to prefetch for the corresponding
cdrom / cdrom_url entry. Repeat once per CD-ROM in the same order as the
cdrom parameters.URL to an additional disk image to mount (e.g. a
.dsk or .img file). May
be repeated.Comma-separated chunk indices to prefetch for the corresponding
disk_url
entry. Repeat once per disk_url in the same order.Networking
AppleTalk zone name used for multi-instance networking via Cloudflare Workers.
Two (or more) embedded emulators that share the same zone name are connected
on the same virtual AppleTalk network and can communicate with each other.
Playback Control
When
true, the emulator starts in a paused state. The emulator_unpause
postMessage can resume it later. Useful when you want to defer CPU usage until
the user explicitly interacts with the embed.When
true, the emulator automatically pauses when the iframe scrolls out of
the viewport and resumes when it scrolls back in. Reduces background resource
usage on long pages.Debug & Advanced
Override the emulated machine’s real-time clock with a fixed date, supplied as
an ISO date string (e.g.
1994-03-14). Useful for reproducing
date-sensitive bugs or demos.Force the emulator into the non-
SharedArrayBuffer fallback mode, even if
SharedArrayBuffer is available. Intended for debugging performance
regressions in fallback mode.Enable BlueSCSI support for DingusPPC machines. Has no effect on other
emulator types.
JSON-encoded Decoded:
EmulatorSettings object that overrides the default emulator
settings. See settings.ts
for the full list of available fields.Example — swap Control and Command keys: