Peter Veenstra
1521b7ad7d
Fix bug #519
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4296
2019-11-26 16:52:04 +00:00
Peter Veenstra
f1608a2509
Fix bug #520
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4295
2019-11-26 15:30:53 +00:00
Peter Veenstra
f923a8e644
a=a can trigger warnings as well. This should be hopefully do the trick.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4294
2019-11-22 07:28:27 +00:00
Peter Veenstra
db51b63554
Remove some old code and do an a=a to trick a compiler in non-debug mode
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4293
2019-11-20 07:17:12 +00: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
Peter Veenstra
e2e974336a
Typo's.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4290
2019-11-15 18:38:02 +00:00
Peter Veenstra
a533565297
Init some more fields in the constructors, else uninited stuff gets copied in copy constructors.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4289
2019-11-15 18:37:20 +00:00
Peter Veenstra
96bdc056ee
Fix double to be (or not to be ;)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4288
2019-11-12 19:40:43 +00:00
Peter Veenstra
b0d42ff52a
update configure -h output for dynamic x64
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4287
2019-11-12 17:55:51 +00:00
Peter Veenstra
1eac5c516c
Update INSTALL file (modified version of patch #283 by dreamer_)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4286
2019-11-12 17:54:55 +00:00
Peter Veenstra
fab69cb4c7
Stuff written to the console needs a cariage return since 4114. Thanks for spotting this dreamer_.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4284
2019-11-12 13:31:23 +00:00
Peter Veenstra
a5d561a3ad
Fix some issues with commit 4282. Thanks dreamer_ and jmarsh.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4283
2019-11-12 12:25:43 +00:00
Peter Veenstra
92da7c45ef
Switch to a different way to calculate the table offsets. Thanks jmarsh
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4282
2019-11-11 17:23:05 +00:00
Peter Veenstra
8f3474ecfd
Make it possible to compile without CoreMIDI and CoreAudio on Mac OS X using a non-Apple compiler. Give some feedback to user in this case. (modified version of patch by krcroft with input from jmarsh, Dominus and Qbix)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4281
2019-11-10 14:50:11 +00:00
Peter Veenstra
a2e7d257e5
GenerateDMASound can generate sound even with input size is 0, so lets not do that. Might even be an option to skip this call entirely depending on the sblaster configuration (not sb.dma.autoinit)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4280
2019-11-06 08:59:40 +00:00
Sjoerd van der Berg
e20e8fa92c
Some dma changes to make the world a better place
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4279
2019-11-02 11:21:48 +00:00
Sjoerd van der Berg
95ac285db1
Fix sblaster autoinit restart and improve the auto into single cycle transfer handling
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4278
2019-10-31 20:00:08 +00:00
ripsaw8080
0622d45e38
Remove cases not needed after r4276
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4277
2019-10-29 14:39:02 +00:00
ripsaw8080
b79f76ad4d
Remove defunct code related to the initial display mode of the system BIOS during video mode changes.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4276
2019-10-27 19:08:57 +00:00
Peter Veenstra
2bf589f54f
Make it easier to compile 64 builds with visual studio, (see comment for drawback).
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4275
2019-10-20 20:26:10 +00: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
Peter Veenstra
276b187181
Make frameskip an integer.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4273
2019-10-19 19:52:24 +00: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
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
Peter Veenstra
195484d5e9
Change OpenGL drawing routine to draw one big oversized TRIANGLE instead of a QUAD in order to work around an Nvidia specific scaling bug. Fixes bug #515 .
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4270
2019-10-09 20:53:35 +00: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
Peter Veenstra
19478d45f5
Fix several logic errors with regards to deleted directories.
...
Should fix that directories with the same length as a deleted directory had some small issues.
Also blocks the creation of files in directories marked as deleted.
Small speed up to MakeDir, so it doesn't rely on mkdir when a directory is created inside a deleted directory.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4268
2019-10-09 20:46:40 +00: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
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
Peter Veenstra
ca20ca3a3e
use delete instead of free, although this code is never really used, as the running process should have been replaced at that point.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4263
2019-10-01 11:11:57 +00:00
Peter Veenstra
5803ea448c
missed one
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4262
2019-10-01 06:14:42 +00:00
Peter Veenstra
4046dd8229
These actually use float as input.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4261
2019-09-30 18:43:28 +00: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
Peter Veenstra
dda3b2a51f
Rename bios tester to biostest and make it debug only to avoid people trying to load real bioses.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4258
2019-09-10 11:16:20 +00:00
Sjoerd van der Berg
766a63ac33
Add simple program that allows you to boot into a bios image for running cpu tester bios
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4257
2019-09-08 12:48:57 +00: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
Sjoerd van der Berg
53666d5f27
Extra DIR sorting options patch by Saga Musix
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4255
2019-09-08 12:25:41 +00: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
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
4ffc75be3c
Add wrapping here as well.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4251
2019-06-27 09:12:41 +00:00
Sjoerd van der Berg
e48149278e
Changes to allow for mingw i686 to compile a new zmbv.dll
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4247
2019-06-25 20:44:00 +00:00
Peter Veenstra
0abb573167
Implement simple access control for reading and writing files that are accessable from within DOSBox. Overlay not yet tested, hence not part of this commit.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4245
2019-06-25 17:53:05 +00:00
Peter Veenstra
551ee5b2fd
drive => i_drive
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4242
2019-06-25 14:51:25 +00:00
Peter Veenstra
ad88f982c0
Add some size checks when accessing Drives[], mostly needed when DOS_DRIVES is not set to 26, make size parsing not go outside the target array.
...
Let's not try to assign a drive in the switchlist to a too high number.
Don't access imagelist for drives >D when unmounting.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4239
2019-06-25 06:12:13 +00:00
Peter Veenstra
e90de61263
Create fopen_wrapper so we can filter out specific directories, which DOS games should have no access to
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4238
2019-06-24 20:09:59 +00:00
Peter Veenstra
46babe5666
End of environment is a bit shorter. Very old code, lets see what breaks.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4235
2019-06-20 09:22:17 +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