1
0
Fork 0
Commit graph

104 commits

Author SHA1 Message Date
Joshua Fern
f2029d71d8 Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
krcroft
c9198b2944 Fix unsafe memory operations and warnings in the fatDrive class
- Move imageDiskList from pointer to vector of unique_ptr
- Replace string operations with size-limited versions
- Initialize members
- Eliminate unecessary casts
- Eliminate memory-leak on pointer assignment
2019-12-09 08:19:26 +01:00
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
ripsaw8080
66b813ef9c Support some installer disk detection methods: block device count, and specific MBR/boot sector contents. Fixes (original) SimCity, Amberstar, and later MicroProse installers.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4120
2018-06-21 17:46:52 +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
ripsaw8080
630b9befb5 ANSI emulation is activated for the session when an escape sequence is encountered other than those used by internal messages. Fixes LucasArts setup programs (Bug #458) provided that ANSI emulation is not activated.
Compatible scroll fill for ANSI emulation.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4097
2018-05-03 16:49:48 +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
ripsaw8080
64a04b9985 Be more compatible by converting tabs to spaces in the DOS console device rather than in the video BIOS teletype function.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3983
2016-05-23 11:33:09 +00:00
Peter Veenstra
59805112d9 Use record size of 128 if it is 0 in the FCB when calling INT 21 AH=23 (fixes bug #433).
Set record size to 128 if it is 0 in the FCB when calling any FCB read/write function (ripsaw).
Fixes for acad 10:
- Add missing reference counting when the file is already open when calling FCB_Open, so that acad which uses FCBs and normal handles on the same file works better.
- Remove FCBs being added to the PSP filetable and rewrite most functions to support this change. This way acad won't run out of temporary (fcb) files when low on memory.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3962
2016-02-09 14:12:05 +00:00
ripsaw8080
dc4aabb403 Correct some offsets in the DTA for FCB-based search results. Fixes DIR listing in COMMAND.COM from MS-DOS and file info in XTree Gold.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3955
2015-12-21 17:14:42 +00:00
Peter Veenstra
39875d92da Add call to clear out some more fields, needed for fcb name parsing.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3938
2015-09-30 14:24:49 +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
556ff13f87 make RealHandle inline to silence some unused warnings
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3814
2013-01-27 16:54:22 +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
41d420d47e Make gcc 4.6 happy
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3691
2011-03-31 19:31:21 +00:00
Peter Veenstra
212f673568 Improve XTreeGold support. Thanks ripsaw
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3677
2011-02-19 19:57:30 +00:00
Peter Veenstra
1589c86ebe Some FCB read/write refinements. Stop exiting on weird int 21 0x33 calls. (ripsaw)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3666
2011-01-05 19:48:18 +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
8c94075781 Undo 3505.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3506
2009-11-30 13:48:54 +00:00
Peter Veenstra
0c2cdb1f5e Move back to the mem start of r3438. Fix Miami vice. The other buggy games were fixed otherwise
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3505
2009-11-30 13:10:50 +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
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
934dff7731 symmetrically beautify the memory start to work around some more buggy installers/games
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3441
2009-07-08 20:05:41 +00:00
Sebastian Strohhäcker
294da23d83 raise dos mcb start to fix buggy installers (ripsaw; fixes 7th guest installer)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3438
2009-07-02 18:56:11 +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
Sjoerd van der Berg
88caf1dc71 Add compiler testing for always_inline attribute
Add compiler testing for fastcall attribute
Add the FASTCALL define to visual c
Remove some overkill inline routines
Make sure that all the inline routines in headers are static


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3355
2009-04-25 16:25:03 +00:00
Sebastian Strohhäcker
a94ef4eddc move first shell's psp/environment into low dos memory, uses complete MCBs for them (gold aztecs doesn't like it otherwise)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3216
2008-09-06 14:47:15 +00:00
Sebastian Strohhäcker
e0efbfbd4c fix offset of sda to be correctly placed relative to the sysvars table (codeview checks)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3213
2008-08-29 19:27:04 +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
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
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
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
a5ac3216ba Some more const stuff. Silences a few warnings and removes a few casts. Update description of dss.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2886
2007-06-14 08:23:46 +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
0c24e87fdc silence some warnings, add most of sf patch #1185267 by Moe
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2883
2007-06-12 20:22:09 +00:00
Sebastian Strohhäcker
131553c479 initialize private dos segment early; move int33 handler out of rom (Kippesoep)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2874
2007-06-06 15:44:40 +00:00
Peter Veenstra
ca8b788e12 Add Beta2 patch:Fix nc5 installer.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2731
2007-01-08 20:36:53 +00:00
Peter Veenstra
24b3c2a1b8 Add beta2 patch: Move dos tables to c800 to make easier umb management.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2730
2007-01-08 20:10:34 +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
76478e8cec add dos keyboard layout support
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2715
2006-10-27 13:37:14 +00:00
Sebastian Strohhäcker
43d7055361 some fixes to the fat drive handling (thanks to h-a-l9000)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2665
2006-06-30 12:47:07 +00:00
Peter Veenstra
8a10d6f33b Whoops add all changes to it.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2610
2006-04-21 08:50:30 +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
Sebastian Strohhäcker
96bf0e28d6 add error handling for DOS_SetMemAllocStrategy
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2385
2005-11-24 17:05:22 +00:00
Sebastian Strohhäcker
530d276ce6 better relative placement of SDA (fixes FS4 dos detection)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2370
2005-11-07 21:08:11 +00:00
Sebastian Strohhäcker
74d63d330b fix returncode of int21,ah=5b (create new file)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2328
2005-09-28 19:13:21 +00:00
Sebastian Strohhäcker
caff0f7a8b adding support for upper memory
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2262
2005-08-08 13:33:46 +00:00