Commit Graph

139 Commits

Author SHA1 Message Date
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
Bart Oldeman
4c2538b79e Return DE_NFILES instead of DE_FILE_NOT_FOUND for missing volume labels;
search for volume labels too if the attribute just ands with 8.


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@460 6ac86273-5f31-0410-b378-82cca8765d1b
2002-11-09 19:13:56 +00:00
Bart Oldeman
dce580f3bc Properly propagate sharing bits.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@459 6ac86273-5f31-0410-b378-82cca8765d1b
2002-11-09 19:11:26 +00:00
Bart Oldeman
807602f895 Properly initialize the ErrorAlreadyPrinted array.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@458 6ac86273-5f31-0410-b378-82cca8765d1b
2002-11-09 19:10:11 +00:00
Bart Oldeman
83b77cbb1b Changes for kernel 2027rc.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@427 6ac86273-5f31-0410-b378-82cca8765d1b
2002-10-22 02:40:19 +00:00
Bart Oldeman
31591f162c Improved line character input; exExtraBytes fix.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@416 6ac86273-5f31-0410-b378-82cca8765d1b
2002-08-05 19:56:38 +00:00
Bart Oldeman
2c6dbdf194 Fix compilation using -p or -DDEBUG
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@415 6ac86273-5f31-0410-b378-82cca8765d1b
2002-08-04 10:26:31 +00:00
Bart Oldeman
dfeb595f8e Last changes for kernel 2027 test.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@414 6ac86273-5f31-0410-b378-82cca8765d1b
2002-08-04 01:14:18 +00:00
Bart Oldeman
511bf63d16 Cleaned up task.c (merged much of DOSExe/ComLoader); transform the CDS into
a proper array.


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@413 6ac86273-5f31-0410-b378-82cca8765d1b
2002-08-03 16:54:09 +00:00
Bart Oldeman
8567cb9ed5 Commented out the wrong parts of task.c for now :-(
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@411 6ac86273-5f31-0410-b378-82cca8765d1b
2002-08-03 03:50:32 +00:00
Bart Oldeman
c874cbfbbd Small size optimization.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@410 6ac86273-5f31-0410-b378-82cca8765d1b
2002-08-03 02:39:20 +00:00
Bart Oldeman
31661b437d Small cleanups; initialize a VDISK in inithma.c.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@409 6ac86273-5f31-0410-b378-82cca8765d1b
2002-08-03 02:37:59 +00:00
Bart Oldeman
e77a22ead9 Optimize some copying and adjust the int 1e table.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@408 6ac86273-5f31-0410-b378-82cca8765d1b
2002-08-03 02:32:26 +00:00
Bart Oldeman
2969ad6764 Disabled fatal() and fixed nls prototypes.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@407 6ac86273-5f31-0410-b378-82cca8765d1b
2002-08-03 02:28:04 +00:00