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
Sjoerd van der Berg
c4da3879ac
Remove come c++11 stuff and hope I don't break anything
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/branches/mamesound@4036
2017-08-26 05:49:40 +00:00
Sjoerd van der Berg
06b5f723b0
Update automake files for mame files
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/branches/mamesound@4035
2017-08-24 13:01:15 +00:00
Sjoerd van der Berg
5845ca5592
Remove some unneeded c++11 that's not even compiling properly
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/branches/mamesound@4034
2017-08-13 10:38:28 +00:00
Sjoerd van der Berg
7ef98ed1bf
Make the dosbox sound card implementations use the mame files directly
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/branches/mamesound@4033
2017-08-12 09:26:38 +00:00
Sjoerd van der Berg
051c0f3afd
Add emu.h header to make the mame files work without too many changes
...
Small changes to remove or disable timer and update handlers
Add cheap sample rate conversion to the sn76496 emulation
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/branches/mamesound@4032
2017-08-12 09:17:33 +00:00
Sjoerd van der Berg
6c796f4162
Clean mame versions from 10 August 2017
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/branches/mamesound@4031
2017-08-12 09:11:40 +00:00
Sjoerd van der Berg
a6cae1a8f5
Try latest mame sound cores
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/branches/mamesound@4030
2017-08-12 08:58:26 +00:00
Peter Veenstra
286818762d
Repair a logic error introduced in r3816. Now both cases use an appropriate average.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4029
2017-08-08 17:34:08 +00:00
Peter Veenstra
2719d869a0
make increaseticks a separate function and rewrite it for easier reading. The behaviour is identical. No fixes!
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4028
2017-08-08 16:58:36 +00:00