aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdy <ady-sf@hotmail.com>2017-03-04 06:48:28 -0500
committerGene Cumm <gene.cumm@gmail.com>2017-03-04 06:49:25 -0500
commitb4cc12b9db2c6f5df7aa90bb2b8b4d62b22e01ee (patch)
treeb1363e73555cd9c68e78afe54cc8f1ad41b8373b
parentbb41e935cc83c6242de24d2271e067d76af3585c (diff)
downloadsyslinux-b4cc12b9db2c6f5df7aa90bb2b8b4d62b22e01ee.tar.gz
syslinux-b4cc12b9db2c6f5df7aa90bb2b8b4d62b22e01ee.tar.xz
syslinux-b4cc12b9db2c6f5df7aa90bb2b8b4d62b22e01ee.zip
chain.c32: update reactos= option for modern value
Changed from "seg=0:0x8000:0x8100" to "seg=0x0F80" Reactos is "alpha", so the only version of Reactos that its devs support is the "latest" at each time. Older versions of Reactos are not relevant / supported by Reactos' devs. Submitted-By: Ady <ady-sf@hotmail.com> Old 2011-06-14 https://git.reactos.org/?p=reactos.git;a=blob;f=reactos/boot/freeldr/freeldr/include/arch/pc/x86common.h;hb=28e58e6d01892c1f2f0e1d323745e6463cb9e6c9 https://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/include/arch/pc/x86common.h?revision=52226&view=markup New 2011-06-18 https://git.reactos.org/?p=reactos.git;a=blob;f=reactos/boot/freeldr/freeldr/include/arch/pc/x86common.h;hb=0eb6daaf66127de803d36d45a4eea29d30a7ca36 https://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/include/arch/pc/x86common.h?revision=52346&view=markup Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
-rw-r--r--com32/chain/options.c12
-rw-r--r--doc/chain.txt2
2 files changed, 4 insertions, 10 deletions
diff --git a/com32/chain/options.c b/com32/chain/options.c
index e9c4a627..45045b49 100644
--- a/com32/chain/options.c
+++ b/com32/chain/options.c
@@ -224,15 +224,9 @@ int opt_parse_args(int argc, char *argv[])
opt.setbpb = true;
opt.hand = false;
} else if (!strncmp(argv[i], "reactos=", 8)) {
- /*
- * settings based on commit
- * ad4cf1470977f648ee1dd45e97939589ccb0393c
- * note, conflicts with:
- * http://reactos.freedoors.org/Reactos%200.3.13/ReactOS-0.3.13-REL-src/boot/freeldr/notes.txt
- */
- opt.fseg = 0;
- opt.foff = 0x8000;
- opt.fip = 0x8100;
+ opt.fseg = 0x0F80;
+ opt.foff = 0;
+ opt.fip = 0;
opt.file = argv[i] + 8;
opt.setbpb = true;
opt.hand = false;
diff --git a/doc/chain.txt b/doc/chain.txt
index d22a0890..251c48a6 100644
--- a/doc/chain.txt
+++ b/doc/chain.txt
@@ -296,7 +296,7 @@ Prepares to load recovery console directly. In-memory copy of bootsector is
patched with "cmdcons\0". Remarks the same as in 'ntldr='.
reactos=<file>
- sets: file=<file> seg=0:0x8000:0x8100 setbpb nohand
+ sets: file=<file> seg=0x0F80 setbpb nohand
Prepares to load ReactOS's freeldr directly. You might want to add 'save'
option to store corrected BPB values.