1
0
Fork 0
Commit graph

4209 commits

Author SHA1 Message Date
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
ripsaw8080
e01a04aee9 Flag handling (mostly undocumented behavior) for normal core: overflow flag for divide instructions, zero and sign flags for integer multiply instructions. Fixes A320 Airbus and Perfect General.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4098
2018-05-03 17:11:36 +00:00
ripsaw8080
630b9befb5 ANSI emulation is activated for the session when an escape sequence is encountered other than those used by internal messages. Fixes LucasArts setup programs (Bug #458) provided that ANSI emulation is not activated.
Compatible scroll fill for ANSI emulation.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4097
2018-05-03 16:49:48 +00:00
ripsaw8080
c7ced14d56 Support rarely used FCB feature: open file with search mask. Fixes Buckaroo Banzai.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4096
2018-05-03 16:08:53 +00:00
Sjoerd van der Berg
a315f74074 Allow 15/16/32 bpp inputs to the opengl output
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4095
2018-04-16 20:24:30 +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
bf45406604 Add 0xA0 (probably ;) ) and improve unhandled message reporting a bit.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4092
2018-04-04 16:25:53 +00:00
Peter Veenstra
a4373c0995 Add basic support for INT 13 call 15. Used by korean powerdolls to detect harddrive.
SF bug #477

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4091
2018-04-04 11:14:03 +00:00
Peter Veenstra
48611d6141 Do we even use those timers ? Ticks are initted regardless. Please report problems! (helps with cpu usage on Macs)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4090
2018-04-04 10:05:50 +00:00
Peter Veenstra
81202c7dd3 Limit amount of polls per second a bit on MAC OS X, as it was quite high otherwise.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4089
2018-04-04 09:47:29 +00:00
Peter Veenstra
908b9ec03d Convert variable stuff to vector (breakpoints one day as well)
Keep track of whether the variable did actually change and skip expensive draw calls if nothing changed.
Skip generation of temporary copy by switching to ++i instead of i++ for non basic data.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4088
2018-03-26 17:50:37 +00:00
Peter Veenstra
b681d85d5f fix compilation on machines that have X11 libraries installed, but use an sdl without X11.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4087
2018-03-23 08:54:24 +00:00
Peter Veenstra
2f982daf92 Add some basic arm detection to configure for the raspberry and chromebook users
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4086
2018-03-22 15:05:31 +00:00
Peter Veenstra
99c5b63b3b Add ignores for mame folder
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4085
2018-02-21 19:25:42 +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
5ab2d4cb19 upgrade visual studio file to add MAME sound stuff
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4082
2018-02-21 18:50:52 +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
Peter Veenstra
ae683cd794 Remove exception specifiers as they are depreciated. Remove some trailing spaces and add some spaces for readability.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4079
2018-02-17 15:16:44 +00:00
Peter Veenstra
618950d13a Enable core inlining by default on configure/make build system
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4078
2018-02-16 08:57:21 +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
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