Patryk Obara
4add527371
Fix wrong function name in the exception log
...
Bug report: https://sourceforge.net/p/dosbox/bugs/518/
2019-12-04 06:11:01 +01:00
Patryk Obara
cdc193170c
Merge branch 'svn/trunk' r4293
2019-11-21 20:53:21 +01:00
Peter Veenstra
8cb2e08f31
Refinements of commit 4291, so that precission can be specified as well and less fixed defines are used
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4292
2019-11-19 16:16:06 +00:00
Peter Veenstra
01fe58047e
Try to solve the Bitu formatting warning on all supported platforms (both 32 and 64 bit). Did a few places. Still a lot to go. Changed default display of Bitu to be unsigned instead of signed.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4291
2019-11-18 21:08:57 +00:00
Patryk Obara
ea06a145b6
Fix several printf format warnings
2019-11-16 04:31:19 +01:00
Patryk Obara
8824504474
Silence several sometimes-uninitialized warnings
...
GCC compiler reports these as:
warning: variable (…) is used uninitialized whenever switch default
is taken
2019-11-16 04:31:19 +01:00
Patryk Obara
97ded39c2e
Remove unused variable
2019-11-16 04:31:19 +01:00
Patryk Obara
d63849ea72
Remove unused function
2019-11-16 04:31:19 +01:00
Patryk Obara
41126f8ff9
Fix unused-function warning
...
This function is used only inside x86 ifdef, so move it to prevent the
warning. Also, use this opportunity to improve readability a bit.
2019-11-16 04:31:19 +01:00
Patryk Obara
ce1deb1516
Silence a number of switch warnings
...
Avoid "default" case when only 1-2 enumarations are missing.
2019-11-16 04:31:19 +01:00
Patryk Obara
4a01b6a00d
Prevent potential null pointer dereference
...
This null-check resolves a potential issue detected by static analysis.
It might be the case, that crash never happens due to the way this
static function is used at the moment, and because DYNFLG_CHANGED is being
cleared in dnew->genreg->Clear() few lines before, but the crash might
still happen if initial state of flags is inconsistent or surrounding
code will be changed even a little bit.
This nullcheck makes the code more robust at no performance penalty.
2019-11-02 19:29:03 +01:00
Patryk Obara
9099f0620e
Merge branch 'svn/trunk'
2019-10-20 07:15:43 +02:00
Peter Veenstra
5b690f936a
fix externals.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4274
2019-10-19 20:08:46 +00:00
Patryk Obara
acbef2169d
Merge branch 'svn/trunk'
2019-10-17 18:36:45 +02:00
Peter Veenstra
6ac1bcf9e7
Fix boundary checks for word/dword memory access. Speeds up dynamic 32 bit core a bit (thanks jmarsh).
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4272
2019-10-16 14:20:00 +00:00
Patryk Obara
e4044f7d8d
Merge branch 'svn/trunk'
2019-10-10 18:43:08 +02:00
Peter Veenstra
26a9f75b50
A little cleanup and small speed up (jmarsh)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4271
2019-10-10 15:54:19 +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
Patryk Obara
08925b24a4
Merge branch 'svn/trunk'
2019-09-30 22:21:21 +02:00
Peter Veenstra
fe177b4136
Add 64-bit support to dynamic_x86 core from vogons topic 67673. Thanks jmarsh!
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4260
2019-09-30 18:30:11 +00:00
Patryk Obara
b62a637157
Import svn:ignore props to .gitignore files
2019-09-15 20:34:57 +02:00
Sjoerd van der Berg
bca40f5561
Fix flag behaviour of several shift/rotate instructions, cause exceptions and fix potention 'pop ss' problems
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4256
2019-09-08 12:42:21 +00:00
Peter Veenstra
05f15ac4c0
Correct a little bug that caused graphics corruption in win95 with s3 driver. (jmarsh)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4252
2019-06-30 11:31:09 +00:00
Peter Veenstra
5888c05dd1
Add some missing va_ends. Reported by jmarsh
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4227
2019-05-23 12:51:10 +00:00
Peter Veenstra
fa8b4c5d00
Move all stack alignment operations into one place and some optimalisations (thanks jmarsh)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4226
2019-05-20 19:10:56 +00:00
Peter Veenstra
2aaa951fd4
Rewrite pop_ev so it can trigger pagefaults again. Fixes win3.11. (jmarsh)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4219
2019-04-26 14:06:11 +00:00
ripsaw8080
bbea47d541
Let dynamic core recompile interrupt instructions in non-debug builds. Can help software with many INTs, such as compiled BASIC, run faster.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4213
2019-04-20 22:43:36 +00:00
Peter Veenstra
5c8e9264d1
stop storing raw modrm value, as it isn't used any more. Should save an instruction on each get_modrm call.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4208
2019-04-19 17:07:26 +00:00
Peter Veenstra
ea4dd721b5
use decoded modrm instead of raw value. so we don't need to store it.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4207
2019-04-19 17:05:47 +00:00
Peter Veenstra
dc6a76d354
Store whether generated code is 16 or 32 bit, so this information can be used when checking for self modifying code. Some code is identical except for being 32 or 16 bit. Fixes some hard to reproduce problems (with small codeblocks). Thanks jmarsh!
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4206
2019-04-19 12:16:14 +00:00
ripsaw8080
3978e05909
Improve prefetch and simple cores to not switch to normal core on trap execution. Fixes the demo version of Prehistorik 2 and similar cases that use the trap flag and prefetch tricks. Thanks NewRisingSun.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4201
2019-04-01 22:06:11 +00:00
ripsaw8080
64d25c4be4
Acknowledge mouse interrupt before entering user routine; fixes sound stutter during mouse movement in Eye of the Beholder III and Casino Tournament of Champions. Clear button counters in the mouse driver reset function; prevents unintended skipping of intro in MechWarrior and others.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4188
2019-02-04 15:15:58 +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
Peter Veenstra
1960a815e1
Improvements for compiling dynrec core in 64 bit mode on windows. Thanks for the help PgrAm and kjliew.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4171
2018-11-16 12:40:37 +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
823242560c
Commit fix by M-HT.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4119
2018-06-14 21:06:50 +00:00
Peter Veenstra
89eddef2f7
cleanup unfinished and unworking core stub
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4118
2018-06-13 09:26:06 +00:00
Peter Veenstra
e20cc10750
Add 64-bit ARM (ARMv8, little endian) by M-HT. Thanks M-HT!
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4117
2018-06-13 09:24:01 +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
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
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
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
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
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
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
ripsaw8080
d6e983b08d
Handle errant IRQs as a real BIOS does. Fixes Tandy DAC in Chuck Yeager's Air Combat. Also remove r3263 workaround, as it's no longer needed.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4009
2017-05-01 15:32:29 +00:00
Peter Veenstra
397e38a73a
Improve readability of auto cycles information bit.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3997
2016-09-20 14:59:06 +00:00
Peter Veenstra
d94dc4834e
zero extend data, fixes LLVM compile where the called function does not extend the parameters. Thanks guiikoza. Fixes at least vesatest.exe of lsl7
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3990
2016-07-23 20:31:25 +00:00