{
  "commit": "3effc4a043e0fca93f5882c62eba9a2344b02d56",
  "count": 1,
  "generated_at": "2026-11-24T10:38:35Z",
  "items": [
    {
      "id": "basiliskii",
      "profile": {
        "core_version": "1.0",
        "cores": [
          "basiliskii",
          "basilisk",
          "basilisk2"
        ],
        "display_name": "Apple - Macintosh 68k (Basilisk II)",
        "emulator": "Basilisk II",
        "files": [
          {
            "aliases": [
              "MacROM.bin"
            ],
            "description": "Macintosh ROM image, 512 KB SE/Classic or 512 KB / 1 MB 32-bit clean Mac II",
            "max_size": 1048576,
            "min_size": 524288,
            "name": "ROM",
            "note": "Opened under the name the rom prefs item gives, ROM when it is unset. The code accepts 64 KB to 1 MB, and the 512 KB floor here is the smallest image with a version word CheckROM takes on a stock build. The version word is not the last gate. patch_rom_32 searches the image for the code it patches (UniversalInfo, InitMMU, ClkNoMem, the SCC and VIA2 setup, the interrupt enables, the PACK 4 resource) and returns false when one is missing, which InitAll at main.cpp:190 turns into a failed start. No hash is involved in either gate.",
            "required": true,
            "source_ref": "BasiliskII/src/Unix/main_unix.cpp:109,685,692, BasiliskII/src/rom_patches.cpp:830-842, BasiliskII/src/main.cpp:67,190, BasiliskII/src/rom_patches.cpp:1187-1832",
            "validation": [
              "size"
            ]
          }
        ],
        "mode": "standalone",
        "notes": "68k Macintosh emulator living in the macemu tree alongside SheepShaver.\nEmulates a Mac Classic or a Mac II series machine depending on the ROM\nsupplied. Default model ID is 5 (Mac IIci) on a 68030\n(prefs_items.cpp:88-89).\n\nROM loading (main_unix.cpp:681-702, main_windows.cpp:367,\nmain_macosx.mm:431): the path comes from the \"rom\" prefs item\n(prefs_items.cpp:51) and falls back to a file named ROM in the working\ndirectory (main_unix.cpp:109). A missing or unreadable file raises\nSTR_NO_ROM_FILE_ERR and calls QuitEmulator.\n\nTwo gates run on the image. main_unix.cpp:692 accepts only sizes of 64K,\n128K, 256K, 512K or 1024K. CheckROM (rom_patches.cpp:830-842), called from\nInitAll at main.cpp:67, then reads the version word at ROM offset 8 and\naccepts 0x067c (32-bit clean Mac II, 512K/1MB) under real and direct\naddressing, adding 0x0276 (SE/Classic, 256K/512K) under banks addressing.\nconfigure.ac:61-68,1440-1477 defaults --enable-addressing to fastest,\nwhich resolves to real or direct, so a stock build takes 32-bit clean ROMs\nonly. 0x0000 (Mac 128K), 0x0075 (Mac Plus) and 0x0178 (non 32-bit clean\nMac II) are refused by every addressing mode. PatchROM\n(rom_patches.cpp:1834-1852) then rewrites the image in memory, injecting\nreplacement .Sony, .Disk, .AppleCD and serial drivers. Nothing is\nchecksummed: print_rom_info (rom_patches.cpp:298-310) prints the ROM header\nchecksum without comparing it against anything.\n\nMac OS itself and the games live in disk images referenced by the disk,\nfloppy and cdrom prefs items, supplied by the user.\n\nFour files are installed by the emulator's own Makefile into\n$(datadir)/BasiliskII (Makefile.in:25,155-157) and read from there:\n  keycodes            X keycode to Mac keycode table, read only when the\n                      keycodes prefs item is true, which defaults to false\n                      (prefs_unix.cpp:119). Overridable with keycodefile.\n                      video_sdl2.cpp:94-97,1231, video_x.cpp:1492\n  BasiliskII_keycodes tried when keycodes is absent (video_sdl2.cpp:98,\n                      1232), shipped in src/MacOSX/\n  fbdevices           frame buffer device table, read by the X11 backend\n                      built with --enable-fbdev-dga. Overridable with\n                      fbdevicefile. video_x.cpp:1152,1186\n  tunconfig           script run to configure the tunN interface for\n                      ethernet. Overridable with etherconfig.\n                      ether_unix.cpp:108,381\n\nThe preferences file (.basilisk_ii_prefs, prefs_unix.cpp:50) and the PRAM\nfile (.basilisk_ii_xpram on Unix, BasiliskII_xpram.dat on Windows,\nxpram_unix.cpp:32, xpram_windows.cpp:33) are written by the emulator when\nabsent.\n",
        "profiled_date": "2026-08-08",
        "source": "https://github.com/cebix/macemu",
        "source_commit": "96e512bd6376e78a2869f16dcc8a9028bce5ee72",
        "systems": [
          "apple-macintosh",
          "macintosh-ii"
        ],
        "type": "standalone",
        "upstream": "https://github.com/cebix/macemu",
        "version_basis": {
          "format": "{1}.{2}",
          "kind": "file",
          "path": "BasiliskII/src/include/version.h",
          "pattern": "const int VERSION_MAJOR = (\\d+);\\s*\\nconst int VERSION_MINOR = (\\d+);"
        }
      }
    }
  ],
  "kind": "emulators",
  "schema_version": 1
}
