Commit Graph

30 Commits

Author SHA1 Message Date
bootsector
599f9e2f95 Fix asm operand has impossible constraints error in modern gcc versions (#956) 2025-01-21 14:43:59 +08:00
Sorgelig
e61b111858 Add INI option Main for custom binary. 2024-03-25 23:36:19 +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
Sorgelig
10e57dcd7f rework reboot flag. 2021-11-12 19:39:47 +08:00
sorgelig
9cd404ea65 Common shared memory module. Using O_CLOEXEC for opened files. 2021-04-16 23:12:46 +08:00
sorgelig
141c0bedae fpga_io: reboot ASAP if USB Blaster loading is detected. 2020-08-20 17:33:34 +08:00
sorgelig
f320a94ee3 Faster HPS-FPGA block transfers. 2020-08-03 10:43:16 +08:00
sorgelig
1595d71f78 ao486: faster hdd read/write. 2020-08-02 18:21:20 +08:00
sorgelig
f40a245f95 minimig: use fast io for HDD transfer. 2020-06-08 02:26:53 +08:00
sorgelig
018b189951 Optimization and cleanup in HPS-FPGA communication. 2020-05-17 19:51:49 +08:00
sorgelig
0eb7b3017d Fixes, tweaks, cleanup. 2019-12-12 03:43:49 +08:00
Alan Steremberg
d981092caa Add support for /arcade folder, and MRA xml decoding
* round trip xml launch

* roms load

* removed debug

* added binary data and changed rom format

* changed hex format

* fixed bug

* added structure and start/length

* removed base64 support

* removed base64 support

* fixed parsing bugs

* fixed hex parse bug

* fixed parser

* fixing paths

* fixed rbf parser

* fixed initialization bug

* fixed extension removal for when there are multiple extension options

* fixed core path and cleaned up filelength

* added md5 checks to arcade roms

* fixed rbf search

* added error support

* Simplify error checking code

* fixed arcade error message pop up

* fixed bug in part zip initialization

* removed dtdt

* don't load second rom0 if first works

* fixed directory problem

* added more comments

* added / to zip path

* fixed / bug, truncate mame zip error message

* fixed scrolling RBF

* fixed scrolling name and error message

* added code to remove _date in scrolling text

* remove redundant /
2019-12-12 00:33:27 +08:00
sorgelig
c073756a3f fpga_io: reset the core before load. 2019-09-22 05:01:50 +08:00
sorgelig
c3c4e2ea3e some flags for dual-sdr cores. 2019-09-08 08:40:06 +08:00
sorgelig
25fb4570fe SDRAM module type detection. 2019-09-02 03:31:48 +08:00
sorgelig
f056480a07 Normalize line endings, remove trailing spaces. 2019-06-29 00:57:18 +08:00
sorgelig
00a25d974d Add command to start the core from command line. 2019-06-07 12:56:11 +08:00
sorgelig
15f8a5c7fa input: inject keys from gamepad to HPS. 2019-05-28 00:57:35 +08:00
sorgelig
eddd5f1dc8 Disable input grab before reload the core. 2019-05-26 06:20:14 +08:00
sorgelig
ac7ba6d115 More support for framebuffer and terminal coexistence. 2019-05-24 01:20:50 +08:00
sorgelig
00a75bd80b Fix EOL in sources. 2019-03-22 20:38:14 +08:00
Aitor Gómez
ee250685e1 Bootcore feature
[MiSTer]
; lastcore - Autoboot the last loaded core (corename autosaved in CONFIG/lastcore.dat) first found on the SD/USB
; lastexactcore - Autoboot the last loaded exact core (corename_yyyymmdd.rbf autosaved in CONFIG/lastcore.dat) first found on the SD/USB
; corename - Autoboot first corename_*.rbf found on the SD/USB
; corename_yyyymmdd.rbf - Autoboot first corename_yyyymmdd.rbf found on the SD/USB
;bootcore=lastcore    ; uncomment to autoboot a core, as the last loaded core.
bootcore_timeout=10  ; 10-30 timeout before autoboot, comment for autoboot without timeout.
2019-03-13 06:04:26 +01:00
sorgelig
ddd5b75d2b Fix the warnings and some errors. 2018-12-29 21:15:25 +08:00
David Holm
6813f707ea fpga_io, user_io, minimig: Remove unreferenced printf arguments
Remove arguments to *printf that were not being referenced by the format
strings.
2018-12-29 12:19:06 +01:00
sorgelig
eb32629f15 timeout before reset. 2018-11-07 22:25:15 +08:00
sorgelig
e7429ec866 Support for composite RBF. 2018-09-29 15:58:23 +08:00
sorgelig
3facbe338d Detect the path of core. 2018-05-19 02:04:49 +08:00
sorgelig
96e3d58b31 Support for miltiple configs per RBF. 2018-04-01 06:17:08 +08:00
sorgelig
0e42d1a134 Support for u-boot parameters. 2018-03-28 02:32:21 +08:00
sorgelig
d235e806b2 Move to C++. Use C++14 as it adds binary literals -> HDL friendly. 2018-02-28 01:58:21 +08:00