Commit Graph

683 Commits

Author SHA1 Message Date
Eric Auer
511fdee8e5 summarized log -d '>Feb 25 2005' kernel for today... WARNING: some of the
described changes might be available only in the UNSTABLE cvs branch (like
SYS OEMBOOT, Win3, COM port output for debug print, the SHARE tool), so the
history.txt should actually contain TWO entries, one which describes the
2036 cvs HEAD changes and one which describes the 2037 test UNSTABLE changes!


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1187 6ac86273-5f31-0410-b378-82cca8765d1b
2006-05-20 20:53:23 +00:00
Eric Auer
46cd62310a updated list of supported DOS functions. When DOSLFN is loaded for int
21.71, only remaining unsupported int 21 functions are 21.4b05 (set exec
state), int 21.63xx (DBCS / Korean Hangul, see above) and int 21.5d01 -
21.5d05 (close files by name/computer/task, list open files, commit all)


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1186 6ac86273-5f31-0410-b378-82cca8765d1b
2006-05-20 20:51:11 +00:00
Eric Auer
5c9ae102b4 added stub for function 0x6301/0x6302 Korean Hangul keyboard input methods
in int 0x21 handler (0x63xx is DBCS support related), returns AL=-1 (error)


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1185 6ac86273-5f31-0410-b378-82cca8765d1b
2006-05-20 20:50:44 +00:00
Eric Auer
265efa8b8b removed the "protect 386 registers" patch again, a fixed version of free-
EMM386 is available. This reduces device driver call overhead in terms of
CPU and stack usage.  Older EMM386 versions destroyed eax ebx ecx edi esi
ebp fs gs, now go_driver_entry in emm386.asm saves those registers. Only
the INIT was broken, but the execrh.asm patch protected ALL functions.


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1184 6ac86273-5f31-0410-b378-82cca8765d1b
2006-05-20 20:49:59 +00:00
Eric Auer
52c9c933d8 removed some no longer used version defines. Changed build to "2036 cvs"
(revision 36) WARNING: Version should be "2037 test" (rev. 37) for UNSTABLE!


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1183 6ac86273-5f31-0410-b378-82cca8765d1b
2006-05-20 20:49:16 +00:00
Eric Auer
40276450af changed the os_release version message to be
"build 2036 cvs [version Sep 09 2005 compiled May 20 2006]" as opposed to
the old "version 1.1.35 (Build 2035b-cvs) [Jul 23 2005 12:34:56]"
-> removed the "1.1.35" and compile TIME, added SOURCE DATE


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1182 6ac86273-5f31-0410-b378-82cca8765d1b
2006-05-20 20:48:43 +00:00
Eric Auer
0539a70107 Changed batch files to use CR LF - command.com gets confused otherwise.
build.bat clean.bat clobber.bat default.bat utils/echoto.bat
utils/proto.bat utils/wlinker.bat utils/rmfiles.bat


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1181 6ac86273-5f31-0410-b378-82cca8765d1b
2006-05-20 20:45:59 +00:00
Eric Auer
f14329ef38 changed linebreaks to CR LF as command.com gets confused otherwise.
Batch files: build clean clobber default utils/ echoto proto wlinker rmfiles


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1180 6ac86273-5f31-0410-b378-82cca8765d1b
2006-05-20 20:40:20 +00:00
Kenneth J Davis
0ed2d7e7b6 correct email address
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1173 6ac86273-5f31-0410-b378-82cca8765d1b
2005-12-24 09:17:02 +00:00
Kenneth J Davis
b08bb299b1 from Eduardo, fix Spanish (34, not duplicate of 33)
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1142 6ac86273-5f31-0410-b378-82cca8765d1b
2005-09-08 23:48:25 +00:00
Kenneth J Davis
6d9f6c60c0 protect 386 registers from emm386 on 386 kernel build (prevent crash, workaround)
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1136 6ac86273-5f31-0410-b378-82cca8765d1b
2005-07-24 09:34:10 +00:00
Kenneth J Davis
696614a6c1 do not compares filenames to name field in block devices
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1127 6ac86273-5f31-0410-b378-82cca8765d1b
2005-07-10 01:19:29 +00:00
Kenneth J Davis
790ad53fee don't leave fd open when failing DIR bit check
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1124 6ac86273-5f31-0410-b378-82cca8765d1b
2005-04-10 15:00:37 +00:00
Kenneth J Davis
4dcdd071e5 bug 1874 fix, do not consider setting DIR bit an error for int 21/4301=set attribute, if really is a directory
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1123 6ac86273-5f31-0410-b378-82cca8765d1b
2005-04-05 15:08:30 +00:00
Kenneth J Davis
bd50aa5d40 from Arkady, use direct access instead of reading from copy made on stack
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1122 6ac86273-5f31-0410-b378-82cca8765d1b
2005-03-15 15:31:35 +00:00
Kenneth J Davis
e321f10fae from dev: add MK_PTR and MK_SEG_PTR macros
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1121 6ac86273-5f31-0410-b378-82cca8765d1b
2005-03-15 15:25:08 +00:00
Kenneth J Davis
c41380e578 merge from dev kernel, Jason Hood's patch for extended DPBs and Set Extended Error function
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1120 6ac86273-5f31-0410-b378-82cca8765d1b
2005-03-06 16:58:33 +00:00
Kenneth J Davis
e501067d7b insure bpb_huge is initialized (zeroed) [merge from dev kernel]
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1119 6ac86273-5f31-0410-b378-82cca8765d1b
2005-03-06 16:12:34 +00:00
Kenneth J Davis
84d34e61c0 update version to 2035b-cvs (-cvs to denote not a release yet)
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1118 6ac86273-5f31-0410-b378-82cca8765d1b
2005-02-25 23:58:07 +00:00
Kenneth J Davis
23b81c2330 update my email address
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1116 6ac86273-5f31-0410-b378-82cca8765d1b
2005-02-25 22:44:00 +00:00
Kenneth J Davis
063efbfef3 from Eric (similar already in dev), set driver request field with subunit number
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1115 6ac86273-5f31-0410-b378-82cca8765d1b
2005-02-24 20:35:48 +00:00
Kenneth J Davis
42c99c7d70 ensure f_nodes.f_count are initialized to 0 (always clear KernelAlloc'd memory)
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1098 6ac86273-5f31-0410-b378-82cca8765d1b
2005-01-29 04:59:31 +00:00
Kenneth J Davis
5c262419e5 fix bug 1789
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1090 6ac86273-5f31-0410-b378-82cca8765d1b
2005-01-09 11:30:44 +00:00
Kenneth J Davis
ded1a47b81 bug 1850, properly handle block drivers failing just by returning no units
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1084 6ac86273-5f31-0410-b378-82cca8765d1b
2005-01-01 18:03:43 +00:00
Kenneth J Davis
89d10726a6 from Bart, invoke DOS idle int 28h for int21/ah=6/dl=ff if busy waiting on input
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1066 6ac86273-5f31-0410-b378-82cca8765d1b
2004-11-21 13:37:52 +00:00
Bart Oldeman
cca3ca9547 Don't use implicit int.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1062 6ac86273-5f31-0410-b378-82cca8765d1b
2004-11-15 09:53:08 +00:00
Kenneth J Davis
f1421b184e force use of label until additional merge allows uncommenting chunk so builds
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1049 6ac86273-5f31-0410-b378-82cca8765d1b
2004-09-20 08:08:27 +00:00
Kenneth J Davis
a40b93283f merge from UNSTABLE: inthndlr.c (Lucho): added Int 2Fh/26-29h with Eduardo
for NLSFUNC, bug fixes from Michael Devore (add undoc behavior), and
fix MS Format + Ramdisk bug in INT21/5F07 and 5F08


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1037 6ac86273-5f31-0410-b378-82cca8765d1b
2004-09-12 06:07:21 +00:00
Kenneth J Davis
99f863a28f merge in some changes from UNSTABLE, batch files no change just line ending issue
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1036 6ac86273-5f31-0410-b378-82cca8765d1b
2004-09-12 04:46:28 +00:00
Bart Oldeman
74b074660d Set CX=0 for int21/ah=30. Avoids bug in Borland's 32RTM.EXE
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1016 6ac86273-5f31-0410-b378-82cca8765d1b
2004-08-15 08:16:51 +00:00
Bart Oldeman
7cd4f6c14b int21/ah=0x1b,0x1c should only change AL
Change prototype of DosGetFree so it returns AX (Arkady)
Checking the return value for FFFF is enough to check for failure.


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1008 6ac86273-5f31-0410-b378-82cca8765d1b
2004-07-25 08:04:54 +00:00
Bart Oldeman
7c861194f8 Fix compilation error.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1007 6ac86273-5f31-0410-b378-82cca8765d1b
2004-07-25 07:20:23 +00:00
Bart Oldeman
cd85d78739 Need to check for navc!=NULL, not *nc!=0xffff in DosGetFree.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1006 6ac86273-5f31-0410-b378-82cca8765d1b
2004-07-25 00:08:34 +00:00
Bart Oldeman
a6a6cfec9d Preserving di in ludivmul.inc: fixes problem with the modulo when
divisor > 0xffff.


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1005 6ac86273-5f31-0410-b378-82cca8765d1b
2004-07-24 23:56:32 +00:00
Bart Oldeman
7d0a83c800 Preserve DI in call_nls (fixes problem reported by Eduardo)
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1004 6ac86273-5f31-0410-b378-82cca8765d1b
2004-07-24 23:54:23 +00:00
Bart Oldeman
56682a5656 Fix: AL was not passed to FcbParseFname (int21/ah=29) (Arkady)
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1003 6ac86273-5f31-0410-b378-82cca8765d1b
2004-07-24 23:53:21 +00:00
Kenneth J Davis
1d684a4eac minor comment corrections
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@980 6ac86273-5f31-0410-b378-82cca8765d1b
2004-06-19 19:41:47 +00:00
Kenneth J Davis
b4ec361ab6 based on floppy.asm patchset from Arkady, use ret instead of ret 8 appropriately;
improve comments, including sync with prototypes in dsk.c; small code clean up


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@979 6ac86273-5f31-0410-b378-82cca8765d1b
2004-06-18 06:57:33 +00:00
Bart Oldeman
fe30b5a698 Fix some dependencies.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@973 6ac86273-5f31-0410-b378-82cca8765d1b
2004-05-30 20:59:33 +00:00
Bart Oldeman
f93aa59957 Update history.txt
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@972 6ac86273-5f31-0410-b378-82cca8765d1b
2004-05-30 20:56:29 +00:00
Bart Oldeman
11e6ccefbf high-part-of register save fixes from Lucho.
Bump version to 2035.


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@971 6ac86273-5f31-0410-b378-82cca8765d1b
2004-05-30 19:31:07 +00:00
Bart Oldeman
2c8a4b8c34 MSC fixes and small cleanups from Lucho
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@970 6ac86273-5f31-0410-b378-82cca8765d1b
2004-05-29 09:51:47 +00:00
Bart Oldeman
41edf4f640 Don't take attr if dpbp == NULL! OW does some optimizations assuming that
NULL does not point to valid memory, in this case it hurts.


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@969 6ac86273-5f31-0410-b378-82cca8765d1b
2004-05-29 01:33:12 +00:00
Bart Oldeman
7a9c620d82 DosUmbLink no longer tries to merge free blocks. Also cleaned up a bit.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@968 6ac86273-5f31-0410-b378-82cca8765d1b
2004-05-28 19:08:48 +00:00
Bart Oldeman
3f72bd1865 DJ mechanism without memcpy.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@967 6ac86273-5f31-0410-b378-82cca8765d1b
2004-05-28 13:44:49 +00:00
Bart Oldeman
4199f4c6c8 Cache attr and control flow optimizations from Lucho (~120 bytes)
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@966 6ac86273-5f31-0410-b378-82cca8765d1b
2004-05-28 13:15:22 +00:00
Bart Oldeman
dace548223 (mostly from Lucho) deal with the correct structure for generic and
query ioctls. Fixes issues with 3rd party device drivers (or ones that use
dsk.c)


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@965 6ac86273-5f31-0410-b378-82cca8765d1b
2004-05-28 12:57:41 +00:00
Bart Oldeman
0168037d73 From Lucho: no need to preserve ebx
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@964 6ac86273-5f31-0410-b378-82cca8765d1b
2004-05-28 11:58:18 +00:00
Bart Oldeman
57bac85ae3 Applied most of Arkady's initdisk optimizations (65 bytes) and is_suspect fix.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@963 6ac86273-5f31-0410-b378-82cca8765d1b
2004-05-25 19:24:55 +00:00
Bart Oldeman
e71f6448ab Fix int21/3302 (the swap was wrong, Lucho & Bart)
Made int21/3301,2e,54 consistent with MSDOS behaviour (Lucho)
Fix int21/5e02+ (mentioned by Arkady)


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@962 6ac86273-5f31-0410-b378-82cca8765d1b
2004-05-25 18:47:43 +00:00