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
Sebastian Strohhäcker
154ad64370
raise dos memory start segment (WC armada, novalogic setup);
...
update some dos tables
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2260
2005-08-01 09:30:45 +00:00
Peter Veenstra
989727eaae
new include system
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2136
2005-03-24 10:18:45 +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
95b31b857c
Added failure checks for removedir (requested by mirekluza). Updated fcb-delete so it accepts wildcards by using a private dta.(Fixes Ravenloft)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2064
2004-11-16 14:28:16 +00:00
Peter Veenstra
b089c22997
don't overwrite allocated buffer in country information (int 21 6501)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2046
2004-11-03 20:13:40 +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
a5f73e86a5
Lot's of doschanges for enchanced mode. Thank you c2woody.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1882
2004-07-08 20:08:52 +00:00
Sjoerd van der Berg
62d78d6715
New sGet/sSave handling
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1856
2004-06-24 21:21:48 +00:00
Peter Veenstra
b7fb90dbd5
Added double byte stuff the proper way (empty table)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1820
2004-06-10 08:48:53 +00:00
Sjoerd van der Berg
239e9b3b5a
Fix some gcc 3.4 issues.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1800
2004-05-15 07:57:04 +00:00
Sjoerd van der Berg
862d958ecb
fix some amd64 compilation warnings
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1788
2004-05-05 21:56:04 +00:00
Peter Veenstra
e3a7a48687
Added SDA.
...
Update DTA/PSP to use SDA.
Added some more pic commands.
Cleaned dos.cpp up a bit.
Handled some more calls in dos.cpp.
Changed execute and terminate to mess less with the dta.
Removed all dta references and changes in PSP.
Added some messages to messagefile for mount.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1787
2004-05-04 18:34:08 +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
Dean Beeler
d0e2bfa15f
Added FAT image access and DOS booter functionality
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1757
2004-04-03 19:24:59 +00:00
Peter Veenstra
e05d508f81
dos changes c2woody
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1689
2004-02-28 16:35:42 +00:00
Ulf Wohlers
0ec99d746c
Added patch [ 889714 ] Structure of the DIB (Fizzban)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1654
2004-02-03 14:55:22 +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
Peter Veenstra
c831e34ffb
exported DOS_MakeName
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1495
2003-12-17 21:57:51 +00:00
Ulf Wohlers
3a49d4acf2
added DOS_SetFileAttr : check if file is available, failure if cdrom, but no change of file attributes
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1346
2003-10-17 16:56:38 +00:00
Ulf Wohlers
5d93540ca0
Added int 21 6c - Extended open
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1139
2003-07-21 09:38:35 +00:00