1
0
Fork 0
Commit graph

673 commits

Author SHA1 Message Date
Sebastian Strohhäcker
3aa48444fd dos open file in write-only mode uses append type open (thanks to ripsaw for pointing to this)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3447
2009-07-18 18:42:55 +00:00
Sebastian Strohhäcker
f06f10d3dd fix some umb/dos memory chaining return code (ripsaw, fixes The Legacy with umb disabled)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3446
2009-07-15 17:05:07 +00:00
Sebastian Strohhäcker
a55cf50692 some fixes to the fcb parse functionality, thanks to ripsaw for finding those
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3442
2009-07-09 20:06:57 +00:00
Sebastian Strohhäcker
a4d747c681 respect the open mode for fat/iso drives as well (file read/write error handling)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3430
2009-06-19 18:28:10 +00:00
Sebastian Strohhäcker
08a74bd8e9 set sensible value for flags when creating a file (avoid false error message)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3429
2009-06-18 18:17:54 +00:00
Sebastian Strohhäcker
416a9abf4d fix reading from files opened in write-only mode (should fail) and associated error handling; fixes champions of zulula
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3425
2009-06-13 10:43:00 +00:00
Sebastian Strohhäcker
c0054fe94c lower stack pointer when booting to avoid overwriting loader code (ripsaw, fixes last mission booter)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3424
2009-06-12 20:10:09 +00:00
Sebastian Strohhäcker
a070990e1b in tandy mode remove unused buffer-paragraph reserved for UMB chain (ripsaw), fixes mech warrior tandy
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3420
2009-06-08 17:20:02 +00:00
Peter Veenstra
16d14b78e1 Some year and version numbers
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3410
2009-05-27 09:15:42 +00:00
Sebastian Strohhäcker
177f197961 warning fixes
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3375
2009-04-28 18:47:04 +00:00
Sjoerd van der Berg
4263c9a9df Fix renaming of directories not detecting existence directory
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3363
2009-04-26 19:13:32 +00:00
Peter Veenstra
8516e5d4bf Remove dirent.h dependency.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3359
2009-04-26 18:24:36 +00:00
Peter Veenstra
415a6641c0 Fix non-debug mode
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3347
2009-04-17 11:33:51 +00:00
Peter Veenstra
c3af6d2420 Warnings and style.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3346
2009-04-16 12:28:30 +00:00
Peter Veenstra
92c5771c4d Prepare system to mode current drive to sda. Check for problems with rename.(fixes linux rename). Small warning fixes + style changes.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3345
2009-04-16 12:16:52 +00:00
Sebastian Strohhäcker
b7d4ecdb49 display auto-loaded dos keyboard layout information in console window
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3336
2009-04-01 18:30:41 +00:00
Sebastian Strohhäcker
d3045e71a6 use ioctl audio playing routines when possible, otherwise audio extraction (vista and the likes)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3333
2009-03-29 09:34:18 +00:00
Sebastian Strohhäcker
efe69a5b43 add part of etillite's layout patch (sf patch #2528951) which adds extended layout support for kcl files;
disable/change some untested layouts in the automatic detection


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3329
2009-03-25 21:12:23 +00:00
Sebastian Strohhäcker
871f5e6be4 add some rarely used ioctl subfunctions, improve error checking a bit
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3328
2009-03-24 17:07:30 +00:00
Sebastian Strohhäcker
cb09b0a3ac fix fcb write function with odd behaviour for zero-block writing
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3327
2009-03-23 21:58:05 +00:00
Sebastian Strohhäcker
ce5ef7a254 fix 16bit mixer handling on bigendian machines (sb16 hdma, cdda for cd images), also see sf patches #1284246 and #1989569
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3324
2009-03-19 20:45:42 +00:00
Sebastian Strohhäcker
88d134b3a9 implement temp file creation function when used without a path (see sf bug #2665465)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3317
2009-03-14 16:10:00 +00:00
Sebastian Strohhäcker
2fd9c8f349 use fast filesearch routines for directory cache
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3315
2009-03-04 21:08:22 +00:00
Sebastian Strohhäcker
614cec47ff mscdex check sets some register that isn't mentioned in references (thanks to ripsaw, fixes part of judge dredd)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3312
2009-03-01 15:40:30 +00:00
Sebastian Strohhäcker
e08513aece fix file shortener ID of the drive cache (under rare conditions, bug recently introduced);
use better/faster method to copy the drive cache contents for findfirst, directly related to
the shortname bug found+analyzed by Alexander Katz (sf patch #2194354)


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3310
2009-02-28 11:34:10 +00:00
Sebastian Strohhäcker
ad13c63c32 avoid using stat calls if possible (reusing cached data if needed)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3308
2009-02-24 17:56:55 +00:00
Sebastian Strohhäcker
9725773407 keep drive cache lists sorted on insert to avoid full sort calls
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3307
2009-02-20 14:19:47 +00:00
Peter Veenstra
c90ebb3028 Header updates.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3289
2009-02-01 14:24:38 +00:00
Sebastian Strohhäcker
0b3d75997e fix layout extraction
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3276
2009-01-29 23:17:59 +00:00
Sebastian Strohhäcker
d25f384276 don't append randomized extension for create temporary file dos call (thanks to hal for reporting, fixes warcraft2)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3272
2009-01-24 16:22:55 +00:00
Sebastian Strohhäcker
0589064b99 use layout name for auto kb layout detection, enable it by default;
add secondary hungarian layout check (see sf patch #2528951 by etillite)


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3271
2009-01-23 19:27:54 +00:00
Peter Veenstra
5ba2b294e7 Remove LOG_MSG
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3266
2009-01-19 20:26:12 +00:00
Peter Veenstra
7bc763807e Generate an error for files/directories with double extentions. Fixes some application that depends on this behavior in order to distinguish between arguments
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3265
2009-01-19 20:24:18 +00:00
Peter Veenstra
f47d48ba07 Start stuff with an REFT instead of IRET. Fixes CyberRace.(Beta 2)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3260
2009-01-14 22:16:00 +00:00
Peter Veenstra
6b65170fbd don't compress memory on free. (beta 2)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3258
2009-01-13 19:02:43 +00:00
Sebastian Strohhäcker
0e07688f1a don't accidentally switch to different ioctl/cdda player interface when media status changes
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3254
2009-01-07 22:39:18 +00:00
Peter Veenstra
975a2d4247 Improve find_device so it supports weird input c:NUL and C:/hi. Makes DOSBox even more compatible with turbo 2.01 installer. (no nul file left on linux anymore)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3244
2008-12-11 20:45:43 +00:00
Peter Veenstra
53b9323bd7 Slightly improve stability with some lot's of fileloading game, while being picky on the sound irq timing.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3243
2008-12-11 09:16:31 +00:00
Sebastian Strohhäcker
5822f7af76 display loaded language code when using keyb without parameter
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3239
2008-11-22 14:24:11 +00:00
Sebastian Strohhäcker
1bcab407ae fix cdrom ioctl raw sector reading;
add mci cd audio functionality to cdrom ioctl interface;
add direct audio extraction functionality to cdrom ioctl interface


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3233
2008-11-06 19:31:21 +00:00
Sebastian Strohhäcker
c96d1f063e allow more submappings for the keyboard layouts (skatz, used for e.g. ukrainian layout)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3232
2008-10-30 22:34:17 +00:00
Peter Veenstra
2314183f15 Some warnings.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3227
2008-10-05 14:44:52 +00:00
Sebastian Strohhäcker
e3c5fe0708 avoid (rare) possibility of a crash when corrupted cdrom images are loaded
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3226
2008-09-29 17:50:18 +00:00
Peter Veenstra
30d2c50b9f Give warning on c:/" as well.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3225
2008-09-26 17:21:17 +00:00
Sebastian Strohhäcker
bb9fc62ba8 some warning fixes
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3224
2008-09-23 17:13:18 +00:00
Sebastian Strohhäcker
2468984293 rework error code handling for special extended-open dos call
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3223
2008-09-21 19:42:47 +00:00
Sebastian Strohhäcker
4214b133a0 fix shell file create attribute setting for output redirection (thanks to skatz for noticing)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3222
2008-09-20 14:51:53 +00:00
Sebastian Strohhäcker
c994a9a25e fix some msvc64bit warnings
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3217
2008-09-07 10:55:16 +00:00
Sebastian Strohhäcker
acce294193 ability to automatically select host-matching keyboard layout
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3214
2008-08-31 10:14:31 +00:00
Peter Veenstra
cdbd12696e Map PRN to LPT1.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3202
2008-08-11 13:09:44 +00:00