Patryk Obara
79fe83ede6
Merge branch 'svn/trunk'
2019-10-10 00:16:04 +02:00
Peter Veenstra
e1d8eb67a4
Use fabsf when return value is a float. Small warning fix.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4269
2019-10-09 20:49:21 +00:00
Patryk Obara
a323e173c2
Merge branch 'svn/trunk'
2019-10-03 23:44:48 +02:00
Peter Veenstra
60204619d0
- Fix url to forum.
...
- Fix Bit8u instead of char weirdness for imageDisk (dreamer_)
- Give device_t a virtual empty destructor so some warning program
doesn't go crazy.
- Give the code that moves the Z drive its own function for readability.
- Give sizes arrays default values again for warning program.
- Rewrite IMGMOUNT in order to exit early for clarity and attempt
to group things together.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4267
2019-10-03 20:03:43 +00:00
ripsaw8080
7f979234f8
Bit 2 of video status register always set. Satisfies a strange test in Blues Brothers, thus preventing slow animations.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4266
2019-10-03 16:35:44 +00:00
Patryk Obara
a4a6bed5c1
Merge branch 'svn/trunk'
2019-10-01 18:11:50 +02:00
Peter Veenstra
6243fa9711
Some more cleanups and memleak fixes.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4265
2019-10-01 13:05:08 +00:00
Peter Veenstra
a919e33aec
Pick some lowhanging fruit. (some memory leaks and unused variables)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4264
2019-10-01 12:11:09 +00:00
Patryk Obara
b62a637157
Import svn:ignore props to .gitignore files
2019-09-15 20:34:57 +02:00
Peter Veenstra
25e01bd042
Fix bug 512, reported by philipp. (checking wrong variable to see if malloc was a success)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4254
2019-09-02 16:50:30 +00:00
Peter Veenstra
f74067c2b0
Use size_t when dealing with strings and strlen. (Alexandre)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4232
2019-06-19 08:11:01 +00:00
ripsaw8080
139456b2d0
Make effect of I/O delay more consistent as cycles run out. Prevents flickering in NBA Jam Tournament Edition at higher cycles, and also improves automatic speed limiting in Quake.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4215
2019-04-20 22:59:42 +00:00
ripsaw8080
7f7e5f34ac
Ignore unrequested data in intelligent mode; fixes Roland sound in Krusty's Fun House.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4192
2019-02-21 14:53:31 +00:00
ripsaw8080
88bc1944e8
Reset followed by switch to UART mode should take some time; fixes MPU detection in F29 Retaliator and Hover Force. Also minimize reset delay, which helps with MPU detection at higher cycles in games that prefer less delay, such as Bureau 13.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4190
2019-02-04 15:18:49 +00:00
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