This should be compatible to Enhanced DR-DOS. Tested by building a boot image like the following: nasm ../ldosmbr/oldmbr.asm -o oldmbr.bin nasm ../ldosboot/boot.asm -D_FAT16=1 -I ../lmacros/ \ -D_LOAD_NAME="'LDEBUG'" -o boot16.bin nasm bootimg.asm -I ../lmacros/ -o disk16.img \ -D_MBR -D_ALIGNDATA -D_BOOTPATCHFILE=boot16.bin \ -D_MBRPATCHFILE=oldmbr.bin -D_BPE=16 \ -D_SPI='(_SPC * 5000)' -D_NUMROOT=512 -D_SPC=256 \ -D_SPF='((_SPI / _SPC + 255) / 256)' \ -D_PAYLOADFILE=../ldebug/bin/ldebug.com,quit.com,\ ::rename,../k256spc/bin/kernel.sys,kernel.sys,\ command.com,::fill,1,32,autoexec.bat The repos bootimg, ldosboot, ldosmbr, and lmacros are available at https://hg.pushbx.org/ecm/ The file ldebug.com is a recent bootable lDebug debugger. The file command.com is a recent FreeCOM. The file quit.com is assembled with NASM from https://hg.pushbx.org/ecm/ldebug/file/e6035c05670a/misc/quit.asm Run like this: qemu-system-i386 -hda disk16.img -boot order=c -display curses To the lDebug prompt "-" enter "boot protocol freedos", then a "q" command. On success, the quit.com command can be run to quit the qemu VM. Not yet done: - initdisk.c:512 uses MAXCLUSTSIZE defined to 128. This is not difficult to change but it is unclear whether this should be changed. - The boot loaders are not yet adjuscted, requiring use of the ldosboot or lDebug loaders instead. - A patch for FORMAT (copylefted) version 0.91u is available from the Enhanced DR-DOS project. Mirrored in the directory at https://pushbx.org/ecm/download/edrdos/freedos/ This should be easy enough to update to the most recent version.
fd kernel
FreeDOS kernel - current 0xFD version is 2.43 (2043)
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. This was originally a branch based on 2042 SVN 0xFD kernel; the full svn history has since been added to git (see other branches) and current development of release kernels are available here. Please fork and submit a Pull Request!
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. *** TODO update links/upload archives
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