1
0
Fork 0
Commit graph

218 commits

Author SHA1 Message Date
Patryk Obara
e1286efca9 Remove SDL_cdrom 1.2 based CD-ROM interfaces
This removes a feature of mounting physical CD-ROMs in DOSBox.

SDL 2.0 removed SDL_cdrom from supported libraries, so to bring this
code back, either the functionality will need to be reimplemented or
SDL_cdrom code modernized for SDL 2.0, and bundled with the repo (the
same way SDL_sound is already bundled).
2019-12-18 22:31:19 +01:00
Patryk Obara
5f9ac5eeab Remove code ifdefed for OS/2
Cleanup before replacing SDL1.2 with SDL2.

OS/2 support was introduced in DOSBox in March 2006.  OS/2 reached EOL
in December 2006.

As of 2019, OS/2 is being continued by proprietary 32-bit only ArcaOS,
although there is no official SDL2 support, despite pledges from SDL2
maintainers.
2019-12-09 16:27:11 +01: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
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
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
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
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
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
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
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
6cf39c1fc6 Years update
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4021
2017-05-30 11:35:08 +00:00
Peter Veenstra
62a8ce4897 Frisbee compilation fix.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4007
2017-03-06 16:25:39 +00:00
Peter Veenstra
a3345eed24 Spaces in LOG_MSG and some at the end of the line.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3999
2016-10-02 14:12:32 +00:00
Peter Veenstra
9dc8581f4a Change name of the pause DOSBox key to avoid confusion.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3989
2016-06-24 21:21:36 +00:00
Peter Veenstra
36f12b5670 Fix restarting when in folder with spaces. Quotes aren't allowed on my system.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3981
2016-05-03 17:58:44 +00:00
Peter Veenstra
a03d9faf91 Add some more cases to the Alt-tab detection. It can still mess up, but this should help with a lot of cases. Thanks for testing eightbitbubsy.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3929
2015-08-17 14:07:01 +00:00
Peter Veenstra
0316809ac9 Some more changes by Jochen
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3924
2015-07-09 06:25:46 +00:00
Peter Veenstra
b0c72903e4 Enable SETMODE_SAVES_CLEAR for now. Fix compilation with SETMODE_SAVES set to 0. Use safe_strncpy for resolution lines.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3922
2015-07-07 11:06:27 +00:00
Peter Veenstra
0f4c92ca32 Year update.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3878
2015-01-06 14:40:32 +00:00
Peter Veenstra
0bbd0a09ec Workaround 2 issues, when starting the keymapper with output=opengl,aspect=true on windows.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3871
2014-10-14 14:54:41 +00:00
Peter Veenstra
01a09d7086 Improve the results of the windowed resolution calculation so that the one off errors are gone.
Create a small wrapper function around SDL_SetVideoMode, so that we don't set the same mode twice. 
Both changes benefit people who record footage with external recording software and it speeds up mode video mode changes. (especially with aspect=true)


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3863
2014-06-18 14:39:49 +00:00
Peter Veenstra
14ac0f241f Stop rethrowing the error, as SDL doesn't know what to do with it anyways. Fix a couple of formatting related warnings/errors.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3857
2014-01-12 13:41:01 +00:00
Peter Veenstra
8582cfb2e9 Extend fullresolution=0x0 to more OSes. Tested on Windows, Linux and Mac OS X. Thanks for the hint about SDL_GetVideoInfo ny00123
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3827
2013-03-25 20:07:42 +00:00
Peter Veenstra
2cd140bed2 Replace NV_PixelDataRange with ARB_PixelBufferObject extension. Thanks gulikoza
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3824
2013-03-18 19:52:41 +00:00
Peter Veenstra
2fea508f7f Year update
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3812
2013-01-15 09:03:13 +00:00
Peter Veenstra
30577ca990 Restore Icon and title after restarting the graphics subsystem.
(tested on a pc with broken directx surface support)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3783
2012-06-26 12:38:44 +00:00
Peter Veenstra
84b8100dbb Add cmd-q => exit for Mac OS X
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3777
2012-01-27 18:38:49 +00:00
Sebastian Strohhäcker
77970d28cd small additions: vga override, lazy fullscreen switching, pci read override
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3768
2011-12-11 17:30:50 +00:00
Peter Veenstra
a7af902f2f Even our comments and status messages have less bugs now (jomalin)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3764
2011-12-08 12:47:04 +00:00
Peter Veenstra
2bca1b7ecb Fix compilation on linux. Thank salty
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3754
2011-11-01 16:31:30 +00:00
Peter Veenstra
1a8afec751 Disable sticky keys in fullscreen mode. (pressing shift 5 times gives a menu)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3753
2011-10-30 15:06:40 +00:00
Peter Veenstra
999f33de27 Update year. Remove CVS tags
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3700
2011-04-26 09:34:55 +00:00