Commit Graph

275 Commits

Author SHA1 Message Date
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
acb51e359c MGL: add setname tag. 2022-07-13 00:18:50 +08:00
paulb-nl
1112204dec user_io: add is_sgb() for Super Game Boy MSU (#649) 2022-06-23 22:42:39 +08:00
RobertPeip
5abb115777 always write savestate count initial values -> fixes creation of non existing savestates (#624) 2022-05-27 02:44:27 +08:00
Sorgelig
afb4b7a35c user_io: remove savestate counter writeback. 2022-05-26 22:22:56 +08:00
Sorgelig
373499dee2 PSX: add psx_poll (for heartbeat). 2022-05-26 22:15:25 +08:00
RobertPeip
8f76789ca0 fix savestate handling by setting the count part of the savestate header to -1 after every modification or ack from HPS (#622) 2022-05-25 19:37:21 +08:00
Sergey Dvodnenko
2bc233b851 Saturn: initial support. (#612) 2022-05-22 20:09:13 +08:00
Sorgelig
d57ed83fbe video: detect default video resolution and dvi mode from EDID. 2022-05-20 21:34:44 +08:00
Sorgelig
63c7573a60 snes: MSU: support for data track, some refactoring. 2022-05-17 20:28:38 +08:00
Sorgelig
12ea16f024 snes: some cleanup, add MSU1 enable flag. 2022-05-13 23:23:29 +08:00
dentnz
fcd784ba97 snes: MSU1 audio support by dent^nz and ElectronAsh (#602)
Co-authored-by: Karl Lurman <karl.lurman@wilsongroupau.com>
2022-05-13 18:23:15 +08:00
Sorgelig
26e1cccbaa Implement new way to address status bits. 128bit status. 2022-05-05 21:06:13 +08:00
Sorgelig
b0146506c2 user_io: fix info reading. 2022-04-27 21:53:54 +08:00
RobertPeip
6b688992a1 PSX: invalidate CD sector buffer when switching CD (#584) 2022-04-21 22:39:08 +08:00
user7182
212e808b9d user_io: Keyboard emulation mode key combo added. (#578)
A key combo, Meta (Win) + Scroll Lock was added
to allow cores using PS/2 to access the Scroll
Lock.

Num Lock (EMU_SWITCH_2) was previously excluded,
this has been re-enabled when using the Meta key
modifier.

Meta+Scroll Lock previously took a screenshot.
This is no longer possible, when that key combo
is used for keyboard emuation mode. A screenshot
must be taken with either:
  Meta+Print Screen or Alt+Scroll Lock.
2022-04-05 20:19:17 +08:00
Sorgelig
f0a7728ea2 MGL: support adf mounting in Minimig. 2022-03-03 23:44:42 +08:00
Sorgelig
2e34dcae35 MGL: support up to 6 actions. New action: reset. 2022-03-03 23:00:23 +08:00
Sorgelig
1c250abbce Improved MGL handling. 2022-02-28 02:12:48 +08:00
Sorgelig
ed1ec99688 Initial support for MiSTer Game Launcher (mgl) file. 2022-02-24 21:24:04 +08:00
Sorgelig
d25fb500ef PSX: support for multitrack CD. Don't load BIOS if it's not 512KB. 2022-02-19 01:03:17 +08:00
Sorgelig
10e216a21e Some cleanup. 2022-02-19 00:57:24 +08:00
Aitor Gómez
33aa7393a1 Keyboard scancode set switching and set 1 support (#546)
This improvement allows the use of set 1 of keyboard scancodes, as well as the possibility of changing from one to another from the OS. Both core ao486 and new cores based on set 1 will benefit from this feature.

Thank you @naeloob for your cooperation and support in developing this feature.
2022-02-19 00:24:54 +08:00
Sorgelig
b41fa1b5cb Tweaks for waitmount option. 2022-02-17 03:16:26 +08:00
Sorgelig
f1b693c512 INI option to wait for specific mount before core start. 2022-02-17 02:40:59 +08:00
Sorgelig
7701cb1cda rename user_io_8bit_set_status to user_io_status. 2022-02-14 02:12:09 +08:00
Sorgelig
eb1455cebb PSX: don't create memory card till first save. 2022-02-13 23:16:30 +08:00
Alan Steremberg
8c46d13d4f Added UEF Converter (#519)
* added uef converter

* added uef converter
2022-02-03 07:27:08 +08:00
Sorgelig
db5fb8ed8c PSX: adjust core name. 2021-12-19 14:34:57 +08:00
Sorgelig
069368347a PSX: add simple CUE parser. 2021-12-19 04:51:30 +08:00
Sorgelig
4274a3018f OSD: support for options SC and FSC. 2021-12-16 04:31:00 +08:00
Sorgelig
3a1ec245de user_io: fix CD unmounting hang on PSX. 2021-12-16 02:41:35 +08:00
Sorgelig
138bdf3330 user_io: savestate and save for PSX core. 2021-12-02 21:13:59 +08:00
Sorgelig
173d23ddc7 user_io: fixes and tweaks in image I/O. 2021-11-26 21:21:33 +08:00
Sorgelig
b71a0802f1 2352 block size for PSX CD access. 2021-11-25 03:45:06 +08:00
Martin Donlon
d84a83c101 Fix memory leak in screenshot saving (#487)
Fix formatting
2021-11-24 01:47:19 +08:00
Alan Steremberg
6992c3e135 screenshot - changed png library to imlib2, and added scaling by default (#481)
windows - PrintScrn will output the image scaled to the output resolution of the scaler. Windows - LSHIFT - PrintScrn will save the original size from the core.
2021-11-16 06:09:33 +08:00
Sorgelig
dc5ac74dcb UART: save modem baud rate, enable 115200 speed for modem mode. 2021-11-12 19:45:33 +08:00
Sorgelig
553d5acc27 input: fix mouse wheel data transfer. 2021-11-12 19:39:47 +08:00
Sergey Dvodnenko
91b93352ba SNES: only skip 512 byte rom header (#476) 2021-10-27 01:28:38 +08:00
Sorgelig
43c19cb5b7 Merge branch 'master' of github.com:MiSTer-devel/Main_MiSTer 2021-10-10 19:12:01 +08:00
Sorgelig
be75d3d623 input: support for second analog stick. 2021-10-10 19:09:15 +08:00
Martin Donlon
aa3ef264ac Add /dev/MiSTer_cmd screenshot support (#472)
Sending "screenshot" to the MiSTer_cmd device will trigger a screenshot.
An exact png filename can be specified if desired.
2021-10-07 13:11:01 +08:00
Sorgelig
7abbf7f8f4 Support compilation in WSL Ubuntu 20.04 LTS. Fix some warnings. 2021-10-07 03:08:56 +08:00
sorgelig
fb49f8b3f3 user_io: log starting path. 2021-09-27 23:49:59 +08:00
sorgelig
b091a609d9 C64: fix flag of T64 virtual image. 2021-08-28 16:00:50 +08:00
sorgelig
1f1cf74b71 input: support up to 8 mouse buttons, don't defer mouse events. 2021-08-24 19:51:43 +08:00
sorgelig
a1a95edae4 arcade: show notification of nvram save. 2021-08-08 19:53:23 +08:00
sorgelig
126f34fcd2 arcade: trigger nvram save from core. 2021-08-07 20:01:26 +08:00