1
0
Fork 0
Commit graph

851 commits

Author SHA1 Message Date
Peter Veenstra
fdc5a06200 No irq generating when masking the IRQ channel. Fixes later sci games and bug #482.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4113
2018-06-11 14:51:22 +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
671ba9915e Fix comparison and a warning
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4107
2018-05-29 08:59:49 +00:00
Peter Veenstra
129613c419 Correct extension, so that the .h file is part of the source package as well
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4099
2018-05-06 18:31:09 +00:00
Peter Veenstra
84eaccc517 slight refactoring, so that it is easier to correctly increase TICK_SHIFT above 16.
Maybe 24 will be a nice value, judging from the tests.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4094
2018-04-16 12:52:49 +00:00
Peter Veenstra
fd7f929f9e Updated stereo before using it.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4093
2018-04-09 10:47:34 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
Peter Veenstra
1c786cccde Correct oscillator frequency used in the gameblaster. Thanks OPLx, Great Hierophant and NewRisingSun. Reported on VOGONS: 38350.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4010
2017-05-02 14:14:46 +00:00
Sjoerd van der Berg
c4ed80ca35 Fix 16bit sample reading from gus memory
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4004
2017-01-13 17:38:46 +00:00
Sjoerd van der Berg
a60b983712 Rewrite some mixing code to fix issue with equal rates having aliasing issues
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4002
2017-01-03 21:36:37 +00:00
Sjoerd van der Berg
22fff83790 Rewrite gus emulation a bit to make things a bit clearer
Remove the automatic amplification
Slight rounding offset in the panning tables to match original gus tables

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4001
2017-01-03 21:32:31 +00:00
ripsaw8080
7cd00b3d84 Implement an obscure behavior of the VGA DAC, similar to what was done for Star Control 2. Fixes wrong colors in Planet Soccer/Football.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4000
2016-10-03 09:49:59 +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
Sjoerd van der Berg
4c4f232473 XGA_DrawLineBresenham() does not properly sign extend values
https://sourceforge.net/p/dosbox/patches/269/ patch by Tom B

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3992
2016-09-04 18:47:39 +00:00
ripsaw8080
ea40599a4b Map inactive video memory regions as empty rather than filled with RAM. Fixes later version of Sargon 3 on color machine types.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3974
2016-04-05 05:19:06 +00:00
ripsaw8080
9035510f06 Take into account that speaker might be disabled in settings. Fixes bug #434.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3967
2016-02-14 03:59:17 +00:00
ripsaw8080
26dd1635b5 Add support for Print Screen key and interrupt. The keypress allows Descent 1 and 2 ingame screenshot feature to be used, the keypress and interrupt allow the Horror Hotel (TSR text adventure) hotkey to work, and the compatible interrupt handler location fixes a game bug in The Forgotten Land.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3961
2016-02-05 13:41:22 +00:00
ripsaw8080
18f5c4c565 Stop speaker output after command write, pending counter write. The hacky implementation will serve until timer/speaker is improved. Fixes constant speaker tone in Arnie 2 and Chopper Duel when using SB sound, also Titus The Fox title screen when using speaker sound.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3960
2016-02-05 13:32:48 +00:00
ripsaw8080
fe46abe6ff Speaker init in BIOS causes samples to be generated at startup, so for now move it to hardware.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3959
2016-02-05 13:29:17 +00:00