From 5d75135ec8a08e48182a287210047482b450ee3f Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Mon, 9 Nov 2026 17:32:30 +0100 Subject: [PATCH] feat: map sdltrs rom slots to their options sdltrs reads its three ROM slots from the romfile1, romfile3 and romfile4p options (src/trs_options.c:323-325). RetroPie passes -romfile4p $biosdir/level4p.rom under the emulator id sdltrs-model4p, so the pack ships the 4 KB Model 4P boot ROM under that name. --- emulators/sdl2trs.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/emulators/sdl2trs.yml b/emulators/sdl2trs.yml index 8fa60e9e8..0d629024e 100644 --- a/emulators/sdl2trs.yml +++ b/emulators/sdl2trs.yml @@ -15,6 +15,9 @@ cores: - sdl2trs - sdltrs - "sdltrs-model1" + - "sdltrs-model3" + - "sdltrs-model4" + - "sdltrs-model4p" systems: - trs80 mode: standalone @@ -68,6 +71,7 @@ files: description: "TRS-80 Model I ROM" required: true max_size: 18432 + config_key: "romfile1" 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)" note: > Model I is the model a stock configuration selects (src/trs_options.c:900), so @@ -80,6 +84,7 @@ files: description: "TRS-80 Model III and Model 4 ROM" required: true max_size: 18432 + config_key: "romfile3" 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)" note: > Serves Model III and Model 4 alike. The stub text spells out that Model 4 @@ -94,6 +99,7 @@ files: description: "TRS-80 Model 4P boot ROM" required: false max_size: 18432 + config_key: "romfile4p" 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)" note: > Optional because the compiled-in replacement is a working boot ROM rather