Peter Veenstra
a2f473cebd
Fix compilation for platforms where the include guard is different and the exported symbol was changed by Khronos.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4323
2020-02-14 16:53:52 +00:00
Peter Veenstra
5fc132c124
Improve logging and OS X support (jmarsh).
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4322
2020-02-13 20:39:45 +00:00
Peter Veenstra
c765582c3e
Some fixes to 4319 by jmarsh.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4321
2020-02-12 16:18:05 +00:00
Peter Veenstra
4a565a75ed
Add OpenGL shader support. (patch by ny00123 and refined by jmarsh). Add several builtin ones that mimic the scalers and some extra. Thanks jmarsh
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4319
2020-02-10 18:59:01 +00:00
Peter Veenstra
ae80176bbb
Increase limits a bit more for people who want to use that.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4317
2020-02-07 15:41:31 +00:00
Peter Veenstra
2dec4d0a11
Limit max software scaler line limit to a 4k monitor. (relevant for people who use larger scalers)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4316
2020-02-07 15:39:21 +00:00
Peter Veenstra
eb9b86269d
Some graphics cards return a too small overlay when the size is larger than 1024. Fall back in that case.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4315
2020-02-07 14:25:52 +00:00
Peter Veenstra
6d11dd5eac
Fix unintentional change of union to struct.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4312
2020-01-29 07:38:18 +00:00
Peter Veenstra
ec8b59ab06
Make scalerwritecache sizes depend on the maximum scaler size.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4311
2020-01-28 12:25:15 +00:00
Peter Veenstra
80c7bb7cc1
Improve PMAKE on big endian machines and fix some bugs. Includes fix from #364 . (jmarsh)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4310
2020-01-28 10:20:59 +00:00
Peter Veenstra
dbd6be2da0
Add OpenGL error reporting (disabled by default)
...
Add way to restart graphics subsystem on fullscreen/windowed mode transitions in OpenGL mode (disabled by default)
Add check for pixels being valid in OpenGL to prevent direct crash when the allocation fails.
Add define to turn off Pixel Buffer Object usage. (disabled by default)
Add a way to specify the windowresolution as percentage of your current resolution. (This centers the window.)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4306
2020-01-06 17:23:38 +00:00
Peter Veenstra
b59d73f5b7
Log detected extensions and correct spacing.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4305
2020-01-05 19:10:32 +00:00
Peter Veenstra
c5ad973795
Disable scaling by the OS on windows (scale != 100%). Could not get this working through the manifest, but this seems to work as well.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4303
2020-01-05 16:48:41 +00:00
Peter Veenstra
1521b7ad7d
Fix bug #519
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4296
2019-11-26 16:52:04 +00:00
Peter Veenstra
8f3474ecfd
Make it possible to compile without CoreMIDI and CoreAudio on Mac OS X using a non-Apple compiler. Give some feedback to user in this case. (modified version of patch by krcroft with input from jmarsh, Dominus and Qbix)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4281
2019-11-10 14:50:11 +00:00
Peter Veenstra
5b690f936a
fix externals.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4274
2019-10-19 20:08:46 +00:00
Peter Veenstra
276b187181
Make frameskip an integer.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4273
2019-10-19 19:52:24 +00:00
Peter Veenstra
195484d5e9
Change OpenGL drawing routine to draw one big oversized TRIANGLE instead of a QUAD in order to work around an Nvidia specific scaling bug. Fixes bug #515 .
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4270
2019-10-09 20:53:35 +00:00
Peter Veenstra
ca20ca3a3e
use delete instead of free, although this code is never really used, as the running process should have been replaced at that point.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4263
2019-10-01 11:11:57 +00:00
Peter Veenstra
5803ea448c
missed one
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4262
2019-10-01 06:14:42 +00:00
Peter Veenstra
4046dd8229
These actually use float as input.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4261
2019-09-30 18:43:28 +00:00
Peter Veenstra
ffdcc16af5
Always clear drawing area. Should fix certain linux instalations that use triple buffering
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4229
2019-06-02 19:40:59 +00:00
Peter Veenstra
ee236a7e5a
Init texture with zeroes. Should fix the red border with pixel_buffer and nvidia cards on Mac OS X and Linux.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4228
2019-05-26 09:07:07 +00:00
Peter Veenstra
eb26b9a58e
Change first_shell to be DOS_Shell instead of Program. Makes future manipulations easier.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4211
2019-04-20 13:48:55 +00:00
Peter Veenstra
c9c97f13af
Correct bug related to signedness (M-HT).
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4198
2019-03-31 18:06:27 +00:00
Peter Veenstra
94113a7362
Change multi_remain to repeat last parsed value for non-string types if the next value is empty and of the same type as the last.
...
Use this to add an optional parameter to sensitivity which controls the y axis. When optional parameter is missing, x and y axis have the same value.
Change limits on sensitivity to allow for negative values so the Mouse Y-axis can be inversed. Similar to patch #276 .
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4197
2019-03-29 20:47:57 +00:00
Peter Veenstra
8d1c5b31e1
fix loading of configfiles specified with -conf but present in the userdir with -userconf present.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4194
2019-02-28 13:14:21 +00:00
Peter Veenstra
fdd8358de7
Make feature checks consistent, include right header for memset, correct one off error in paging table size compare for when not using USE_FULL_TLB (jmarsh)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4185
2019-01-28 14:26:19 +00:00
Peter Veenstra
1fbaff47fc
Update year and address of FSF
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4183
2019-01-25 14:09:58 +00:00
Peter Veenstra
b899da315d
use right field when dealing with joysticks. use enum instead of magic value (ny00123)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4179
2018-12-28 12:18:12 +00:00
Peter Veenstra
c9f79add62
no bilinearing filtering on exact multiples
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4178
2018-12-17 19:22:30 +00:00
Peter Veenstra
f5e4b9205f
Add workaround for the problem of locking the mouse in windowed mode with X.org 1.20.1. (thanks to DosFreak and ny00123 for their help with testing and debugging)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4177
2018-12-11 15:45:37 +00:00
Peter Veenstra
c7e6b3ca86
Report when a -conf file can not be loaded. Make spacing similar between messages.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4166
2018-10-10 07:00:53 +00:00
Peter Veenstra
c0d49b28e5
Change scan3x to be LINE LINE DARK instead of LINE DARK DARK. This matches pictures of scanlines better and doubles the brightness as the old implementation was rather dark.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4162
2018-09-14 19:59:05 +00:00
Peter Veenstra
1ff6911b3c
Let all multiline comments jump in. Pretty up value blocks
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4160
2018-09-04 13:51:09 +00:00
Peter Veenstra
e524d0f1c2
<erge 0.74-2 documentation changes into trunk
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4157
2018-08-31 17:43:09 +00:00
Peter Veenstra
3f7c70b2ad
Keep it compiling.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4150
2018-08-28 11:59:41 +00:00
Peter Veenstra
b24425dfa4
Give a warning at startup if dpi scaling is detected.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4149
2018-08-28 11:48:53 +00:00
Peter Veenstra
01e0a45694
Use old style call to get window resolution on windows, fixes part of fullscreen being too large with no manifest and dpiscaling active. Can still go wrong though. dpiscaling is just bad news for dosbox overall. disabling it gives bad results as well for big screens..... Add opengl window centering for fullresolution=original..
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4147
2018-08-28 08:30:44 +00:00
Peter Veenstra
31063f868a
disable swap control on all platforms and not just win32. Thanks for testing ny00123
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4132
2018-07-13 12:11:35 +00:00
Peter Veenstra
5bb10db88b
Time keeps on ticking
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4109
2018-05-29 12:58:58 +00:00
Peter Veenstra
54c993669a
Strip spaces properly. Fixes bug #480
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4100
2018-05-06 19:34:22 +00:00
Sjoerd van der Berg
a315f74074
Allow 15/16/32 bpp inputs to the opengl output
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4095
2018-04-16 20:24:30 +00:00
Peter Veenstra
bf45406604
Add 0xA0 (probably ;) ) and improve unhandled message reporting a bit.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4092
2018-04-04 16:25:53 +00:00
Peter Veenstra
48611d6141
Do we even use those timers ? Ticks are initted regardless. Please report problems! (helps with cpu usage on Macs)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4090
2018-04-04 10:05:50 +00:00
Peter Veenstra
81202c7dd3
Limit amount of polls per second a bit on MAC OS X, as it was quite high otherwise.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4089
2018-04-04 09:47:29 +00:00
Peter Veenstra
b681d85d5f
fix compilation on machines that have X11 libraries installed, but use an sdl without X11.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4087
2018-03-23 08:54:24 +00:00
Peter Veenstra
ee8d976ebc
Move dddraw detection to a configure option. Requested by DosFreak.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4056
2017-10-10 13:51:13 +00:00
Peter Veenstra
aa7334503a
Remove dangling comma. (Thanks for spotting it hail-to-the-ryzen)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4052
2017-09-20 19:06:19 +00:00
Peter Veenstra
ed8c16e69a
Add patch 272 as this is how all commandline options are handled.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4044
2017-09-03 18:33:14 +00:00