ripsaw8080
d4c38121c9
Implement timer 2 output on port 61h; fixes SB detection in Abaron. Also implement port 62h with timer 2 output for CGA and Hercules machine types; fixes Frank Bruno's Boxing and Math Maze.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4187
2019-02-04 15:11:50 +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
ripsaw8080
e0a7ede037
Don't generate sound after DMA is masked at end of single-cycle transfer. Prevents issues with some games.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4176
2018-11-23 21:55:12 +00:00
Sjoerd van der Berg
3bde40bc91
Make a dma channel go masked when it reaches end of count without autoinit
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4175
2018-11-19 22:02:13 +00:00
Sjoerd van der Berg
72f8544723
Make autoinit exit work and prevent double single cycle transfers when quitting autoinit
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4174
2018-11-19 18:34:49 +00:00
ripsaw8080
80342e104e
Correct response for keyboard echo command. Fixes Steel Shot.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4170
2018-11-12 16:41:00 +00:00
Peter Veenstra
f522e81d32
Quick fix for dma channel 0 having no page porthandler.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4165
2018-09-29 16:17:36 +00:00
Peter Veenstra
2f09b52de8
Fix typos reported by lintian and change DosBox to DOSBox.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4161
2018-09-14 19:53:55 +00:00
Peter Veenstra
bece575aff
Fix compilation
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4158
2018-09-04 09:43:50 +00:00
Peter Veenstra
53b67e8871
Update logging function to log in debug mode
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4142
2018-08-27 11:08:37 +00:00
Peter Veenstra
0463a8b907
Update tandy sound core to latest (unmerged) mame version. Update tandy sound selection to use the ncr8496 for normal usage and the sn76496 in PCjr mode.
...
Correct noise algorithm. Ignore writes to certain registers if highest bit is not set for ncr8496 mode. Don't reset the noise producing register on all writes, only when changing the type of noise (ncr8496).
Fixes intro sound of KQ2, waves in KQ2 and sound on the title screen of sentinel.
Thanks for the help Lord_Nightmare.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4141
2018-08-27 09:49:07 +00:00
Peter Veenstra
50d6368b14
Work with ints when dealing with abs. Fixes a warning.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4122
2018-06-25 15:30:44 +00:00
Peter Veenstra
3ddf3056e8
Work with ints when dealing with abs. Fixes a warning.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4121
2018-06-25 15:27:39 +00:00
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