1
0
Fork 0
Commit graph

613 commits

Author SHA1 Message Date
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
Sebastian Strohhäcker
615dab6a1f eat up some cycles for cdrom sector transfers (gets some cdrom speed checks to work better)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3106
2008-02-19 17:45:33 +00:00
Sebastian Strohhäcker
482d2ab349 correct error code when dos create file is called with directory bit set (fixes some pkunzip oddity)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3103
2008-02-18 17:45:55 +00:00
Sebastian Strohhäcker
6bb6bdc967 use private dos data area for mscdex functions
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3095
2008-02-06 21:56:32 +00:00
Peter Veenstra
6532a8bc74 Don't close totally empty fcbs. Very basic check. Fixes Oubliette.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3087
2008-01-21 21:26:49 +00:00
Peter Veenstra
c920ed5e8c More mscdex quirks. Label is not upcased. Fixes daggerfall cdrom detection.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3086
2008-01-21 21:25:17 +00:00
Peter Veenstra
93d6a60493 Add setup.h
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3085
2008-01-21 21:22:58 +00:00
Peter Veenstra
61db3e5178 Move commandline to programs.h
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3082
2008-01-19 11:02:29 +00:00
Sebastian Strohhäcker
41a5d9d3d6 prioritize first language code when scanning for a layout
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3081
2008-01-17 18:53:18 +00:00
Peter Veenstra
1a6921ddb6 MSCDEX sets word on stack to ADAD if it DADA on entry.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3071
2007-12-30 08:21:35 +00:00
Peter Veenstra
f119b07834 Fix several buffer overflows (ludwig Nussel). Fix double fcloses
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3069
2007-12-27 15:38:00 +00:00
Sebastian Strohhäcker
7473dabb3d add program to load external graphics bioses
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3060
2007-12-11 21:25:14 +00:00
Peter Veenstra
abbf10093f small bugfix by hal.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3054
2007-12-06 17:44:19 +00:00
Sebastian Strohhäcker
10b39bc067 allow small .com files to be exectued with not much free memory left;
int27 always clears the returned error code; fixes corncob3d music


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3048
2007-11-18 10:30:12 +00:00
Sebastian Strohhäcker
6d7dd9f3ae add sft-returning dos function (fixes file/integrity checking library of MadTV2 and Dunkle Schatten 2)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3046
2007-11-07 22:08:03 +00:00
Sebastian Strohhäcker
92ad22418c minor fix for get/set file attribute
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3037
2007-11-04 11:11:34 +00:00
Sebastian Strohhäcker
eea273f2a9 better not write the 2nd fat into the root directory (fs fat, fixes rare directory corruptions);
add rename for disk images


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3036
2007-11-03 17:20:29 +00:00
Peter Veenstra
f80641c10f Fix compilation under win32
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3034
2007-11-02 07:50:27 +00:00
Peter Veenstra
ac66214dab Emulate a trailing dot on volume labels of 8 characters when on a cdrom drive. mscdex weirdness. Fixes Fifa96 cdrom detection.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3033
2007-11-01 12:15:34 +00:00
Sebastian Strohhäcker
de72a62e4a create temp file adds a missing backslash to the path qualifier if necessary
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3023
2007-10-20 19:13:59 +00:00
Sebastian Strohhäcker
a7e852daac fix dos exec "load but don't run" subfunction (japheth)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3020
2007-10-19 19:39:27 +00:00
Sebastian Strohhäcker
63c2e24aee fix some casts
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3017
2007-10-14 17:31:52 +00:00
Peter Veenstra
4b7f38105f Fix trimming to 8.3 of files with extenstions.(world championship boxing manager)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3013
2007-10-09 08:14:13 +00:00
Peter Veenstra
e7db5a262e Remove path when valid.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2999
2007-09-27 19:34:43 +00:00
Sebastian Strohhäcker
c1b3523d01 use 8x14 fonts for ega text modes (350 line modes)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2998
2007-09-27 16:11:40 +00:00
Sebastian Strohhäcker
6188566e38 add partial ega-only machine
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2992
2007-09-20 16:42:43 +00:00
Peter Veenstra
a046414fdf Silence a warning
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2983
2007-08-22 11:54:54 +00:00
Peter Veenstra
0382a13bd3 Add basic support for audio cds only when dealing with images.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2982
2007-08-22 11:54:35 +00:00
Peter Veenstra
acd41dba61 Clear drive part if no drive is present. Add extra log output for illegal chars.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2980
2007-08-22 07:34:57 +00:00
Sebastian Strohhäcker
2b7818c02d fix language code extraction
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2977
2007-08-19 19:23:02 +00:00
Sebastian Strohhäcker
703e78806c add keyboard layouts
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2960
2007-08-11 20:13:58 +00:00
Sebastian Strohhäcker
d404647529 enable core=auto switching for recompiling core as well
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2957
2007-08-09 19:52:33 +00:00
Sebastian Strohhäcker
8011899154 fix layout file processing (thanks to etillite, see sf bug #1760297)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2947
2007-08-04 18:52:44 +00:00
Peter Veenstra
7c7e3c510c Add input checking to call 0x2D
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2934
2007-07-27 19:17:23 +00:00
Peter Veenstra
0620995611 A very fake DPB for some editor.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2928
2007-07-20 18:53:52 +00:00
Peter Veenstra
f25f371575 Only use lowerpart of CX when dealing with cdrom drives.(Fixes Genesia)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2925
2007-07-20 18:22:28 +00:00
Sebastian Strohhäcker
6403c0e6ed reduce logging a bit
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2924
2007-07-19 18:58:39 +00:00
Sebastian Strohhäcker
216fb3bbe5 update some size/freesize parameters
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2909
2007-07-02 14:10:27 +00:00
Sebastian Strohhäcker
d566d3fca8 me too!
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2907
2007-06-30 19:33:45 +00:00
Peter Veenstra
cb1db6bf69 Add 0xe5 to allowed chars. Fixes nba95 installer.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2904
2007-06-29 10:24:43 +00:00
Peter Veenstra
f947dae196 Add bounds check.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2903
2007-06-28 19:43:32 +00:00
Peter Veenstra
dc18fb11dd Fix certain builds of infocom games. Add a warning when ansi is used.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2898
2007-06-27 19:15:31 +00:00