Go to file
Tee-Kiah Chia 6f9648672e EXEC (func 0x4b): fix: do not crash if exMinAlloc == 0xffff
Some ancient NE programs set exMinAlloc to 0xffff to signify
that they should not be run as normal MZ programs at all:

00000000  4d 5a 40 00 01 00 00 00  04 00 ff ff ff ff 00 00
00000010  00 00 00 00 00 00 00 00  40 00 00 00 00 00 00 00
00000020  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
00000030  00 00 00 00 00 00 00 00  00 00 00 00 40 00 00 00
00000040  4e 45 04 00 9b 00 07 00  00 00 00 00 06 40 02 00
...

The kernel should reject these programs, rather than try to
run them (and crash the system).
2019-11-05 12:49:41 -05:00
bin Introduce end-of-line normalization 2017-12-22 09:37:31 -05:00
boot For GCC builds use GNU make instead of wmake throughout. 2018-01-11 17:50:31 -05:00
docs ia16-elf-gcc: remove need for far function wrappers 2018-07-08 18:10:18 +08:00
drivers Use "ar" instead of "wlib" in gcc build. 2018-01-11 17:50:31 -05:00
hdr ia16-elf-gcc port: use CDECL = __attribute__((cdecl)) instead of varargs. 2018-07-12 10:56:26 -04:00
kernel EXEC (func 0x4b): fix: do not crash if exMinAlloc == 0xffff 2019-11-05 12:49:41 -05:00
lib FreeDOS kernel current - 2041+svn1709 2012-10-14 20:08:06 -04:00
mkfiles ia16-elf-gcc: remove need for far function wrappers 2018-07-08 18:10:18 +08:00
share FreeDOS kernel current - 2041+svn1709 2012-10-14 20:08:06 -04:00
sys ia16-elf-gcc: enable and fix basic warnings; don't do strict ptr aliasing for now 2018-01-11 17:50:31 -05:00
tests/absread Introduce end-of-line normalization 2017-12-22 09:37:31 -05:00
utils Fix minor issues in diagnostic messages in utils/exeflat.c 2018-04-07 22:22:12 +08:00
.gitattributes Introduce end-of-line normalization 2017-12-22 09:37:31 -05:00
.gitignore .gitignore: be more thorough 2017-12-22 09:37:31 -05:00
build.bat Introduce end-of-line normalization 2017-12-22 09:37:31 -05:00
buildall.bat Introduce end-of-line normalization 2017-12-22 09:37:31 -05:00
clean.bat Introduce end-of-line normalization 2017-12-22 09:37:31 -05:00
clobber.bat Introduce end-of-line normalization 2017-12-22 09:37:31 -05:00
config.b Introduce end-of-line normalization 2017-12-22 09:37:31 -05:00
config.m fix and enable i386 support 2017-12-06 23:13:47 -05:00
default.bat Introduce end-of-line normalization 2017-12-22 09:37:31 -05:00
filelist FreeDOS kernel current - 2041+svn1709 2012-10-14 20:08:06 -04:00
makefile For GCC builds use GNU make instead of wmake throughout. 2018-01-11 17:50:31 -05:00
MAKEPKGS.BAT Introduce end-of-line normalization 2017-12-22 09:37:31 -05:00
README.md Update README.md 2014-01-24 10:05:25 -05:00
RELEASE.BAT Introduce end-of-line normalization 2017-12-22 09:37:31 -05:00

fdkernel

FreeDOS kernel - branch from 2042 SVN 0xFD kernel

http://www.fdos.org/kernel/

The FreeDOS kernel implements the core MS/PC-DOS (R) compatible functions. It is derived from Pat Villani's DOS-C kernel and released under the GPL v2. Please see http://www.freedos.org/ for more details about the FreeDOS (TM) Project. Compiled kernels ready to use (just copy kernel.sys over an existing install) are available at http://www.fdos.org/kernel/testing/git/ - also available are the source archive and fdpkg compatible packages.

This version of the kernel is intended only for 8086+ or 80386+ IBM compatible computers in continuation of the goals of the FreeDOS Project. Please see http://www.fdos.org/kernel for my 0xDC kernel that is work on merging back in some of the original portability aspects and other supported features at the cost of some compatibility with older hardware/software.

Please feel free to email me - PerditionC@gmail.com Jan 2014