{
  "commit": "3effc4a043e0fca93f5882c62eba9a2344b02d56",
  "count": 1,
  "generated_at": "2026-11-24T10:38:35Z",
  "items": [
    {
      "id": "sheepshaver",
      "profile": {
        "core_classification": "other",
        "core_version": "2.4",
        "cores": [
          "sheepshaver"
        ],
        "display_name": "Apple - Macintosh PowerPC (SheepShaver)",
        "emulator": "SheepShaver",
        "files": [
          {
            "aliases": [
              "Mac OS ROM"
            ],
            "description": "PowerPC Macintosh ROM, 4 MB PCI PowerMac image or CHRP-BOOT Mac OS ROM",
            "min_size": 377670,
            "name": "ROM",
            "note": "DecodeROM takes a 4 MB read as a plain image and any shorter file only through the <CHRP-BOOT> header. The check every accepted image passes is the nanokernel ID at offset 0x30d064 of the decoded 4 MB image, which PatchROM matches against Boot TNT, Boot Alchemy, Boot Zanzibar, Boot Gazelle, Boot Gossamer and NewWorld. That bounds the size from below. decode_lzss turns 17 input bytes into at most 144 output bytes, so a stream that reaches the end of the shortest ID (0x30d06c bytes) is at least 377670 bytes long. A 128 KB or 256 KB file is never a SheepShaver ROM. The Mac OS ROM file of a Mac OS 8.5 or 8.6 System Folder is used as it is: its data fork is the <CHRP-BOOT> image, the resource fork carries only icons and version strings.\n",
            "required": true,
            "source_ref": "SheepShaver/src/Unix/main_unix.cpp:162-163,585-610,987, SheepShaver/src/Windows/main_windows.cpp:58-59,330-344, SheepShaver/src/rom_patches.cpp:80-120,148-200,671-707, SheepShaver/src/main.cpp:161",
            "validation": [
              "size",
              "signature"
            ]
          }
        ],
        "mode": "standalone",
        "notes": "PowerPC Macintosh emulator living in the macemu tree alongside Basilisk II,\nversion 2.4 (version.h:24-25). Runs MacOS 7.5.2 through 9.0.4 (README.md) on\na PCI PowerMac or NewWorld ROM image.\n\nROM loading (main_unix.cpp:581-613, main_windows.cpp:329-360): the path comes\nfrom the \"rom\" prefs item (prefs_items.cpp:45). When that is empty, the file\nnamed ROM is opened, then the file named Mac OS ROM (main_unix.cpp:162-163,\nmain_windows.cpp:58-59). Neither found raises STR_NO_ROM_FILE_ERR and\nmain_unix.cpp:987 aborts startup. The filename does not select the format:\nboth names go through the same decoder.\n\nAt most ROM_SIZE = 0x400000 bytes are read (cpu_emulation.h:30). DecodeROM\n(rom_patches.cpp:148-200) accepts two forms. A read of exactly 4 MB is taken\nas a plain image and copied as is. A buffer opening on <CHRP-BOOT> is\ndecompressed instead, either LZSS through the lzss-offset and lzss-size\nconstants (decode_lzss, rom_patches.cpp:80) or parcel by parcel through\nparcels-offset and parcels-size (decode_parcels, rom_patches.cpp:123).\nAnything else fails, and main_unix.cpp:602-609 picks the message from the\nfile size on disk: STR_ROM_SIZE_ERR when it is not 4 MB,\nSTR_ROM_FILE_READ_ERR otherwise (user_strings.cpp:66-67).\n\nPatchROM (rom_patches.cpp:671-731), called from InitAll at main.cpp:161,\nreads the nanokernel ID at offset 0x30d064 of the decoded image and accepts\nBoot TNT, Boot Alchemy, Boot Zanzibar, Boot Gazelle, Boot Gossamer and\nNewWorld (rom_patches.cpp:682-695). Any other string raises\nSTR_UNSUPPORTED_ROM_TYPE_ERR. The free space checks at\nrom_patches.cpp:698-707 and the four patch passes at rom_patches.cpp:710-713\nthen rewrite the image in memory, and rom_patches.cpp:729 copies its last\nmegabyte past the 4 MB mark for the 68k emulator. Nothing is checksummed:\nthe ROM checksum at offset 0 is only printed by a debug build\n(rom_patches.cpp:674).\n\nMacOS itself and the applications live in disk images referenced by the\ndisk, floppy and cdrom prefs items, supplied by the user.\n\nTwo files are installed by the emulator's own Makefile into\n$(datadir)/SheepShaver (Makefile.in:21,162-164) and read from there:\n  keycodes    keycode to Mac keycode table, read only when the keycodes\n              prefs item is true, which defaults to false\n              (prefs_unix.cpp:117). Overridable with keycodefile.\n              configure.ac:754,775 picks ../SDL/keycodes or keycodes\n              according to the video backend. video_x.cpp:79,1200,\n              video_sdl2.cpp:97,1231\n  tunconfig   script run to configure the tunN interface for ethernet.\n              Overridable with etherconfig. ether_unix.cpp:108,381\nThe SDL2 backend falls back to BasiliskII_keycodes in the same directory\n(video_sdl2.cpp:98,1232).\n\nThe preferences file (.sheepshaver_prefs, prefs_unix.cpp:49, or\nSheepShaver_prefs, prefs_windows.cpp:66) and the NVRAM file\n(.sheepshaver_nvram, xpram_unix.cpp:30, or SheepShaver_nvram.dat,\nxpram_windows.cpp:31) are written by the emulator when absent. Passing a\n.sheepvm directory on the command line reads the preferences from inside it\ninstead (main_unix.cpp:371-384, prefs_unix.cpp:57-69).\n",
        "profiled_date": "2026-08-08",
        "source": "https://github.com/cebix/macemu",
        "source_commit": "96e512bd6376e78a2869f16dcc8a9028bce5ee72",
        "systems": [
          "apple-macintosh"
        ],
        "type": "standalone",
        "upstream": "https://github.com/cebix/macemu",
        "version_basis": {
          "format": "{1}.{2}",
          "kind": "file",
          "path": "SheepShaver/src/include/version.h",
          "pattern": "const int VERSION_MAJOR = (\\d+);\\s*\\nconst int VERSION_MINOR = (\\d+);"
        }
      }
    }
  ],
  "kind": "emulators",
  "schema_version": 1
}
