| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Seems to be most appropriate...
Signed-off-by: Michal Soltys <soltys@ziu.info>
|
|
|
|
| |
Signed-off-by: Michal Soltys <soltys@ziu.info>
|
|
|
|
|
|
|
|
| |
Based on commit: ad4cf1470977f648ee1dd45e97939589ccb0393c
(might need address adjustments)
Signed-off-by: Michal Soltys <soltys@ziu.info>
|
|
|
|
| |
Signed-off-by: Michal Soltys <soltys@ziu.info>
|
|
|
|
| |
Signed-off-by: Michal Soltys <soltys@ziu.info>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- make sure opt.maps implies opt.sect, and simplify
conditions throughout the files
- move structure opt -> options.c
- adjust #includes
- omitted values in seg= and sect= are assumed 0
in all cases now
- mangler_handover(): eax for gpt handover set only for
iterated disks
- rename parse_args() -> opt_parse_args()
- rename mangler_common() -> mangler_init()
- add opt_set_defs()
- if mmapped sector would conflict with the file, turn
off mmapping instead of bailing out
- update temporary chain.txt to reflect changes + other
fixups
Signed-off-by: Michal Soltys <soltys@ziu.info>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch introduces small feature, allowing so called "service-only"
runs - where the chain modules does everything as instructed, but
otherwise doesn't perform actual chainloading.
This is useful for 'mbrchs', '[un]hide[all]' and 'setbpb'+'save'
options, making possible adjustments to partition/boot sector values on
any disk/partition.
See 'chain' option in doc/chain.txt for more details.
Signed-off-by: Michal Soltys <soltys@ziu.info>
|
|
|
|
|
|
|
| |
It could be useful to be able to simply unhide partitions. This short
patch adds such functionality.
Signed-off-by: Michal Soltys <soltys@ziu.info>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bugs:
- one introduced ages ago - find_by_* functions should be tested vs. <0
for failure
- one introduced by 579f15c7c456c - it accidentally blocked too much
when testing for ',' in drive/partition option parsing
- one introduced by d4d713c9ccfe0 - sone machines / VMs seem to set
@40:75 just 1, regardless of amount of fixed disks available
Signed-off-by: Michal Soltys <soltys@ziu.info>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Generic function detecting BPB type (7 versions) have been added.
set{hid,geo,drv} have been replaced by single setbpb option, using
mentioned function to make more precise decisions what to update where.
Full BSS and BS emulation has been added, also employing BPB detection.
Some logic/flow changes in chain's main(). There was also a bug, in
which backup sector was populated with wrong data.
Appropriate documentation updates.
Signed-off-by: Michal Soltys <soltys@ziu.info>
|
|
|
|
|
|
|
|
|
|
|
| |
- seg='s offset values default to 0 if ommited
- sect='s offset values default to 0x7c00 if ommited
- FDOS's bootsector loaded at 0x1fe0
- drive / partition parsing: bugfix, so lables with ',' are recognized
properly
- big documentation update
Signed-off-by: Michal Soltys <soltys@ziu.info>
|
|
|
|
|
|
|
| |
Make usage() info more precise, adjust indentation.
Update placeholder docs.
Signed-off-by: Michal Soltys <soltys@ziu.info>
|
|
This patch moves the commented documentation from chain.c to
placeholder doc/chain.txt.
Signed-off-by: Michal Soltys <soltys@ziu.info>
|