1
0
mirror of https://github.com/FDOS/kernel.git synced 2025-04-08 17:15:17 +02:00
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
2017-12-22 09:37:31 -05:00
2012-10-14 20:08:06 -04:00
2017-12-22 09:37:31 -05:00
2017-12-22 09:37:31 -05:00
2017-12-22 09:37:31 -05:00
2017-12-22 09:37:31 -05:00
2017-12-06 23:13:47 -05:00
2012-10-14 20:08:06 -04:00
2014-01-24 10:05:25 -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

Description
FreeDOS kernel - implements the core MS-DOS/PC-DOS (R) compatible operating system. It is derived from Pat Villani's DOS-C kernel and released under the GPL v2 or later. Please see http://www.freedos.org/ for more details about the FreeDOS (TM) Project.
Readme 12 MiB
Languages
C 56.8%
Assembly 35.7%
Makefile 1.8%
C++ 1.8%
Shell 1.7%
Other 2.2%