{
  "commit": "3effc4a043e0fca93f5882c62eba9a2344b02d56",
  "count": 1,
  "generated_at": "2026-11-24T10:38:35Z",
  "items": [
    {
      "id": "kegs",
      "profile": {
        "core_classification": "other",
        "core_version": "1.38",
        "cores": [
          "kegs"
        ],
        "display_name": "Apple - Apple IIGS (KEGS)",
        "emulator": "KEGS",
        "files": [
          {
            "aliases": [
              "ROM.01",
              "ROM.03",
              "APPLE2GS.ROM",
              "APPLE2GS.ROM2",
              "xgs.rom",
              "XGS.ROM",
              "Rom03gd",
              "342-0077-b"
            ],
            "description": "Apple IIGS system ROM",
            "name": "ROM",
            "note": "Accepted sizes are 32768 (Apple //e), 131072 (ROM 01) and 262144 (ROM 03). -rom on the command line and the g_cfg_rom_path config line both replace the first search name (config.c:1465-1467). A 32 KB //e ROM has to carry the Disk II PROM at offset 0x600, which KEGS reads into slot 6.\n",
            "required": true,
            "size": [
              32768,
              131072,
              262144
            ],
            "source_ref": "config.c:135,407-410,1096-1161",
            "validation": [
              "size"
            ]
          },
          {
            "aliases": [
              "controller.rom",
              "disk.rom",
              "DISK.ROM",
              "diskII.prom"
            ],
            "description": "Disk II controller PROM for slot 6",
            "hle_fallback": true,
            "min_size": 256,
            "name": "c600.rom",
            "note": "Replaces the built-in PROM. The first 256 bytes are read into slot 6 and a shorter file is rejected.\n",
            "required": false,
            "source_ref": "config.c:418-419,1192-1224",
            "validation": [
              "size"
            ]
          },
          {
            "description": "ROMX-compatible character ROM",
            "hle_fallback": true,
            "min_size": 4096,
            "name": "<charrom>",
            "note": "Picked through the F4 config panel, which stores the path in g_cfg_charrom_path, and there is no default name. KEGS reads 4096 bytes at 0x1000 times the selected font number and replaces the built-in text font with them. The 32 fonts it lists span a 131072-byte image.\n",
            "required": false,
            "source_ref": "config.c:136-137,259-276,1070-1093",
            "validation": [
              "size"
            ]
          }
        ],
        "mode": "standalone",
        "notes": "Apple IIGS emulator by Kent Dickey, shipped as one zip holding the sources\nand the KEGSMAC, kegswin.exe and xkegs binaries.\n\nThe system ROM is the only file needed to boot. config_load_roms takes the\nfirst name that stats across g_kegs_default_paths (config.c:149-151), which\ncovers the current directory, $HOME, $HOME/Library/KEGS, the executable\ndirectory and a Mac bundle Resources directory. g_cfg_rom_path is tried\nfirst, then the fixed list (config.c:407-410,1105-1109). ROM size selects\nthe machine, 32 KB for an Apple //e, 128 KB for a ROM 01 IIGS and 256 KB\nfor a ROM 03 IIGS, and any other size is refused (config.c:1136-1153).\nWithout a ROM, KEGS raises its config panel instead of starting\n(config.c:1110-1115).\n\nThree ROMs are compiled in. Slot 7 gets the SmartPort PROM literal\ng_rom_c700[] (config.c:463,1165-1169). Slot 6 gets a Disk II PROM rebuilt\nat load time, XORed out of the IIGS ROM through g_rom_c600_rom01_diffs[]\n(config.c:428,1177-1183) or copied from offset 0x600 of a //e ROM\n(config.c:1172-1176). The IIGS control panel reaches it by setting slot 6\nto \"Your Card\". Text uses g_font_array[] from kegsfont.h (video.c:272-273,\nprepared at sim65816.c:667).\n\nSlots 1 to 5 and slot 7 carry empty name lists (config.c:413-417,420), so\nslot 6 is the only slot that reads a card ROM from disk.\n\nconfig.kegs carries the disk assignments and the battery RAM, and KEGS\ncreates it when none is found (config.c:638-672).\n",
        "profiled_date": "2026-08-08",
        "source": "https://kegs.sourceforge.net/",
        "systems": [
          "apple-iigs",
          "apple-ii"
        ],
        "type": "standalone",
        "upstream": "https://kegs.sourceforge.net/",
        "version_basis": {
          "artifact": "kegs.1.38.zip",
          "kind": "package",
          "pattern": "kegs\\.(\\d+\\.\\d+)\\.zip",
          "url": "https://kegs.sourceforge.net/kegs.1.38.zip"
        },
        "version_source": {
          "pattern": "Download the KEGS v(\\d+\\.\\d+) zip",
          "url": "https://kegs.sourceforge.net/"
        }
      }
    }
  ],
  "kind": "emulators",
  "schema_version": 1
}
