mirror of https://github.com/FDOS/kernel.git
fix update option (compared too many characters, Lucho)
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@1139 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
e1ed4217a2
commit
e31b12bcaf
|
@ -32,7 +32,7 @@
|
||||||
#define FDCONFIG /* include support to configure FD kernel */
|
#define FDCONFIG /* include support to configure FD kernel */
|
||||||
/* #define DRSYS */ /* SYS for Enhanced DR-DOS (OpenDOS enhancement Project) */
|
/* #define DRSYS */ /* SYS for Enhanced DR-DOS (OpenDOS enhancement Project) */
|
||||||
|
|
||||||
#define SYS_VERSION "v3.6"
|
#define SYS_VERSION "v3.6a"
|
||||||
#define SYS_NAME "FreeDOS System Installer "
|
#define SYS_NAME "FreeDOS System Installer "
|
||||||
|
|
||||||
|
|
||||||
|
@ -313,6 +313,7 @@ DOSBootFiles bootFiles[] = {
|
||||||
/* PC-DOS */ { "IBMBIO.COM", "IBMDOS.COM", /*0x70:*/0x0, 0, 6138 }, /* pre v7 DR ??? */
|
/* PC-DOS */ { "IBMBIO.COM", "IBMDOS.COM", /*0x70:*/0x0, 0, 6138 }, /* pre v7 DR ??? */
|
||||||
/* MS-DOS */ { "IO.SYS", "MSDOS.SYS", /*0x70:*/0x0, 0, 10240 },
|
/* MS-DOS */ { "IO.SYS", "MSDOS.SYS", /*0x70:*/0x0, 0, 10240 },
|
||||||
/* W9x-DOS */ { "IO.SYS", "MSDOS.SYS", /*0x70:*/0x0200, 0, 0 },
|
/* W9x-DOS */ { "IO.SYS", "MSDOS.SYS", /*0x70:*/0x0200, 0, 0 },
|
||||||
|
/* Rx-DOS */ { "RXDOSBIO.SYS", "RXDOS.SYS", /*0x70:*/0x0, 0, 1 },
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
#define DOSFLAVORS (sizeof(bootFiles) / sizeof(*bootFiles))
|
#define DOSFLAVORS (sizeof(bootFiles) / sizeof(*bootFiles))
|
||||||
|
@ -456,7 +457,7 @@ void initOptions(int argc, char *argv[], SYSOptions *opts)
|
||||||
opts->copyShell = 0;
|
opts->copyShell = 0;
|
||||||
}
|
}
|
||||||
/* copy kernel and update boot sector (do *not* copy shell) */
|
/* copy kernel and update boot sector (do *not* copy shell) */
|
||||||
else if (memicmp(argp, "UPDATE", 8) == 0)
|
else if (memicmp(argp, "UPDATE", 6) == 0)
|
||||||
{
|
{
|
||||||
opts->copyKernel = 1;
|
opts->copyKernel = 1;
|
||||||
opts->copyShell = 0;
|
opts->copyShell = 0;
|
||||||
|
|
Loading…
Reference in New Issue