{
  "commit": "3effc4a043e0fca93f5882c62eba9a2344b02d56",
  "count": 1,
  "generated_at": "2026-11-24T10:38:35Z",
  "items": [
    {
      "id": "eternal",
      "profile": {
        "core_classification": "community_fork",
        "core_version": "0.0",
        "cores": [
          "eternal"
        ],
        "display_name": "Eternal Computer",
        "emulator": "Eternal Computer",
        "files": [],
        "notes": "Virtual machine for the Eternal Software Initiative architecture, a Subleq\nvariant with indirect operands, a keyboard port, a console port, a wall\nclock at word 64 and a timer interrupt through word 0. Adrian Cable's\nreference machines are vm/vm.c (SDL3 framebuffer) and vm/vm_console.c,\nand the libretro core by iyzsong carries the same loop in libretro.c:186-222.\n\nMachine memory is a static array of 3<<27 words, 1.5 GiB, cleared again\nwhen the content is unloaded (libretro.c:360-364). The framebuffer is its\nlast 800x512 words (libretro.c:9-13, 22-23), pushed to the frontend as\nXRGB8888 on every retro_run (libretro.c:330-334).\n\nThe content is the whole machine image. retro_load_game copies the buffer\nthe frontend hands over to word 0, refuses an image larger than memory and\nstarts the interpreter on a thread (libretro.c:302-314). need_fullpath is\nfalse and the accepted extensions are capsule and bootimage\n(libretro.c:275-282). The upstream machines fread the same file into mem\n(vm/vm.c:45-48, vm/vm_console.c:32).\n\nA boot image comes out of tools/make_boot_image.py applied to a Subleq ELF:\na boot block of text_start bytes, with the interrupt vector at word 0, the\nsaved PC at word 1, the initial stack pointer at word 4, the framebuffer\nword address at word 6 and the constants 0, -1 and 1 at words 36, 38 and\n39, followed by the flat binary (tools/make_boot_image.py:34-68). The\nupstream repository ships capsules/vmlinux.bootimage.xz, ESI Linux with\nbusybox, Doom, nano, lynx and htop in its initramfs, 110 MiB once\ndecompressed. The frontend does not open xz, so the image is decompressed\nbefore loading.\n\nNothing else is read. retro_set_environment registers the log interface and\nthe keyboard callback and nothing more (libretro.c:238-249), and the core never\nasks for a system, save or content directory and opens no file itself.\nKeyboard events are translated to USB HID usage IDs and queued eight deep\n(libretro.c:36-184). Console output goes to the host stdout with write\n(libretro.c:205-206). A fetched C of zero halts the machine and asks the\nfrontend to shut down (libretro.c:196-199). No savestate\n(libretro.c:336-339), no memory map, no audio.\n",
        "profiled_date": "2026-09-17",
        "source": "https://codeberg.org/iyzsong/eternal-libretro",
        "source_commit": "13adf143aea822ebc1ee23722a80e93a7979e4c9",
        "systems": [
          "eternal-computer"
        ],
        "type": "libretro",
        "upstream": "https://github.com/adriancable/eternal",
        "upstream_commit": "23d4d6c7c9f930fa72568ce795c9147af09d56ee",
        "version_basis": {
          "kind": "file",
          "path": "libretro.c",
          "pattern": "info->library_version\\s+=\\s+\"([^\"]+)"
        }
      }
    }
  ],
  "kind": "emulators",
  "schema_version": 1
}
