Commit Graph

1904 Commits

Author SHA1 Message Date
Aitor Gómez
d92cfb75f8 Cleanup initialization PCXT
It is no longer necessary to resort to loading predefined ROMs, but now FC0 and FC1 are used to load ROMs.
2022-08-25 05:57:03 +02:00
zakk4223
5b4acd3c7b input: add support for sdl gamecontrollerdb to setup default mappings for controllers
* Add support for sdl style gamecontrollerdb to setup default mappings for controllers

* Do not cache game controller entries, find them dynamically in the file when needed

Co-authored-by: Zakk <zakk@rsdio.com>
2022-08-22 21:46:16 +08:00
birdybro
08cd5c9212 names.txt: Add PCXT core (#682) 2022-08-20 18:08:07 +08:00
Sorgelig
6df55ba7f9 Reset for is_pcxt_type. 2022-08-19 22:58:38 +08:00
Sorgelig
46c37e4d2b Release 20220819. 2022-08-19 22:35:26 +08:00
Aitor Gómez
06818963db Add pcxt project (#679)
Initially, with serdrive as HDD/FDD image server, only active when starting the PCXT core, never on other cores.
2022-08-17 16:29:21 +08:00
Martin Donlon
1341b2ae8a Don't mess with YCC quantization bits (#678)
Some capture cards don't see to like it. Standard says it should match the RGB quantization, but also says sinks should ignore it.
2022-08-17 15:30:24 +08:00
zakk4223
ce2da62288 Test for existence of hdmi clock before querying edid (#676)
Don't forget to close fd

Co-authored-by: Zakk <zakk@rsdio.com>
2022-08-10 19:09:38 +08:00
Martin Donlon
7ab42bf375 Initialize has_gamma in video_init (#675)
It was being initialize as a side effect of calling setGamma, but setGamma could early out if no gamma cfg was set already.
2022-08-10 19:08:40 +08:00
Sorgelig
3192baa0f3 Add video_off timeout in MiSTer.ini 2022-08-04 02:43:58 +08:00
Sorgelig
38d8519711 minimig: compatibility for setname in MGL (#2). 2022-08-04 02:02:21 +08:00
makigumo
051ffd3a4d input: add key values for japanese keyboards (#674) 2022-08-03 23:12:35 +08:00
David Shadoff
cfd32c117d Minor SCSI correction ( #670 ) (#671)
Real hardware returns 4-byte block on read TOC, but System Card can deal with short responses; this makes the hardware function the same as original hardware
2022-08-01 16:26:16 +08:00
Kasper Olesen
c49612f21a Allowing Minimig core to select ROMs in any folder (#668)
For a while the Minimig core has only made it possible to select ROM files in the Amiga folder directly. But many Minimig users have quite the collection of different Amiga ROMs though, so being able to have several sub-folders with kick ROMs for the core really helps.
2022-07-25 21:51:02 +08:00
Sorgelig
b6055c6fa8 Release 20220723. 2022-07-24 02:13:06 +08:00
Sorgelig
969de28056 minimig: compatibility for setname in MGL. 2022-07-23 21:58:00 +08:00
Sorgelig
10d5548155 menu: fix crash if folder is empty. 2022-07-23 21:53:34 +08:00
Martin Donlon
173fcda187 video: Correctly setup a fallback NN filter when parsing fails (#667) 2022-07-20 00:54:46 +08:00
Alexey Melnikov
deff28102e Merge pull request #666 from wickerwaka/upstream-video-optimization
video optimization
2022-07-19 12:35:27 +08:00
Martin Donlon
ad695d0848 Video mode switching optimizations.
Reduce cost of setting video mode information when using
vsync_adjust=1/2 or vscale_mode=4/5 from 90ms to 5ms (worst case, most
instances are less than 1ms).

Split video initialization into video_init and video_set_mode.
video_init is called once, video_set_mode is called whenever the mode
changes.

Split hdmi_config into hdmi_config_init and hdmi_config_set_mode. Same
as video_, hdmi_config_init does the bulk of the initialization,
hdmi_config_set_mode is just for parameters that can change based on the
mode.

Load video filter data in loadScalerCfg and persist it.

Calculate a digest for scaler data and use that to determine whether new
data needs to be sent.

Only send gamma information if the filename has changed.

Offload fb module parameter writing to a separate thread via the new
offload system.

Reduce the amount of work being done in set_vrr_mode when vrr is
disabled.
2022-07-18 16:30:00 -07:00
Martin Donlon
cebd306abd Spike profiler 2022-07-17 11:58:16 -07:00
Sorgelig
f5f7616f57 x86: respect setname in config name. 2022-07-18 01:08:52 +08:00
birdybro
1b39567915 Add Tomy Tutor Core (#660)
Forgot to add this one as well in the last PR.
2022-07-18 00:49:44 +08:00
birdybro
a1f1f4acee Add Super Game Boy to names.txt (#659) 2022-07-18 00:49:29 +08:00
Martin Donlon
46854fdc1f video: Tweak front and back porch calculations (#656) 2022-07-13 03:47:50 +08:00
Sorgelig
acb51e359c MGL: add setname tag. 2022-07-13 00:18:50 +08:00
Sorgelig
bb6ef14e70 video: limit max_fr from EDID by 62hz. 2022-07-13 00:01:32 +08:00
Sorgelig
0407a431c7 Release 20220712. 2022-07-12 22:04:37 +08:00
Sorgelig
bd1eab9bf7 SNES: move MSU1 data buffer for bigger video buffer. 2022-07-08 02:56:08 +08:00
Cray Elliott
adef6c30e2 Super Game Boy: test for file extension size (#653)
it was hard coded to 4 which caused MSU-1 files to not be found for
.GB extension ROMs
2022-07-02 01:18:17 +08:00
Sorgelig
ef52c42b1c menu: alternating info between battery and resolution if battery available. 2022-07-01 04:31:04 +08:00
Sorgelig
9eca861734 video: another method to make a base VRR video mode. 2022-07-01 04:11:45 +08:00
Sorgelig
0afae31c31 video: don't use VRR logic if vsync_adjust is not 0. 2022-07-01 00:16:06 +08:00
Sorgelig
84ade779df video: adjust VRR vblank to a minimum possible value instead of discarding. 2022-06-30 22:59:16 +08:00
Sorgelig
d1e2d37421 video: support for fractional frame rate in video_mode parameter. 2022-06-30 22:47:47 +08:00
Sorgelig
73e90981f4 menu: fix name scroll overlap with help scroll. 2022-06-30 22:27:43 +08:00
Sorgelig
d9a04ba93e menu: update minimig joystick mode option. 2022-06-30 22:26:27 +08:00
zakk4223
b38dada0b5 video: don't modify hdmi packet enable register when doing initial config
Co-authored-by: Zakk <zakk@rsdio.com>
2022-06-29 23:34:50 +08:00
Sorgelig
7d8b477efc video: don't use VRR logic if vsync_adjust=2. 2022-06-29 20:19:40 +08:00
Sorgelig
d0bb16f4ff video: more conservative default VRR max refresh rate. 2022-06-29 08:47:33 +08:00
Sorgelig
5de6c5e231 video: VRR support for core, some code formatting. 2022-06-29 08:44:30 +08:00
Martin Donlon
f8ee846400 Fix fb_size=2 (#651)
Initialize fb_scale from fb_size.
2022-06-27 20:04:48 +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
Sorgelig
8eb1a6476c menu: system menu defaults to exit. 2022-06-23 23:54:48 +08:00
paulb-nl
1112204dec user_io: add is_sgb() for Super Game Boy MSU (#649) 2022-06-23 22:42:39 +08:00
zakk4223
6d65491ae4 Set FD_CLOEXEC on underlying CHD file descriptors (#646)
Co-authored-by: Zakk <zakk@rsdio.com>
2022-06-21 00:08:31 +08:00
arit
35b4e8f6fa Cheat menu performance (#643)
* Modify cheat_rec_t data type for planned changes to active cheat handling.

* Reorganized cheats_toogle and cheats_send to cache activated cheats and prevent opening files for all active cheats with each toggle.

* Added consistency checks.
2022-06-19 03:17:12 +08:00
arit
8d60ab7779 Added menu rollover logic from file select to cheat select menu. (#638) 2022-06-09 05:29:55 +08:00
Martin Donlon
db9b8676f9 video: Removed loop from vscale calculations, calculate max horizontal and (#636)
vertical scale and use the minimum.

vscale_mode has been changed to make it more reliable.

vscale_mode=4 - Generate modes that match the cores aspect ratio.
Generally better, will work with more cores and produce most optimal
resolutions, but will not be compatible with displays that always
stretch the image to fill.

vscale_mode=5 - Generate modes that match the original display aspect
ratio, if the core needs a wider aspect then the resolution is not
changed. Compatible with a wider range of displays.

Updated INI with a clearer description.

Removed mode 6 since it was not being used and adjusting display width
doesn't enable integer horizontal scaling.

uh undo
2022-06-08 16:40:06 +08:00
Sorgelig
ba837a789e input: fix: vibration test could stick. 2022-06-06 19:54:10 +08:00