Kenneth J Davis
e90edc941b
UNSTABLE branch is always kernel revision 'w' for WorkInProgress (to avoid
...
confusion with stable series)
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@1038 6ac86273-5f31-0410-b378-82cca8765d1b
2004-09-12 06:42:05 +00:00
Luchezar Georgiev
79720273dc
break.c: check_handle_break() return type was undefined if no Ctrl-break
...
dosnames.c: macro to function conversion, optimisation and clean-up
dyninit.c: "what" passed to the DynAlloc() function only in DEBUG mode
inithma.c: InstallVDISK() function inlined, optimised and cleaned up
prf.c: fixed long argument bug introduced in the previous optimisation
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@1035 6ac86273-5f31-0410-b378-82cca8765d1b
2004-09-11 15:52:57 +00:00
Kenneth J Davis
6eff2f4bb2
correct non8086 division in bootcode, add boot drive option to sys
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@1034 6ac86273-5f31-0410-b378-82cca8765d1b
2004-09-11 13:42:30 +00:00
Luchezar Georgiev
7aaf2cae37
Fix warning and typo
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@1033 6ac86273-5f31-0410-b378-82cca8765d1b
2004-09-10 07:43:05 +00:00
Luchezar Georgiev
ac6ae24931
Using a macro for country data
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@1032 6ac86273-5f31-0410-b378-82cca8765d1b
2004-09-09 19:14:46 +00:00
Luchezar Georgiev
6a3380a10a
Israeli country information was referring to Middle East.
...
Watcom AUX DEFAULT pragma works only for 80386 and above.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@1031 6ac86273-5f31-0410-b378-82cca8765d1b
2004-09-09 14:06:23 +00:00
Luchezar Georgiev
b3a4a7eda1
Clobber oem*.h too
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@1030 6ac86273-5f31-0410-b378-82cca8765d1b
2004-09-09 12:29:09 +00:00
Luchezar Georgiev
9584e214f5
Cleanup & optimisation
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@1029 6ac86273-5f31-0410-b378-82cca8765d1b
2004-09-09 12:17:56 +00:00
Kenneth J Davis
fce371ba94
pc/ms DOS compatible boot sector
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@1028 6ac86273-5f31-0410-b378-82cca8765d1b
2004-09-07 19:17:09 +00:00
Kenneth J Davis
6e7415e7a4
add optionally compiled in support to sys for PC/MS DOS versions (FAT16 only)
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@1027 6ac86273-5f31-0410-b378-82cca8765d1b
2004-09-07 18:31:41 +00:00
Luchezar Georgiev
a9c8174b5d
If no floppy drives present, don't initialise DDT for drive A:.
...
" - Initdisk" no longer shifts text if no FAT partitions found.
Converted cdiv() from macro to function; optimise and clean-up.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@1026 6ac86273-5f31-0410-b378-82cca8765d1b
2004-09-07 14:15:49 +00:00
Kenneth J Davis
463535c87d
limited support for DR-DOS enhancement project or any OEM DOS using IBMBIO/IBMDOS
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@1025 6ac86273-5f31-0410-b378-82cca8765d1b
2004-09-06 09:41:29 +00:00
Luchezar Georgiev
dfdf72645b
fatfs.c:
...
- zero creation/access stamp on directory entry write as MS-DOS 7.10
- prevent removal or renaming of the current directory of that drive
- optimisation and clean-up
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@1024 6ac86273-5f31-0410-b378-82cca8765d1b
2004-09-05 08:58:44 +00:00
Luchezar Georgiev
a6b468389b
COUNTRY.SYS & NLSFUNC support added: Lucho, Eduardo.
...
32RTM and BRUN45 incompatibilities fixed by Michael.
ZIP drive serial numbers now work: bug fix by Lucho.
Small clean-ups and optimisations by Lucho & Arkady.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@1023 6ac86273-5f31-0410-b378-82cca8765d1b
2004-09-03 09:26:53 +00:00
Kenneth J Davis
31a4275854
easier change of kernel load segment, remove need of keypress when linking
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@1022 6ac86273-5f31-0410-b378-82cca8765d1b
2004-09-02 20:22:05 +00:00
Kenneth J Davis
03fc88df3e
Lucho's fix to use start_seg-2 instead of hard coded 0x60-2 in UPX trailer
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@1014 6ac86273-5f31-0410-b378-82cca8765d1b
2004-08-10 20:21:01 +00:00
Kenneth J Davis
f4ab00c556
patches from Arkady, Lucho, and Bart -- see history.txt for details
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@1009 6ac86273-5f31-0410-b378-82cca8765d1b
2004-07-25 09:55:58 +00:00
Kenneth J Davis
640ab403e2
from Arkady: actually remove indicated files, readd filelist, fix co_m_piler typo,
...
from Tom: improve behaviour on failed FindFirst call and return to app not DOS
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@991 6ac86273-5f31-0410-b378-82cca8765d1b
2004-07-11 08:36:25 +00:00
Kenneth J Davis
a097825f6b
remove unused make files
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@990 6ac86273-5f31-0410-b378-82cca8765d1b
2004-07-11 07:28:13 +00:00
Kenneth J Davis
b0c98dd553
update history with changes from Lucho's NEWS file
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@989 6ac86273-5f31-0410-b378-82cca8765d1b
2004-07-09 02:48:58 +00:00
Kenneth J Davis
9c94426d7a
Lucho's kernel with Arkady's changes, initial unstable branch
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@988 6ac86273-5f31-0410-b378-82cca8765d1b
2004-07-09 02:16:31 +00:00
Jim Hall
38bcefb6e8
This commit was manufactured by cvs2svn to create branch 'UNSTABLE'.
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@981 6ac86273-5f31-0410-b378-82cca8765d1b
2004-06-19 19:41:47 +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
Bart Oldeman
c90e1e3c11
Fix problem with wrong remote_rw cast and unused variable.
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@961 6ac86273-5f31-0410-b378-82cca8765d1b
2004-05-25 00:02:46 +00:00
Bart Oldeman
9a1418a6c8
cleanups by Lucho
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@960 6ac86273-5f31-0410-b378-82cca8765d1b
2004-05-24 23:38:11 +00:00
Bart Oldeman
0c00651565
Pointer-ise specificCountriesSupported accesses.
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@959 6ac86273-5f31-0410-b378-82cca8765d1b
2004-05-24 23:34:22 +00:00
Bart Oldeman
b3a2d6bfde
Reorganized GetBiosKey a bit -- inlining GetBiosTime saves a slight amount
...
of code, converted timeout < 0 to a blocking read instead of polling.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@958 6ac86273-5f31-0410-b378-82cca8765d1b
2004-05-24 18:39:49 +00:00
Bart Oldeman
c0f1c45d1f
Use strcaseequal instead of strcasecmp since we never care about order
...
anyway.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@957 6ac86273-5f31-0410-b378-82cca8765d1b
2004-05-24 18:06:04 +00:00
Bart Oldeman
195614981a
Fix problem with #ifdef DEBUG HMA check. Use more descriptive name
...
(EnabledA20).
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@956 6ac86273-5f31-0410-b378-82cca8765d1b
2004-05-24 17:07:04 +00:00
Bart Oldeman
39e6b427f4
Fixed new bugs caused by typos.
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@955 6ac86273-5f31-0410-b378-82cca8765d1b
2004-05-24 11:42:28 +00:00
Bart Oldeman
3eac7d3c19
Fix problem with redirected input and int21/ah=0a (debug < foo.txt) --
...
could get you an invalid opcode!
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@954 6ac86273-5f31-0410-b378-82cca8765d1b
2004-05-23 22:53:11 +00:00
Bart Oldeman
99e727b73d
Use int29 for kernel console output. Enables ansi escape sequences in config.sys once you load nansi.sys. It also saves a couple of bytes.
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@953 6ac86273-5f31-0410-b378-82cca8765d1b
2004-05-23 22:04:42 +00:00
Bart Oldeman
f8be820925
Clear up confusing (void *)n using a macro.
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@952 6ac86273-5f31-0410-b378-82cca8765d1b
2004-05-23 21:18:37 +00:00
Bart Oldeman
86a8e9c2d2
This was unequal replacement: in new code performed more memory access
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@951 6ac86273-5f31-0410-b378-82cca8765d1b
2004-05-23 20:06:51 +00:00
Bart Oldeman
c863987e18
Arkady changed/optimized allocmem()
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@950 6ac86273-5f31-0410-b378-82cca8765d1b
2004-05-23 20:01:30 +00:00
Bart Oldeman
05f3cdd165
Arkady: bugfix for INT21/440b (change NetRetry if DX is _non_zero).
...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@949 6ac86273-5f31-0410-b378-82cca8765d1b
2004-05-23 19:53:33 +00:00
Bart Oldeman
b723ff9a46
inthndler cleanups, mostly from Arkady
...
Bart: made dosmktmp to return a long: consistent with DosOpen et al and
avoids the cast.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@948 6ac86273-5f31-0410-b378-82cca8765d1b
2004-05-23 19:45:48 +00:00