From c0127001908405d30d90f1755ad10c1b59ea8c90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernd=20Wilhelm=20B=C3=B6ckmann?= Date: Mon, 20 May 2024 11:49:22 +0200 Subject: [PATCH] sys: update for DR-DOS 7.02-03, documentation update --- docs/sys.txt | 26 +++++++++++++++++++------- sys/sys.c | 4 ++-- 2 files changed, 21 insertions(+), 9 deletions(-) diff --git a/docs/sys.txt b/docs/sys.txt index 38b808e..d47bb1d 100644 --- a/docs/sys.txt +++ b/docs/sys.txt @@ -1,4 +1,4 @@ -FreeDOS System Installer v3.6e - Nov 13, 2009 +FreeDOS System Installer v3.6f - Nov 20, 2024 documentation by: Jeremy Davis Bart Oldeman @@ -23,12 +23,18 @@ Usage: SYS [source] drive: [bootsect] [{option}] /BOOTONLY: do *not* copy kernel / shell, only update boot sector or image /UPDATE : copy kernel and update boot sector (do *not* copy shell) /OEM : indicates boot sector, filenames, and load segment to use - /OEM:FD use FreeDOS compatible settings - /OEM:DR use DR DOS 7+ compatible settings (same as /OEM) - /OEM:PC use PC-DOS compatible settings - /OEM:MS use MS-DOS compatible settings - /OEM:W9x use MS Win9x DOS compatible settings - default is /OEM:AUTO, select DOS based on existing files + /OEM:FD FreeDOS settings + /OEM:EDR Enhanced DR-DOS (DRBIO.SYS and DRDOS.SYS) + /OEM:LEDRPACK Enhanced DR-DOS (EDRPACK.SYS, lDOS drload) + /OEM:LEDR Enhanced DR-DOS (EDRDOS.COM, lDOS iniload) + /OEM:LMSPACK OSS MS-DOS (LMSPACK.SYS, lDOS drload) + /OEM:LMS OSS MS-DOS (LMSDOS.COM, lDOS iniload) + /OEM:OPENDOS Caldera OpenDOS 7.01 (and Novell DOS 7), + DR-DOS 7.02 - 7.03, 7.01.01 - 7.01.06 + /OEM:PC PC-DOS, DR DOS 5 - Novell DOS 7 + /OEM:MS MS-DOS + /OEM:W9x MS Win9x DOS + default is /OEM[:AUTO], select DOS based on existing files /K name : name of kernel to use in boot sector instead of KERNEL.SYS /L segm : hex load segment to use in boot sector instead of 0x60 /B btdrv : hex BIOS # of boot drive set in bs, 0=A:, 80=1st hd,... @@ -102,6 +108,12 @@ even 1st floppy drive attempts to use LBA support (note that CHS may still be used if LBA check fails) and /FORCE:CHS will always bypass use of LBA extensions. +SYS by default installs the FreeDOS kernel KERNEL.SYS. +If KERNEL.SYS is not found, it may install a different +kernel, like an Enhanced DR-DOS kernel, provided it +finds one. You may explicitly tell SYS which kernel +flavour to install via the /OEM argument. + Kernel Configuration Options: diff --git a/sys/sys.c b/sys/sys.c index 45033ba..9c78839 100644 --- a/sys/sys.c +++ b/sys/sys.c @@ -463,7 +463,7 @@ CONST char * msgDOS[DOSFLAVORS] = { /* order should match above items */ "Enhanced DR-DOS mode (EDRDOS.COM, lDOS iniload)\n", "OSS MS-DOS mode (LMSPACK.SYS, lDOS drload)\n", "OSS MS-DOS mode (LMSDOS.COM, lDOS iniload)\n", - "Novell DOS 7, Caldera OpenDOS 7.01, DR-DOS 7.01.01 - 7.01.06 mode\n", + "Novell DOS 7, Caldera OpenDOS, DR-DOS 7.02 - 7.03, 7.01.01 - 7.01.06 mode\n", #ifdef WITHOEMCOMPATBS "PC-DOS, DR DOS 5 - Novell DOS 7 mode\n", "MS-DOS mode\n", @@ -517,7 +517,7 @@ void showHelpAndExit(void) " /OEM:LMSPACK OSS MS-DOS (LMSPACK.SYS, lDOS drload)\n" " /OEM:LMS OSS MS-DOS (LMSDOS.COM, lDOS iniload)\n" " /OEM:OPENDOS Caldera OpenDOS 7.01 (and Novell DOS 7),\n" - " DR-DOS 7.01.01 - 7.01.06\n" + " DR-DOS 7.02 - 7.03, 7.01.01 - 7.01.06\n" #ifdef WITHOEMCOMPATBS " /OEM:PC PC-DOS, DR DOS 5 - Novell DOS 7\n" " /OEM:MS MS-DOS\n"