{
  "commit": "3effc4a043e0fca93f5882c62eba9a2344b02d56",
  "count": 1,
  "generated_at": "2026-11-24T10:38:35Z",
  "items": [
    {
      "id": "sdl2trs",
      "profile": {
        "analysis": {
          "character_generators": {
            "note": "Every character set is a compiled-in bitmap table selected by -charset1, -charset3 and -charset4. The tree holds no external font file and reads none. The sets cover the Model I generators, the Model III and Model 4 Katakana and international sets, and the Video Genie, System 80, HT-1080Z, Meritum and Aster CT-80 clones.\n",
            "source_ref": "src/trs_chars.c:12 (trs_char_data), src/trs_options.c:404-436 (charset names), src/trs_sdl_interface.c:1905-1910"
          },
          "embedded_roms": {
            "entries": [
              {
                "crc32": "5f85edf9",
                "load_address": 0,
                "md5": "de9617738e7ee6633d305777e0ce6a15",
                "note": "Writes \"You do not have a ROM image installed for Model\" plus the model digit to the screen and halts on a JR -2. It runs no TRS-80 software, which is why both slots it covers are required.\n",
                "role": "Fallback for Model I and Model III/4 when the slot cannot be read",
                "sha1": "42736ddff1944fcd4631168d35f773fc824eeb9b",
                "size": 461,
                "source_ref": "src/trs_cmd_rom.c:56-116, src/trs_cmd_rom.c:873,888",
                "symbol": "trs_fakerom"
              },
              {
                "crc32": "57ec35ee",
                "load_address": 0,
                "md5": "c8551e6aa36c4bea256d3073c7255ed5",
                "note": "Pete Cervasio's free Model 4P boot ROM version 0.06, carried under a copy-and-modify notice in the header. Reads and runs a boot sector and reports CRC errors, a missing boot sector and an empty drive. utilities/xtrsrom4p.z80 is its source and xtrsrom4p.README its manual.\n",
                "role": "Fallback for Model 4P",
                "sha1": "60d4ff043525256fa3072e59ba283a3cb98399f4",
                "size": 518,
                "source_ref": "src/trs_cmd_rom.c:126-193, src/trs_cmd_rom.c:892",
                "symbol": "trs_rom4p"
              },
              {
                "crc32": "99e3fdc6",
                "load_address": 12288,
                "md5": "235d1eb412cfc5696aad8a0a2dc6c53a",
                "note": "Loaded over 0x3000-0x377F whenever -stringy is set, on top of whatever the Model I slot supplied, and leaves trs_rom_size at 0x3780. Taken from the ESF Advanced Programmer's Guide and held to be public domain by the header. utilities/esfrom.z80 is its source.\n",
                "role": "Exatron Stringy Floppy firmware, overlaid on the Model I image",
                "sha1": "b2612037600031b5290bace247951e1f99700b36",
                "size": 1920,
                "source_ref": "src/trs_cmd_rom.c:199-441, src/trs_cmd_rom.c:875-876",
                "symbol": "trs_romesf"
              }
            ],
            "extraction": "hashes computed from the decoded byte literals",
            "mechanism": "Uint8 arrays in trs_cmd_rom.c, copied into the ROM buffer by trs_load_compiled_rom (src/trs_cmd_rom.c:769-777)"
          },
          "extended_rom_images": {
            "layouts": [
              {
                "image_size": 16384,
                "machine": "Prologica CP-300, CP-500 and CP-500 M80",
                "note": "14 KB of patched Model III ROM plus a 2 KB resident monitor read back from 0x3800-0x3FFF and banked into 0x3000-0x37FF. README.md:21 and html/Features.html name CP-300 and CP-500 for this 16 KB image.\n",
                "slot": "model3.rom",
                "source_ref": "src/trs_cp500.c:1-22, src/trs_cp500.c:154-161, src/trs_memory.c:1039-1042"
              },
              {
                "image_size": 18432,
                "machine": "Holmes VID-80 (VX-3) on Model III",
                "note": "4 KB VID-80 ROM with the Model III ROM appended behind it. This pairing is what sets MAX_ROM_SIZE.",
                "slot": "model3.rom",
                "source_ref": "src/trs_memory.c:571-581, src/trs_memory.c:1044-1066"
              },
              {
                "image_size": 16384,
                "machine": "TCS SpeedMaster, also sold as Genie IIs",
                "note": "BASIC at 0x0000-0x2FFF and a ROM card read from 0x1000-0x3FFF into 0x4000-0xBFFF. Needs -speedup tcs (html/Features.html).",
                "slot": "level2.rom",
                "source_ref": "src/trs_memory.c:1012-1034"
              },
              {
                "image_size": 14336,
                "machine": "Aster CT-80",
                "note": "BASIC at 0x0000-0x2FFF plus a 2 KB boot ROM at 0x3000-0x37FF, mirrored into 0xEC00 in CP/M mode.",
                "slot": "level2.rom",
                "source_ref": "src/trs_memory.c:949-980"
              },
              {
                "image_size": 14336,
                "machine": "EACA EG 3200 Genie III",
                "note": "Bank 1 is read through trs_rom_size, so the 14 KB cap on the plain mapping is the ceiling.",
                "slot": "level2.rom",
                "source_ref": "src/trs_memory.c:896-917"
              },
              {
                "image_size": 12288,
                "machine": "TCS Genie IIIs",
                "note": "Reads 0x0000-0x2FFF only. The rest of the address space is banked RAM, video and the HRG window.",
                "slot": "level2.rom",
                "source_ref": "src/trs_memory.c:919-947"
              },
              {
                "image_size": 12288,
                "machine": "LNW Research LNW80/II",
                "note": "Reads 0x0000-0x2FFF only. -speedup lnw sets the 4 MHz clock and the low 16 KB banking.",
                "slot": "level2.rom",
                "source_ref": "src/trs_memory.c:982-1010"
              }
            ],
            "note": "The clones and the Holmes video card need images larger than a stock ROM, and the memory mapper reads the extra regions straight out of the same buffer. They arrive through romfile1 or romfile3 like any other image and are recognised from the ROM data, so the emulator defines no filename for them and no option selects them.\n",
            "source_ref": "src/trs_clones.c:9-21 (clone table), src/trs_memory.c:64 (MAX_ROM_SIZE)"
          },
          "frontend_conventions": {
            "entries": [
              {
                "frontend": "ES-DE",
                "note": "Passes -rom %ROMPATH%/trs-80/level2.rom on all three launch commands and -disk0 %ROMPATH%/trs-80/boot.dsk on the DOS Diskette one, with boot.dsk documented as a copy of a TRS-80 DOS, NewDos/80 v2.0 recommended. No command passes -m, so the slot -rom writes to follows the config file, which is Model I unless the user changed it, and model3.rom and model4p.rom are never named. The ES-DE user guide records that both filenames are case sensitive.\n",
                "source_ref": "ES-DE resources/systems/linux/es_systems.xml:2211-2213, ES-DE USERGUIDE.md:3334-3362"
              },
              {
                "frontend": "RetroDECK",
                "note": "Declares level1.rom, level2.rom, level3.rom, level4.rom, level4p.rom and boot.dsk under $roms_path/trs-80. Of those the emulator opens only level2.rom by default, while level3.rom, level4.rom and level4p.rom are renames of the model3.rom and model4p.rom slots, and level1.rom is a Level I BASIC image for the Model I slot. The manifest hashes come from the frontend, not from the emulator, which computes none.\n",
                "source_ref": "RetroDECK archive_later/sdl2trs/component_manifest.json"
              }
            ],
            "note": "Two frontends fix names and paths the emulator itself does not know. Both belong to the platform layer.\n"
          },
          "generated_files": {
            "note": "Produced by the emulator, none is user-supplied",
            "written_and_read_back": [
              {
                "filename": ".sdltrs.t8c",
                "note": "Configuration, written to the home directory on first run when none is found.",
                "source_ref": "src/trs_options.c:912-925, src/trs_options.c:1019-1022"
              },
              {
                "filename": "<name>.t8s",
                "note": "Emulator state, written and read by the GUI or a bare command-line argument.",
                "source_ref": "src/trs_state_save.c:38-66, src/trs_state_save.c:68-113"
              },
              {
                "filename": "blank disk, wafer and hard drive images",
                "source_ref": "src/trs_mkdisk.c:192-308, src/trs_stringy.c:185-195"
              }
            ],
            "written_only": [
              {
                "filename": "trsprn####.txt",
                "note": "Printer output, numbered up to 9999 in the printer directory.",
                "source_ref": "src/trs_printer.c:60-81"
              },
              {
                "filename": "screenshots as BMP",
                "source_ref": "src/trs_sdl_gui.c:2677"
              }
            ]
          },
          "shipped_content": {
            "files": [
              "diskimages/utility.dsk",
              "diskimages/cpmutil.dsk"
            ],
            "note": "Installed into the shared data directory by the emulator's own packaging and carrying the IMPORT, EXPORT, SETTIME, XTRSHARD, XTRSMOUS and CP/M helper programs whose sources sit in utilities/. No code path names them: they reach the machine only when a user mounts them with -disk.\n",
            "source_ref": "CMakeLists.txt:50, CMakeLists.txt:145-146"
          },
          "user_supplied_paths": {
            "entries": [
              {
                "source_ref": "src/trs_options.c:587-589, src/trs_disk.c:775-913",
                "what": "floppy images in drives 0-7, JV1, JV3 and DMK"
              },
              {
                "source_ref": "src/trs_options.c:590-592, src/trs_hard.c:312-320, src/trs_hard.c:569-653",
                "what": "hard drive images, units 0-3"
              },
              {
                "source_ref": "src/trs_options.c:584-586, src/trs_cassette.c:522-557",
                "what": "cassette images, .cas, .cpt and .wav"
              },
              {
                "source_ref": "src/trs_options.c:593-595, src/trs_stringy.c:276-317, src/trs_stringy.c:342-350",
                "what": "stringy floppy wafers in drives 0-7, .esf"
              },
              {
                "source_ref": "src/trs_options.c:596-599, src/trs_disk.c:3753-3787",
                "what": "disk set, a plain list of the paths above"
              },
              {
                "source_ref": "src/trs_options.c:987-988, src/trs_cmd_rom.c:845-866",
                "what": "CMD program loaded straight into memory, from a bare argument"
              },
              {
                "source_ref": "src/trs_uart.c:54-56, src/trs_uart.c:144-202",
                "what": "serial port tty, defaulting to /dev/ttyS0 on Linux"
              }
            ],
            "note": "Named on the command line, in the config file or in a disk set, with no fixed filename"
          }
        },
        "core_classification": "community_fork",
        "core_version": "1.2.35",
        "cores": [
          "sdl2trs",
          "sdltrs",
          "sdltrs-model1",
          "sdltrs-model3",
          "sdltrs-model4",
          "sdltrs-model4p"
        ],
        "display_name": "Tandy - TRS-80 (SDL2TRS)",
        "emulator": "SDL2TRS",
        "files": [
          {
            "config_key": "romfile1",
            "description": "TRS-80 Model I ROM",
            "max_size": 18432,
            "name": "level2.rom",
            "note": "Model I is the model a stock configuration selects (src/trs_options.c:900), so this is the slot an unconfigured run reads. Without it the machine runs the compiled-in diagnostic stub and nothing else. max_size is the shared ROM buffer ceiling: a longer file is truncated, never rejected, and only the first 14336 bytes reach the plain memory map.\n",
            "required": true,
            "source_ref": "src/trs_options.c:81 (romfile1), src/trs_options.c:867 (default name), src/trs_cmd_rom.c:871-884 (trs_model 1)"
          },
          {
            "config_key": "romfile3",
            "description": "TRS-80 Model III and Model 4 ROM",
            "max_size": 18432,
            "name": "model3.rom",
            "note": "Serves Model III and Model 4 alike. The stub text spells out that Model 4 mode needs a Model 3 image (src/trs_cmd_rom.c:110-115). This is the one slot that also accepts a MODELA/III CMD file, which html/index.html presents as the substitute for a real Model III ROM. Same truncating ceiling as the Model I slot. The image is the Model III memory map: ROM A 8041364.u104 at 0, ROM B 8040332.u105 at 0x2000 and ROM C 8040316c.u106 at 0x3000, the layout MAME declares for the 0x3800 region.\n",
            "required": true,
            "source_ref": "src/trs_options.c:82 (romfile3), src/trs_options.c:868 (default name), src/trs_cmd_rom.c:885-889 (trs_model 3 and 4)"
          },
          {
            "config_key": "romfile4p",
            "description": "TRS-80 Model 4P boot ROM",
            "max_size": 18432,
            "name": "model4p.rom",
            "note": "Optional because the compiled-in replacement is a working boot ROM rather than a stub. html/index.html states the free ROM boots only Model 4 operating systems, not Model III, and only from floppy, so the original image is what restores Model III mode and hard-drive booting. Hard drive unit 0 is tried before floppy by the Radio Shack ROM, and F2 held at boot forces floppy (html/Features.html). The image is the 4 KB gate-array boot ROM 8075332.u69, the only ROM the machine carries, and the Model III code comes from a boot disk.\n",
            "required": false,
            "source_ref": "src/trs_options.c:83 (romfile4p), src/trs_options.c:869 (default name), src/trs_cmd_rom.c:890-893 (trs_model 5)"
          }
        ],
        "mode": "standalone",
        "notes": "TRS-80 Model I, III, 4 and 4P emulator. Jens Guenther's GitLab tree continues\nMark Grebe's SDLTRS, itself an SDL port of Tim Mann's xtrs, whose licence\nstill ships as xtrs.LICENSE. The sdl2 branch builds the sdl2trs binary that\nES-DE and RetroDECK look for, while master builds sdltrs for hosts without SDL2\n(README.md:106-111). The branches diverge only in the display and paste code:\ntrs_cmd_rom.c and trs_memory.c are byte-identical between them.\n\nThree ROM slots exist, one per model family, and trs_rom_init picks one from\ntrs_model. Model I takes romfile1, Model III and Model 4 share romfile3, and\nModel 4P takes romfile4p (src/trs_cmd_rom.c:868-894). The defaults are level2.rom,\nmodel3.rom and model4p.rom, each prefixed by ROM_PATH (src/trs_options.c:867-869).\nROM_PATH is a build define left empty unless a packager sets it\n(src/trs_options.c:53-54, CMakeLists.txt:42), so a stock build resolves the names\nagainst the working directory.\n\n-rom, -r and -romfile write to the slot of the model selected at the moment\nthey are parsed (src/trs_options.c:600-610). Options are applied in command-line\norder after the config file has been read (src/trs_options.c:993-1013), so -m has\nto come first to redirect them, and a model key in the config file otherwise\ndecides. -rom1, -rom3 and -rom4p address a slot directly. The GUI ROM browser\nfilters on .bin, .hex, .iii and .rom (src/trs_sdl_gui.h:63, src/trs_sdl_gui.c:2595-2601).\n\ntrs_load_rom sniffs the first byte. A colon means Intel hex, and load_hex\nrejects the file on a line checksum mismatch. A 1 or a 5 on Model III or later\nmeans a MODELA/III CMD file, rejected above 14 KB. Anything else is read as\nraw binary with no check (src/trs_cmd_rom.c:720-767, 779-843), which is the path a\ndump takes. No hash is computed anywhere in the tree. rom_write drops any byte\nat or past MAX_ROM_SIZE, 18432 (src/trs_memory.c:64, 729-733), and trs_rom_size,\nthe extent of the plain ROM mapping, is capped at 14336 (src/trs_cmd_rom.c:896-898).\n\nA failed load is not fatal. Model I and Model III/4 fall back to trs_fakerom,\nwhich prints \"You do not have a ROM image installed for Model\" and spins.\nModel 4P falls back to trs_rom4p, Pete Cervasio's free boot ROM, which boots\nModel 4 operating systems from floppy (src/trs_cmd_rom.c:871-893). -stringy\noverlays the built-in Exatron Stringy Floppy ROM at 0x3000 over the Model I\nimage (src/trs_cmd_rom.c:875-876), and -hdboot rewrites the loaded Model I ROM in\nplace to boot from a hard drive (src/trs_cmd_rom.c:447-610, 882-883).\n\nThe clones run off the same three slots and are recognised from the ROM data\nrather than from an option (src/trs_clones.c:9-21, html/Features.html), so their\nlarger images load as a Model I or a Model III ROM. None has a filename of its\nown anywhere in the tree.\n",
        "profiled_date": "2026-10-23",
        "source": "https://gitlab.com/jengun/sdltrs",
        "source_commit": "205ddfd78fd00b32b3f730453175dbd70782ce79",
        "systems": [
          "trs80"
        ],
        "type": "standalone",
        "upstream": "http://sdltrs.sourceforge.net",
        "version_basis": {
          "kind": "file",
          "path": "configure.ac",
          "pattern": "^AC_INIT\\(\\[sdltrs\\],\\s*\\[([^\\]]+)\\]"
        }
      }
    }
  ],
  "kind": "emulators",
  "schema_version": 1
}
