1
0
Fork 0
Commit graph

687 commits

Author SHA1 Message Date
Peter Veenstra
1c5f8442c7 Fix regression in mount suggestion in imgmount. Thanks ripsaw
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3520
2009-12-29 13:49:29 +00:00
Peter Veenstra
3cbf1c42e5 Rename dosprog to dosprogs to suggest more than one game/application can be stored in there
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3519
2009-12-28 10:25:30 +00:00
Peter Veenstra
526a1b01ee Add 0xbd to allow table. Fixes offensive (ripsaw). Add some code to prevent stack corruption on long paths
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3515
2009-12-14 18:52:34 +00:00
Peter Veenstra
b4313146e2 Give an error class in some cases. Fixes Roadhog. (ripsaw)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3504
2009-11-30 08:31:17 +00:00
Peter Veenstra
c4053d3d98 Return false when pausing audio when nothing is playing, fixes redneck rampage multiple track playing (ripsaw8080). Silently refuse to play datatrack. Fixes HOMM2.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3500
2009-11-11 19:37:15 +00:00
Peter Veenstra
1a4ca44854 Make parser a bit more flexible, by allowing all compiled sdl_sound formats. (thanks Alex)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3496
2009-11-09 15:49:20 +00:00
Peter Veenstra
21f8b9d18c Don't overwrite the interrupt table. (whooooops)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3495
2009-11-08 08:52:14 +00:00
Peter Veenstra
b10cd0e073 Add very simple and not entirely correct upcase table. Makes doswin32 happy.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3488
2009-10-28 21:45:12 +00:00
Sebastian Strohhäcker
1c410c147e use calling application's code segment rather than psp value for some old-style (dos 1.0) terminate functions (ripsaw, fixes fortune teller)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3476
2009-10-04 14:28:07 +00:00
Peter Veenstra
599de7a67f Make it clear we don't support it, else we get detected as win95.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3471
2009-09-25 20:51:21 +00:00
Sebastian Strohhäcker
25c7518a8c backwrap directory iterator variable for iso drive in free iterator function (thanks to rcblanke; fixes armored fist 2 installer on an iso drive)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3467
2009-09-22 21:48:08 +00:00
Sebastian Strohhäcker
75d7ee65e9 add special int10 scanline modifying function (hal, fixes some mz700 emulator and others)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3463
2009-09-06 19:25:34 +00:00
Peter Veenstra
f344153356 Array overflow. Borland c++ 4.5 installer. (thank you for the report luagnome)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3459
2009-08-31 18:03:08 +00:00
Peter Veenstra
15029fe034 Fix input in defor. (Buggy handler, but worked in DOS)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3453
2009-07-31 16:41:37 +00:00
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