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
Peter Veenstra
baade2ff3f
signed vs unsigned
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3199
2008-08-11 12:51:11 +00:00
Sebastian Strohhäcker
c78a9f6c03
fix/work around some gcc Wall warnings
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3192
2008-08-06 18:34:21 +00:00
Sebastian Strohhäcker
d204f38ea5
support non-standard additional keyboard layouts
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3174
2008-06-30 20:32:37 +00:00
Peter Veenstra
8293b1fab6
Correct dosbox internal startup time.
...
Give correct errorcode for 5c (Beta1)
Do some input checking and give errorcode for 68 (Beta1 fixed)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3164
2008-05-28 09:53:31 +00:00
Sebastian Strohhäcker
dbb69e15a0
fix Fable cdrom installer (odd harddrive check)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3161
2008-05-25 17:24:59 +00:00
Sebastian Strohhäcker
65e9118e27
fix iso-name parsing for special long file names
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3160
2008-05-24 18:50:39 +00:00
Sebastian Strohhäcker
7df6298433
use device attribute fields for ioctl remote check function (Future Shock svga upgrade); thanks to ripa
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3159
2008-05-22 16:45:57 +00:00
Peter Veenstra
e05da8b3d6
FindFirst can find devices now as well.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3151
2008-04-30 18:26:17 +00:00
Peter Veenstra
a02f75204a
gcc4.3 is a bit more strict
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3145
2008-04-19 09:25:48 +00:00
Sebastian Strohhäcker
865b429d85
revert "fix", update comment (int24 abortable hook not feasible here)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3140
2008-04-07 19:11:48 +00:00
Sebastian Strohhäcker
e43272326e
fix undocumented error handling of dos freesize check for non-present floppy drives
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3139
2008-04-03 18:28:19 +00:00
Sebastian Strohhäcker
d530a9a416
fix some dos ioctl functions when called for cdrom block devices
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3129
2008-03-19 17:55:58 +00:00
Sebastian Strohhäcker
b0fed179bc
fix tsr return code handling
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3122
2008-03-12 17:45:39 +00:00
Sebastian Strohhäcker
766edb294f
raise default freesize of directory mounts a bit
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3120
2008-03-11 18:16:34 +00:00
Sebastian Strohhäcker
cd68884361
make rom out of ems pageframe segment when BOOTing a disk
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3118
2008-03-09 20:32:23 +00:00
Sebastian Strohhäcker
afb28f9039
fix some oddities with get/set file attribute calls (fixes almost nothing!)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3115
2008-03-02 19:45:41 +00:00
Peter Veenstra
3f2e4fbd83
Allow longer commandlines in MOUNT and IMGMOUNT.
...
Fix crash reported by MiniMax (mount -u 0).
Fix bug reported by Tearex ("config -get" broken).
Add some protection that makes it harder to mount a directory from
within an executable.
Add some protection to make mounting from command /c much harder.
Add a securemode commandline switch to config and dosbox that should make it
impossible to mount a location when this isn't wanted by the user. (Addresses concerns of CVE-2007-6328)
Update documentation to reflect this.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3114
2008-03-02 11:13:47 +00:00
Sebastian Strohhäcker
864b737029
fat fs: preserve error code for create file calls on success
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3109
2008-02-24 17:38:03 +00:00
Sebastian Strohhäcker
2a10734876
fix get filename from entry
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3108
2008-02-22 18:18:03 +00:00