David Holm
65a07e2c12
makefile: Support verbose build
...
Show build commands as they are being executed if `V=1` is specified
when running `make`.
2019-01-05 11:08:31 +01:00
David Holm
6f84a4f2d7
makefile: Move defines to DFLAGS
...
All defines should be set in `DFLAGS` or dependencies might not be
generated correctly.
2019-01-05 11:07:34 +01:00
sorgelig
4819aefc13
Merge pull request #39 from dholm/low-latency/coroutines
...
Main loop latency reduction with coroutines
2019-01-05 17:41:40 +08:00
sorgelig
69d1fe88ed
Merge pull request #38 from dholm/cpu-pin
...
main: Always pin to core #1
2019-01-05 17:35:19 +08:00
David Holm
abf99063dc
file_io: Yield while loading directories
...
Yield at an interval during the loading of directory entries as well as
while sorting them in order to not starve the poll functions.
The maximum time between calls to `user_io_poll` in the main loop were
measured while loading a folder containing 29026 entries:
- Original main-loop: 591ms
- With coroutines + yields: 29ms
The amount of time it takes to load and sort the 29026 entries:
- Original main-loop: 591ms
- With coroutines + yields: 686ms
By increasing the value of `YieldIterations` in `file_io.cpp` the load
time will decrease while increasing the delay between calls to
`user_io_poll`.
2019-01-04 23:37:53 +01:00
David Holm
3908a7f583
main, scheduler: Improve latency by coroutine scheduling
...
Schedules tasks in the main loop using coroutines so that long running
tasks, particularly relating to the UI, can yield execution in order to
call the poll functions at a tighter interval.
2019-01-04 23:03:31 +01:00
David Holm
18ec305841
3pp: libco v18
...
Adds the coroutine library libco by byuu.
- https://byuu.org/library/libco/
2019-01-04 23:00:14 +01:00
David Holm
dfa6dc97bd
main: Always pin to core #1
...
Pin the MiSTer process to core #1 in order to stay clear of the hardware
interrupt handlers running in the Linux kernel on core #0 . This gives a
consistent improvement in the main loop cycle time of about 6-7x.
2019-01-04 22:53:06 +01:00
sorgelig
9d21437895
Merge pull request #37 from dholm/file_io/vectorized-diritem
...
file_io: Support unlimited number of directory entries
2019-01-02 02:58:01 +08:00
sorgelig
f0dd11c50c
Core name in joystick button definition as a hint.
2019-01-02 02:57:28 +08:00
David Holm
be5b51308b
file_io: Support unlimited number of directory entries
...
Stores directory entries in a std::vector instead of an array of
hardcoded size. The vector will dynamically grow to the number of
available entries in a folder without having a hardcoded upper limit.
2019-01-01 18:19:17 +01:00
sorgelig
d7bc150ff3
Release 20181231.
2018-12-31 16:39:07 +08:00
sorgelig
c22c365aa9
Fix memory corruption.
2018-12-31 14:38:36 +08:00
sorgelig
46a4353046
Autofire per key, not per function.
2018-12-31 05:10:16 +08:00
sorgelig
943d36a2c7
Release 20181229.
2018-12-29 23:22:56 +08:00
sorgelig
3e25b3ea51
More steps for autofire.
2018-12-29 21:28:31 +08:00
sorgelig
1c98d1e938
Improved look of datecode.
2018-12-29 21:22:28 +08:00
sorgelig
ddd5b75d2b
Fix the warnings and some errors.
2018-12-29 21:15:25 +08:00
sorgelig
3aa5c4d438
Merge pull request #32 from dholm/code-fixes
...
Minor code fixes
2018-12-29 19:33:48 +08:00
sorgelig
2ecede610b
Merge pull request #33 from dholm/compiler-diagnostics
...
Enable compiler diagnostics during build
2018-12-29 19:32:21 +08:00
David Holm
febb7f444f
makefile: Enable all compiler diagnostics
...
Enable all diagnostics in the compiler so that it can help identify bugs
in the code during build.
2018-12-29 12:23:32 +01:00
David Holm
e3013e615d
makefile: Set DFLAG before reference
...
Set the value of `DFLAG` to the include paths before it is being
referenced by `CFLAG`.
2018-12-29 12:22:31 +01:00
David Holm
7debf7ce1a
input: Remove spurious backslash
...
Remove backslash at end of comment so that the next line doesn't get
commented out as well.
2018-12-29 12:20:03 +01:00
David Holm
e144cd713f
menu: Initialize variables before use
...
Initialize `rdb` and `m` to zero at the top of `HandleUI` before they
are accessed.
2018-12-29 12:19:06 +01:00
David Holm
d16b899c95
sharpmz: sharpmz_ui does not return a value
...
The `sharpmz_ui` function does not have a return statement so declare it
as void.
2018-12-29 12:19:06 +01: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
David Holm
e0781ccfc1
diskimage: Fix memory leak
...
Use array delete operator for pointer that was allocated with new[] so
that all entries are deleted.
2018-12-29 12:19:06 +01:00
sorgelig
5385818aa6
Release 20181227.
2018-12-27 04:06:33 +08:00
sorgelig
33921e306f
vsync_adjust=2 for low latency mode.
2018-12-26 22:12:10 +08:00
sorgelig
b6e1b127ca
INI option to hide RBF datecode.
2018-12-23 22:37:04 +08:00
sorgelig
53ca769890
Release 20181223.
2018-12-23 14:29:04 +08:00
sorgelig
6f13a4a72f
SNES: detect ST01x chip.
2018-12-23 02:51:28 +08:00
sorgelig
0c69fcf047
Release 20181221.
2018-12-21 19:03:56 +08:00
sorgelig
1f4fe8a264
Replace vscale_integer with vscale_mode with extended functionality.
2018-12-21 04:42:10 +08:00
sorgelig
bd6a1ad711
Fix OSD reboot option.
2018-12-19 21:52:43 +08:00
sorgelig
23cfc68ee1
Merge pull request #29 from Locutus73/master
...
Added Scripts menu
2018-12-19 02:20:36 +08:00
Locutus73
12742ffea6
Added Scripts menu
...
Added Scripts menu in the main System Settings page. The menu scans for all *.sh files in the SD and, if one is selected, it executes it showing the standard output in the user interface; a Cancel option allows to interrupt the script and becomes OK once the script has finished.
2018-12-18 19:00:16 +01:00
sorgelig
a4da233987
Release 20181213.
2018-12-13 20:03:25 +08:00
sorgelig
57bcf43b1d
SNES: update parser with chip detection.
2018-12-13 20:02:01 +08:00
sorgelig
88e2176a4d
Use 4K per block transfer for file loading. SNES: skip 512b header if present.
2018-12-13 20:01:12 +08:00
sorgelig
05c2478d7c
Fix vsync_adjust.
2018-12-08 14:51:20 +08:00
sorgelig
35f3c8882e
Move minimig screen adjustment to AV page.
2018-12-08 14:11:40 +08:00
sorgelig
22b3edefdb
Release 20181208.
2018-12-08 01:25:20 +08:00
sorgelig
dd04fdcc83
Per core filter setting.
2018-12-07 22:52:16 +08:00
sorgelig
573ee8fc6d
Option vscale_border for TVs cutting the edges.
2018-12-07 02:51:31 +08:00
sorgelig
a8c61de576
Reset info timer after screen adjustment.
2018-12-07 02:16:37 +08:00
sorgelig
3604657713
Minimig manual screen ajustment.
2018-12-05 01:30:51 +08:00
sorgelig
4c4570f2a6
Release 20181129.
2018-11-29 20:24:32 +08:00
sorgelig
d3e0351f02
Add SNES support code.
2018-11-29 20:23:44 +08:00
sorgelig
0292a637b5
Fix KBD toggle key (autofire on keyboard).
2018-11-27 17:58:36 +08:00