1
0
Fork 0
Commit graph

3970 commits

Author SHA1 Message Date
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
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
Peter Veenstra
1e72be6a96 Otherwise debugging makes no sense.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4027
2017-08-06 14:22:01 +00:00
Peter Veenstra
df166ff0a4 As we zero out the memory on startup for a long time now. This should not exit anymore. Leaving the warning for now.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4026
2017-08-06 14:21:03 +00:00
Sjoerd van der Berg
cbab462c97 Fix issue with debugger not executing dosbox callbacks in stepover
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4025
2017-07-02 08:23:47 +00:00
Peter Veenstra
dc5b586c28 Forgot to initiliaze a field. Thanks Mok
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4024
2017-06-19 09:09:59 +00:00
ripsaw8080
df0fa99d88 Correct an oversight in I/O exceptions. Fixes bug #460.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4023
2017-06-15 16:04:44 +00:00
Peter Veenstra
085c7a2f18 Update mixer volume calculations for the SBPRO1,2 and SB16. Thanks for the measurements James-F.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4022
2017-06-08 17:32:17 +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
c2b7030e8e Make IRQ generation in Write_MCR consistent with ComputeInterrupts, when op2 changes. Rename variables for clarity.
Thanks for the report Arrigo (vogons: 54049)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4020
2017-05-27 14:31:09 +00:00
Peter Veenstra
e4d868f93d Revert mixer to request data in the device rate instead of the mixer rate.
Fixes bug #457.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4019
2017-05-15 17:37:05 +00:00
Peter Veenstra
cbfeb1fdc3 update midconfig helplines to reflect namesupport.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4018
2017-05-10 18:47:37 +00:00
Peter Veenstra
d93ef7f826 Add support for selecting midi devices by name to win32 midi. Rewritten patch of rcblanke.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4017
2017-05-10 18:35:36 +00:00
Peter Veenstra
00ae500d59 Add experimental name support to configmidi for coremidi
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4016
2017-05-10 18:32:53 +00:00
Peter Veenstra
f5c26251c7 Silence a warning
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4015
2017-05-10 18:32:02 +00:00
Peter Veenstra
b944c50d10 Turn logging off again.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4014
2017-05-10 09:29:02 +00:00
Peter Veenstra
7f15ccffb2 Add some spaces for readability and update the position after forwarding to hopefully improve sound in GOB2.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4013
2017-05-10 09:03:17 +00:00
Peter Veenstra
6bc004c311 Lower default adlib volume with 2.5dB after measurements by James-F.
( https://www.vogons.org/viewtopic.php?f=46&t=49683 )

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4012
2017-05-08 17:20:37 +00:00
Peter Veenstra
c82dcf6c67 Not sure how that ended up there.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4011
2017-05-08 16:29:51 +00:00