1
0
Fork 0
Commit graph

3996 commits

Author SHA1 Message Date
Peter Veenstra
2f982daf92 Add some basic arm detection to configure for the raspberry and chromebook users
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4086
2018-03-22 15:05:31 +00:00
Peter Veenstra
99c5b63b3b Add ignores for mame folder
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4085
2018-02-21 19:25:42 +00:00
Peter Veenstra
1862964f77 Correct line ends in emu.h and setting correct svn properties
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4084
2018-02-21 19:18:53 +00:00
Peter Veenstra
0b55d3d3fc Make it compile on VS 2008,as that one does not support the C99 standard library.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4083
2018-02-21 18:58:47 +00:00
Peter Veenstra
5ab2d4cb19 upgrade visual studio file to add MAME sound stuff
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4082
2018-02-21 18:50:52 +00:00
Peter Veenstra
7b3864290b This looks more logical to me
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4081
2018-02-17 20:32:49 +00:00
Peter Veenstra
aa7e86c5e5 use correct datatype with scanf
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4080
2018-02-17 15:25:55 +00:00
Peter Veenstra
ae683cd794 Remove exception specifiers as they are depreciated. Remove some trailing spaces and add some spaces for readability.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4079
2018-02-17 15:16:44 +00:00
Peter Veenstra
618950d13a Enable core inlining by default on configure/make build system
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4078
2018-02-16 08:57:21 +00:00
Sjoerd van der Berg
eb2448316b Fix SBlaster issue with counter not being restarted with an autoinit transfer
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4077
2018-02-13 22:07:41 +00:00
Peter Veenstra
06337c9b13 Declare the init function of the joystick as restartable, so some of the dynamic settings work.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4076
2018-02-08 13:53:13 +00:00
Sjoerd van der Berg
55603e3aa3 Merge the mamesound branch into trunk
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4075
2018-02-07 12:17:02 +00:00
Peter Veenstra
6283b6b5b8 Another non-format warning fixed
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4074
2018-01-31 19:03:49 +00:00
Peter Veenstra
5cb34a071d Correct small error/warning.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4073
2018-01-31 18:21:54 +00:00
Peter Veenstra
f7ae7a1dbe Fix narrowing warnings (errors on clang/freebsd) and an unhandled value in switch. (Part of patch #275 from strageqargo)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4072
2018-01-31 10:21:41 +00:00
Peter Veenstra
aa8bf6041e Declare static functions in header file as static inline, as that reduces warnings quite a bit.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4071
2018-01-30 15:58:28 +00:00
Peter Veenstra
6485a80102 Silence a warning
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4070
2018-01-30 15:57:27 +00:00
Peter Veenstra
06c91d8d0b Beautify CPU_CheckSegments in order to silence a warning (if (A) B; break (which get a misleading warning as break is not part of the if))
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4069
2018-01-30 15:56:33 +00:00
Peter Veenstra
542e068f97 Fix compilation on current clang++
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4068
2017-12-26 19:03:44 +00:00
Peter Veenstra
85b0c547ef Fix output of configure when --disable-opengl is used
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4067
2017-12-13 15:50:55 +00:00
Sjoerd van der Berg
d949fee410 Allow an autoinit transfer to go over into a single cycle transfer
Fixes Paddlers.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4066
2017-12-08 15:31:59 +00:00
Peter Veenstra
75568f7d90 Fix bug where joysticks got disabled after a section restart (when changing parameters while running).
Add code to map circularly restricted analogue input to be mapped to squares.
Add deadzone support in both square and circular mode.
Add deadzone=100 as fake digital device (idea by Hidden Asbestos)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4065
2017-12-04 19:27:31 +00:00
Sjoerd van der Berg
82567c0bd6 Allow for direct changing of 4op chaining without having to rewrite the algorithm mode.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4064
2017-11-20 17:27:53 +00:00
ripsaw8080
34f99e9261 Remove some unnecessary things from prior commits; oops.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4063
2017-10-28 20:30:41 +00:00
ripsaw8080
29bb526d20 Implement update region in mouse driver; only text modes for now. Fixes mouse pointer problems in Microsoft Programmer's Library.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4062
2017-10-28 19:49:11 +00:00
ripsaw8080
e24b034d20 Add patch #265 to correct parameters and clock rate for some EGA modes. Also apply the yellow->brown fix to EGA text modes as well.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4061
2017-10-28 19:48:26 +00:00
ripsaw8080
9857a92c58 Improve MSCDEX GetDirectoryEntry function: skip associated files, and handle HSF differences in canonicalized structure. Also combine Copyright, Abstract, and Documentation filename functions.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4060
2017-10-28 19:47:09 +00:00
Peter Veenstra
eca070fce9 silence warning 4018, unsigned char/unsigned char => (signed) int (thanks wjp)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4059
2017-10-10 15:07:25 +00:00
Peter Veenstra
21a0040650 Move definition of LocalFile to header file, requested by bruenor41, makes sense to make it available at a larger scope.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4058
2017-10-10 14:21:31 +00:00
Peter Veenstra
7391ee7c25 Fix some issues with the detection of the configure option
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4057
2017-10-10 14:03:42 +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
Sjoerd van der Berg
339fb9f808 Fix address calculation for 16bit DMA transfers on GUS
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4055
2017-10-03 19:49:52 +00:00
Peter Veenstra
c27b446d67 empty is always constant, while size can be linear on older gcc versions. (wjp)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4054
2017-09-26 07:50:31 +00:00
Peter Veenstra
32f0049408 Add trivial speed up to debugger.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4053
2017-09-25 15:53:20 +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
254ee02ae0 We don't use MFC, maybe this helps the compilation guides of DosFreak.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4051
2017-09-14 20:36:15 +00:00
ripsaw8080
1fb8141175 Zero INT 68h vector on CGA machine type. Helps default speed of Popcorn game.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4050
2017-09-11 18:03:24 +00:00
Peter Veenstra
ba9c9e1ad6 Fix bug 467.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4049
2017-09-11 10:00:00 +00:00
ripsaw8080
4aa821d0e6 Implement waiting for retrace in VBE functions. Remove range checks in protected mode functions, consistent with UniVBE and other VBE implementations. Fixes hang and graphics glitches in Jack Orlando.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4048
2017-09-10 11:29:34 +00:00
ripsaw8080
5c0b03c10c Process repeated reset commands without delay. Fixes MPU detection in several games. Correct ACK for reset: entirely absent with dumb setting (mpu401=uart), and also absent when returning to intelligent mode from UART mode.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4047
2017-09-10 11:25:45 +00:00
ripsaw8080
451d07d8da Point DOS redirected interrupts at a plain IRET as in real DOS. Prevents erroneous detection of an active debugger, which for example fixes sound in Microleague Football 2.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4046
2017-09-10 11:22:52 +00:00
ripsaw8080
42a0b61a65 Remove error exit for unknown functions of INT 17h. Fixes a DOS shell program.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4045
2017-09-10 11:20:35 +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
Peter Veenstra
da7ecfd83a Change scope of ratioremoved for logging. Introduce a hardcoded limit of 2000000, if no limit was specified in the options file. Thanks for all the help with loggging: leileilol, James-F, sndwv, BBP and P4R4D0X.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4043
2017-09-02 11:05:10 +00:00
Peter Veenstra
a2d1450246 Introduce a penalty for a lot of idling, which changes the up and downscale algorithm, as the chance of having errors in the input data is a lot larger when there is a lot of idling. The upscale has its strength reduced and the downscale has it increased.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4042
2017-09-02 10:52:53 +00:00
Peter Veenstra
9be90ad587 When downscaling multiple times in a raw, ensure a minimum amount of strength
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4041
2017-09-02 10:23:38 +00:00
Peter Veenstra
cfe3bd2ebc Lower the max ratio limit slightly. Add a new ratio limit when the cycles are sufficiently high.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4040
2017-09-02 10:12:20 +00:00
Peter Veenstra
8d5d05846b Introduce a random sleep period, which activates after 3 short sleeps in one frame.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4039
2017-09-02 09:49:19 +00:00
Peter Veenstra
33da572d9e Change adaptive rate parameters slightly, so that is a less jumpy
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4038
2017-09-02 08:13:49 +00:00
Peter Veenstra
616784c385 Increase prebuffer slightly, as certain things (create new surfaces) take a longer time nowadays.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4037
2017-09-02 08:13:13 +00:00