1
0
Fork 0
Commit graph

58 commits

Author SHA1 Message Date
Peter Veenstra
1fbaff47fc Update year and address of FSF
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4183
2019-01-25 14:09:58 +00:00
Peter Veenstra
5bb10db88b Time keeps on ticking
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4109
2018-05-29 12:58:58 +00:00
Peter Veenstra
21a0040650 Move definition of LocalFile to header file, requested by bruenor41, makes sense to make it available at a larger scope.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4058
2017-10-10 14:21:31 +00:00
Peter Veenstra
6cf39c1fc6 Years update
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4021
2017-05-30 11:35:08 +00:00
Peter Veenstra
0f4c92ca32 Year update.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3878
2015-01-06 14:40:32 +00:00
Peter Veenstra
2fea508f7f Year update
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3812
2013-01-15 09:03:13 +00:00
Peter Veenstra
999f33de27 Update year. Remove CVS tags
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3700
2011-04-26 09:34:55 +00:00
Peter Veenstra
eaf55b8dfd Add dummy support for openmode 4. Legend Of the Red Dragon 4.07 uses this.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3667
2011-01-16 20:49:43 +00:00
Peter Veenstra
0438430b24 Add patch 3011706 by bredbored: remove double weirdness with free and dirsearch being 0. More sensible clearing of the directory cache. Fixes skynet crashes related to corrupted drive cache.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3630
2010-08-07 18:25:24 +00:00
Peter Veenstra
a78b2c4f8b Update year
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3548
2010-02-11 13:36:50 +00:00
Peter Veenstra
38c99cbf12 Add more intelligence to the findfirst stored lists cleanup algorithm
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3535
2010-01-13 18:31:21 +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
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
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
Peter Veenstra
c7b676198f Add DOS_ATTR_DEVICE
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3144
2008-04-16 19:31:05 +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
Peter Veenstra
df0f8ee9d6 Remove from DOS_File type and size. type wasn't used at all. size was only implemented in 50% of the drives.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2885
2007-06-13 07:25:14 +00:00
Sebastian Strohhäcker
e608297aae add imagedisk swapping capabilities (prompt, slightly modified sf patch #1505951); fix int13 write sectors return code
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2778
2007-01-21 16:21:22 +00:00
Peter Veenstra
fdd16dea1a Happy New Year\!
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2728
2007-01-08 19:45:42 +00:00
Sebastian Strohhäcker
af1673c6f2 re-fix deleting of hostwise open files (makes Alien Carnage work again without breaking Abuse)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2722
2006-11-14 20:01:42 +00:00
Peter Veenstra
3ea5a913a9 Add rewriten form of patch "[ 1498334 ] CD Images unmounting" created by Kronutz
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2658
2006-06-22 13:15:07 +00:00
Sebastian Strohhäcker
e332fed532 return drive and not-written bit for ioctl function 0
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2614
2006-04-23 14:20:58 +00:00
Peter Veenstra
8b7b77b21e Isname should use strcasecmp as it deals with emulated DOS file names.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2598
2006-04-15 15:53:37 +00:00
Peter Veenstra
57d8180da8 Remove DOS_No_Drive_Cache. Didn't compile anymore since 0.60.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2591
2006-04-10 12:52:47 +00:00
Sebastian Strohhäcker
3359eee956 add device control channel handling;
fix typo in ems.cpp (#1462677)


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2582
2006-04-07 16:34:07 +00:00
Peter Veenstra
df67775306 time passes on and on....
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2480
2006-02-09 11:47:57 +00:00
Peter Veenstra
ebd0dc79d9 new include system + support for the removal of devices + new function for labels (mechwarrior 2)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2141
2005-03-24 21:12:30 +00:00
Peter Veenstra
2094d8b985 Year update
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2106
2005-02-10 10:21:12 +00:00
Peter Veenstra
b2c2a02c97 Don't update the drive-label if one was specified at mount time. Be more flexible with directorie mounting (don't care about a trailing slash)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2057
2004-11-13 12:08:43 +00:00
Peter Veenstra
e9df6e56ab Change fpu for Elvira. Added isRemovable to drive for dott.cd and alike.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2047
2004-11-03 23:13:55 +00:00
Peter Veenstra
8dbbd230da forgot return statement
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2032
2004-10-20 12:27:19 +00:00
Peter Veenstra
3602a06de9 Rewrote devices so they can be opened/closed/cloned. Fix Turbo pascal 7 saving bug(wd/mirek). Increase number of files to 127. Remove null device from default handles. Proper creation of the initial psp. (not hacked anymore). Quite some files= bugs should be fixed
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2025
2004-10-17 14:45:00 +00:00
Peter Veenstra
ca409fd57c Typo in preamble
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1899
2004-08-04 09:12:57 +00:00
Peter Veenstra
67253f9e9b Added support for attribute searching with extend fcbs.
Added support for volume label searching on Virtual Drives.
Added warnings for volume searching on Drive Fat.
Improved support for Filelabel searching on drive_local to include fcbfinds
Added Drivelabel "DOSBOX" to Virtual Drives.
Changed default Label for localdrives to "NO_LABEL".
Made DOS_FindFirst fcb finds aware.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1770
2004-04-18 14:49:50 +00:00
Peter Veenstra
ed0fa42631 Removed dta check from findfirst in drive_cache.
Caching now 2048 searches per drive.
Clearing all when full.
Changed dta to reflect specs better.
Changed fcb to reflect specs better.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1766
2004-04-13 12:08:43 +00:00
Peter Veenstra
f86f45110c fixed a memleak, fixed a bug in get date and time on a openfilehandle
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1703
2004-03-04 19:49:21 +00:00
Ulf Wohlers
00673b9f45 added constructor for CFileInfo
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1577
2004-01-12 20:25:57 +00:00
Peter Veenstra
fcbd0fe854 Copyright to 2004
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1552
2004-01-10 14:03:36 +00:00
Sjoerd van der Berg
9d0029f51b Add method for checking a remote drive.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1417
2003-11-08 18:00:47 +00:00
Ulf Wohlers
fbd28bf4bb Fixed issue with long filenames (directory entries not displayed)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1389
2003-10-29 19:42:19 +00:00
Ulf Wohlers
8100d28f82 Enabled multiple FindFirst/Next
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1304
2003-10-09 13:50:27 +00:00
Ulf Wohlers
da87c80cef Drivecache: new FindFirst/FindNext methods, removed outputList, changed Bit16s types to Bits
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1260
2003-09-22 12:22:25 +00:00
Peter Veenstra
d9c77e001c fixed bug in drive_cache for win98
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1184
2003-08-13 14:46:15 +00:00
Ulf Wohlers
db97e36e58 Added reference counting for dos_files
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1181
2003-08-11 11:50:30 +00:00
Sjoerd van der Berg
b222a9576a Warning clean up
Removing some old unused routines
Addind some newlines after some files.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1077
2003-06-19 17:12:50 +00:00
Peter Veenstra
100f13016e added support for the don't inheritance flag and changed the psp routines to use this flag
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@980
2003-05-02 10:54:31 +00:00
Ulf Wohlers
336e693b61 Added support for reading volume labels
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@957
2003-04-23 12:07:53 +00:00
Ulf Wohlers
c6bedc3bdf remove DIR* from No_Drive_Cache to avoid macro redefinitions
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@838
2003-03-29 20:17:24 +00:00