This is a copy of the FreeDOS V1.0 kernel with a small fix made to the get_free_hndl() routine so that it works with potentially file-hungry programs like Ersatz-11, which enlarge the handle table (with INT 21h / AH = 67h) and then close the predefined handles including STDIN (handle 0) so that the first free slot in the handle table comes out at offset 0 of a segment (which the stock V1.0 code mistakes for NULL). In accordance with the GPL, the modified source file is included. Everything else comes from the vanilla FreeDOS V1.0 distribution, so just replace that one file (it differs by only three characters) and run BUILD.BAT as usual. This KERNEL.SYS can be installed by SYS.COM. Stock versions of SYS.COM and COMMAND.COM are included in this directory, so if you copy all three files into one directory (where SYS.COM can find the other two) you have everything you need to run SYS.COM and make a floppy disk or hard drive partition bootable under FreeDOS. John Wilson wilson@dbit.com 13-Apr-2007