Commit Graph

84 Commits

Author SHA1 Message Date
misteraddons
eef9cbd6d9 video: Support for chroma subcarrier over VGA
Adds "subcarrier" config flag, used to enable chroma subcarrier output over VGA Vsync for external RGB to NTSC/PAL converters.
2025-08-14 14:32:07 +08:00
misteraddons
089757e33c OSD: Lookahead 0-3 positions when scrolling (#1009)
* Lookahead 3 positions when scrolling

* Add lookahead position adjustment

0 = disabled
1 = 1 position ahead
2 = 2 positions ahead (default)
3 = 3 positions ahead

* Implement lookahead config variable (0-3 positions)
2025-07-30 12:41:08 +08:00
zakk4223
1d201a300b Add interlaced video vertical filter (#976) 2025-03-31 14:30:30 +08:00
Sorgelig
e61b111858 Add INI option Main for custom binary. 2024-03-25 23:36:19 +08:00
Sorgelig
11d35160ff INI: add DEBUG option to disable logging to console. 2024-02-12 00:07:14 +08:00
Rikard Bengtsson
09e2f4fd03 Fix bug in dead zone code affecting DS3/DS4 (#866)
A small bug was introduced with the new dead zone code that made it ignore "quirks" regarding DS3/DS4. These devices should automatically be given a dead zone of 10, as it was before.
2024-01-15 13:00:13 +08:00
Rikard Bengtsson
542b6f4d73 Added dead zone configuration (#857)
User can define dead zone by device identifier and a radius.
2023-12-01 17:51:05 +08:00
Javier Rodas
4236d70433 Add a second JAMMA quirk to support 4-player JAMMA-VERSUS with two JammaSD/J-PAC (or similar USB JAMMA) controller interfaces. (#811) 2023-09-05 05:44:00 +08:00
Alexey Melnikov
8c3c28e29a OSD Locking (#794)
Add osd_lock and osd_lock_time config options
When osd_lock is set it specifies a sequence of button pressed that must be pressed in order to gain access to the OSD while running a core.
osd_lock_time is the time (in seconds) before you will be prompted again for the unlock code after you have closes the OSD.

Co-authored-by: Martin Donlon <github-martin@donlons.com>
2023-08-03 15:03:47 +08:00
Sorgelig
d5f41db979 input: support for multiple input devices mapping per player. 2023-05-28 21:41:58 +08:00
Sorgelig
872b433ed5 input: add selective unique mapping. 2023-05-22 20:18:24 +08:00
Sorgelig
d6eefdcbdc input: make unique mapping per port. 2023-05-21 02:28:34 +08:00
Alexey Melnikov
0ebf137532 input: Controller unique mapping (preliminary)
Add ini option `unique_mapping` which makes controller mappings unique to the physical port the controller is connected to.
Calculates a uint32_t unique_hash for each device during enumeration.

Co-authored-by: Martin Donlon <github-martin@donlons.com>
2023-05-21 02:14:27 +08:00
Sorgelig
5be5b35e82 Support for named INI files. 2023-02-25 20:34:37 +08:00
Sam Hardeman
6a8eda7d43 Add functionality to change MaxCLL (peak nits) and MaxFALL (avg nits) + HDR with HDMI limited bugfix (#740) 2023-02-12 23:54:32 +08:00
Sorgelig
6dcd754ac9 video: support for PAL-60 and PAL-M modes for S-Video and CVBS. 2023-02-08 22:53:45 +08:00
Sorgelig
a91f03d56e Support for YC phase_inc override. 2023-02-08 20:47:35 +08:00
Sorgelig
8d735d4e77 Add control for S-Video/CVBS module. Add vga_mode parameter into INI. 2023-02-08 10:22:50 +08:00
Martin Donlon
4d0caf154b video: default preset and reset option.
`preset_default` option added to ini. Filename is relative to the presets/ path.

"Reset to defaults" option added to video processing menu which will delete the config files and reload the default configuration.
2023-02-07 02:55:52 +08:00
Sam Hardeman
bfc6dfde3d video: Re-ordering of HDR options to make HLG default + clean-up in ini explanation (#730) 2023-01-15 04:37:52 +08:00
Sam Hardeman
2b279d1488 video: HDR display/output support (BT2020 / DCI P3) (#718)
* Merge branch 'hdr' of https://github.com/wickerwaka/Main_MiSTer into feature-hdr

Merged in wickerwaka's old HDR branch and integrated the BT2020 and DCI P3 color space conversion matrices. Changed "hdr" option to be a selection of matrix instead of saturation option.

* Add HDR example to MiSTer ini
2022-12-22 02:43:15 +08:00
Sam Hardeman
3214046c50 Feature: HDMI color controls via tranceiver CSC (#715)
* Addition of HDMI color controls (brightness, contrast, saturation, hue, gain, offset) that can be tweaked via MiSTer.ini (examples in-file). These controls are used to construct a matrix for the HDMI chip's color space converter. Due to the nature of this change, HDMI limited and YCbCr options have been reworked and combined into the color matrix routine (hdmi_config_set_csc)

* Change cc_ prefix to video_, as per suggestion and inline with existing video options.
2022-12-21 13:38:47 +08:00
Sorgelig
2d40444af0 ini option to disable autofire. 2022-11-28 20:46:42 +08:00
Sorgelig
f95046edaf Debug print of current config. 2022-11-24 20:52:05 +08:00
Sorgelig
6bda023db8 Add INI option for permanent controller assignment to specific player. 2022-10-31 19:53:50 +08:00
Martin Donlon
801a5ea0d2 If errors are detected in INI settings display an info message for 5 seconds at core startup. (#696)
Added `cfg_error` function for reporting errors in the ini.
Report errors when parsing video_mode information.
Report out of bounds settings.
Report unknown settings.
Detect numeric parse failures.
2022-09-25 04:32:39 +08:00
Sorgelig
3192baa0f3 Add video_off timeout in MiSTer.ini 2022-08-04 02:43:58 +08:00
Sorgelig
5de6c5e231 video: VRR support for core, some code formatting. 2022-06-29 08:44:30 +08:00
zakk4223
0a5488d48f video: send freesync/VRR enable frames if the display supports it
* Support enabling VRR on displays that advertise it

* Disable SPD and Spare packet registers when they aren't needed. Update ini

Co-authored-by: Zakk <zakk@rsdio.com>
2022-06-26 22:57:09 +08:00
Martin Donlon
b5f5c35cd7 video: Change refresh min/max to a floating point value (#625) 2022-05-27 22:40:25 +08:00
Sorgelig
d57ed83fbe video: detect default video resolution and dvi mode from EDID. 2022-05-20 21:34:44 +08:00
Sorgelig
13ecfc748c video: make HDMI game mode optional. 2022-05-12 06:15:57 +08:00
Sorgelig
5a6ecd790b input: initial support for wheels. 2022-04-21 04:22:39 +08:00
Thomas Sowell
f5fd16c26e Override configuration based on video mode (#567)
* Override configuration based on video mode

Configuration options can now be overridden based on the core's video
mode.

The config parser now supports sections with names in the format
"video=WIDTHxHEIGHT[@VREFRESH]".  When a core changes video mode, MiSTer
reloads the config file and checks for a section matching the new mode.
If one is found, the options in the section override options in the
MiSTer/core sections.

MiSTer will look for a section matching the width, height, and vertical
refresh rate first.  If none is found, it will fall back to a section
matching the width and height but not specifying a refresh rate.  If
there is still no match, no overrides will be used.

Also, VREFRESH must match exactly the output from video_info or the
logs.  To match 720x400 31.48KHz 70.1Hz, the section title would need to
be [video=720x400@70.1].

* Move video section variables out of cfg_t
2022-03-17 14:46:57 +08:00
zakk4223
6e18651521 Add support for rumble data from hps_io. Fix data truncation in spi_uio_cmd (#568)
Co-authored-by: Zakk <zakk@rsdio.com>
2022-03-13 15:21:19 +08:00
Sorgelig
f1b693c512 INI option to wait for specific mount before core start. 2022-02-17 02:40:59 +08:00
Sorgelig
21e35bbf2f video: support 64 phases for scaler, separate filters for horizontal/vertical/scanlines. 2022-01-05 21:22:04 +08:00
Sorgelig
4cee9159d0 Support for loadable Shadow Masks. 2021-11-26 21:23:21 +08:00
sorgelig
53c0a93948 Add bt_reset_before_pair INI option. 2021-09-17 01:17:50 +08:00
sorgelig
19eef030a8 input: support for joycon in combined/split modes, bt_auto_disconnect ini option. 2021-08-17 05:24:32 +08:00
sorgelig
1f9a325602 ini: spinner_axis option. 2021-07-26 22:45:44 +08:00
sorgelig
8ca10b48a7 INI option log_file_entry. 2021-07-15 18:30:12 +08:00
sorgelig
860ff14d3f Add milti-instance no_merge_vidpid INI option. 2021-07-08 15:05:19 +08:00
sorgelig
471372f5ce Option for default scaler and audio filters in INI file. 2020-11-17 18:09:43 +08:00
sorgelig
70eb94355c input: support spinner from mouse. 2020-11-14 15:47:52 +08:00
sorgelig
d93481c26c INI options for custom aspect ratio. 2020-11-01 20:34:36 +08:00
paulb-nl
ddb3a8847e Add setting to disable merge for specific VID/PID.
For example J-PAC in dual X-input mode with VID/PID 045e:028e
2020-08-16 04:29:13 +08:00
sorgelig
772d3a71eb Add shared_folder INI option. 2020-07-03 05:52:19 +08:00
sorgelig
19cf3890d5 INI option to disable logo in Menu core. 2020-06-18 10:54:38 +08:00
sorgelig
6d4ea9983a input: merge jammasd and jpac/ipac into a common option. 2020-06-08 22:28:18 +08:00