Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
chain.c32: update reactos= option for modern value
  • Loading branch information
Ady authored and geneC committed Mar 4, 2017
1 parent bb41e93 commit b4cc12b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
12 changes: 3 additions & 9 deletions com32/chain/options.c
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion doc/chain.txt
Expand Up @@ -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.
Expand Down

0 comments on commit b4cc12b

Please sign in to comment.