Commit Graph

152 Commits

Author SHA1 Message Date
Bart Oldeman
18fa8e0091 Slash conversion to enable cross compilation.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@627 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-30 18:39:44 +00:00
Bart Oldeman
a69548773a Use PASCAL calling convention by default for turbo C
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@626 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-30 18:36:30 +00:00
Bart Oldeman
4780a1fc94 NLS changes from Steffen
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@625 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-27 22:02:57 +00:00
Bart Oldeman
2fdf99331d Added structure to nls.h; small main.c cleanup.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@624 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-20 20:06:24 +00:00
Bart Oldeman
c5c7128a02 Move externs to header files; sft init cleanup (+3 files need to be low)
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@623 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-20 19:54:18 +00:00
Bart Oldeman
5bffd69d1d Fix bug in block device driver init of DPBs
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@622 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-20 00:05:44 +00:00
Bart Oldeman
204382d001 Adjustment to compile with Turbo C
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@619 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-18 19:27:40 +00:00
Bart Oldeman
a447756302 Add country support for bulgaria
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@616 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-17 15:19:29 +00:00
Bart Oldeman
9d651b53e4 Small asm optimization
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@615 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-17 15:17:51 +00:00
Bart Oldeman
9f15e02db9 Correct get_root, make kbdType public, sys config patches from Tom.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@614 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-17 11:55:44 +00:00
Bart Oldeman
f98fc8640b Removed most of Eric's config.sys stuff -- some are questionable, others
unfinished. EECHO works though.


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@613 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-17 11:53:37 +00:00
Bart Oldeman
2cb828283f Remove my old truename fix.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@612 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-17 08:45:56 +00:00
Bart Oldeman
a4abd642bf Fix buffer deletion problem with multi-sector writes.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@611 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-17 08:38:20 +00:00
Bart Oldeman
7c8b87380f Simple extended keyboard detection using 40:96
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@608 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-16 16:36:58 +00:00
Bart Oldeman
1b2a421f44 Some duplicate code merging and scancode-0xe0 related fixes.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@606 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-16 11:10:17 +00:00
Bart Oldeman
7bc5f8b31e Repair arrow keys for console.asm + fixes for Turbo C
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@605 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-15 22:58:29 +00:00
Bart Oldeman
4c88863f24 Add support for UNC style paths (David Bolen)
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@604 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-15 22:06:03 +00:00
Bart Oldeman
5a5df81896 Support extended keyboards in console.asm
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@602 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-15 20:37:56 +00:00
Bart Oldeman
faaff5006a + Changes Eric Auer
* add sanity check to initdisk.c for (driveParam->chs.Sector == 0)
      + some display tweaks
    * add ANYDOS, KBDRATE, VIDMODE, MENUCOLOR and EECHO support to the
      config.sys parser.
    * distinguish between the builtin DOS version and the settable
      DOS version.


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@601 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-15 19:26:49 +00:00
Bart Oldeman
1c5db2e482 Small size optimization.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@599 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-15 19:00:39 +00:00
Bart Oldeman
bdc63c1ff0 Fixes from Lixing Yuan: dosnames cleanup, fix for truename with
wildcards and trailing dots.


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@598 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-15 18:57:02 +00:00
Bart Oldeman
f83c09df15 Fix problem with volume label findnexts.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@597 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-15 18:47:25 +00:00
Bart Oldeman
056fded527 Eliminate relocations in initdisk.c + dyninit.c.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@596 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-15 18:40:03 +00:00
Bart Oldeman
542b0c1b89 Correct shr/jcxz sequence.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@595 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-15 18:15:06 +00:00
Bart Oldeman
fc294ddce9 Remove some duplicates in globals.h
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@594 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-15 16:40:15 +00:00
Bart Oldeman
0abf2824ef Avoid relocations in the .asm files.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@593 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-15 16:21:26 +00:00
Bart Oldeman
ed78089e0b introduce lol structure for list of lists; avoid lots of relocations
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@592 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-15 15:53:58 +00:00
Bart Oldeman
05df4d89f4 if user left accidentally floppy or CD in drive, give him a chance to continue to boot from HD.
disabled by default, enablable by SYS CONFIG (Tom Ehlert)


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@591 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-15 14:38:13 +00:00
Bart Oldeman
5210965831 * minor size optimizations in chario.c, dosfns.c;
asmsupt.asm: correct fmemchr (all n's) and *memset/*memcpy (n==0)


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@590 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-15 14:21:49 +00:00
Bart Oldeman
439cc495e4 * add FILESHIGH, LASTDRIVEHIGH, and STACKSHIGH and DOSDATA=UMB
to load these structures into UMBs
    * make DOS sub-MCBs visible (seen by MEM)
    * preliminary allocation of FILES etc. now takes place at the
      top of conventional memory, and device drivers are loaded before
      the final allocation takes place.
    * handle multiple UMBs more correctly (but config.sys can use
      only one UMB for devicehigh -- /Ln,xxxx is not yet implemented)


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@589 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-15 13:24:53 +00:00
Bart Oldeman
aa352cc548 * combine the INIT class with the CODE class (classes can span
multiple physical segments)
    * re-add _TEXT to LGROUP to be able to simplify the patchobj magic
    * don't specify -zPI_GROUP for the init code in Borland compilers
      (unnecessary, it will be put there because of segs.inc)
    * remove STDPATCH; it is no longer necessary


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@588 6ac86273-5f31-0410-b378-82cca8765d1b
2003-06-15 12:56:57 +00:00
Bart Oldeman
80a6dd82af Fix problem with "truename wildcard."
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@576 6ac86273-5f31-0410-b378-82cca8765d1b
2003-04-30 15:42:06 +00:00
Bart Oldeman
484f700bba DE_INVLDDRV should be DE_DEVICE for rename and DE_PATHNOTFND for truename
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@563 6ac86273-5f31-0410-b378-82cca8765d1b
2003-03-23 18:41:36 +00:00
Bart Oldeman
bf5d83c016 Final changes for kernel 2029
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@543 6ac86273-5f31-0410-b378-82cca8765d1b
2003-03-15 04:18:09 +00:00
Bart Oldeman
355580dded Eliminate highwater fnode field.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@540 6ac86273-5f31-0410-b378-82cca8765d1b
2003-03-12 23:29:08 +00:00
Bart Oldeman
a4cf009198 Adding COUNTRY= and INSTALL(HIGH) config.sys support (by Tom Ehlert)
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@539 6ac86273-5f31-0410-b378-82cca8765d1b
2003-03-12 23:06:48 +00:00
Bart Oldeman
5a7a27df70 Use HMA_TEXT instead of _TEXT again.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@538 6ac86273-5f31-0410-b378-82cca8765d1b
2003-03-12 22:43:53 +00:00
Bart Oldeman
50a39d1880 Some FCB functions need wildcards too.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@537 6ac86273-5f31-0410-b378-82cca8765d1b
2003-03-12 06:53:16 +00:00
Bart Oldeman
9bcd6b125a Don't allow wildcards for internal truename processing, except for
DosFindfirst and DosTruename.


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@536 6ac86273-5f31-0410-b378-82cca8765d1b
2003-03-12 06:50:33 +00:00
Bart Oldeman
ec8b97be38 Preserve si and di for strategy handlers.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@535 6ac86273-5f31-0410-b378-82cca8765d1b
2003-03-12 06:36:00 +00:00
Bart Oldeman
ee958bad3b Remove unused intr.h
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@533 6ac86273-5f31-0410-b378-82cca8765d1b
2003-03-12 06:30:16 +00:00
Bart Oldeman
b43f271014 "rmdir" and FAT32 fixes from Tom.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@499 6ac86273-5f31-0410-b378-82cca8765d1b
2003-02-20 20:51:42 +00:00
Bart Oldeman
43bee4de3a Adjustments to #error for pre-ANSI compilers.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@489 6ac86273-5f31-0410-b378-82cca8765d1b
2002-12-10 03:01:19 +00:00
Bart Oldeman
9ce3be1d44 Fix off-by-one error
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@486 6ac86273-5f31-0410-b378-82cca8765d1b
2002-12-09 00:20:55 +00:00
Bart Oldeman
e67a8f5058 Changes for kernel 2028 (see history.txt)
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@485 6ac86273-5f31-0410-b378-82cca8765d1b
2002-12-09 00:17:15 +00:00
Bart Oldeman
a28e004323 Change ch to chr to fix the inline asm.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@467 6ac86273-5f31-0410-b378-82cca8765d1b
2002-11-11 17:42:17 +00:00
Bart Oldeman
a126dce676 Fix bug in the output redirection of the character i/o routines.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@466 6ac86273-5f31-0410-b378-82cca8765d1b
2002-11-11 08:41:28 +00:00
Bart Oldeman
bca3ec2175 * Hopefully innocent hack to deal with NDN in ioctl.c (ignore upper bits
of the drive number)
    * use subst bit 15 for int21/ax=4409.


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@463 6ac86273-5f31-0410-b378-82cca8765d1b
2002-11-09 19:34:04 +00:00
Bart Oldeman
c7eef88bac * initialize the critical error code to 0 in inthndlr.c
* ignore value of DH for extended open int21/ah=6c


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@462 6ac86273-5f31-0410-b378-82cca8765d1b
2002-11-09 19:22:48 +00:00
Bart Oldeman
74ed5eea00 Move NULL device code from _TEXT to CONST to prevent a crash
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@461 6ac86273-5f31-0410-b378-82cca8765d1b
2002-11-09 19:21:09 +00:00