aboutsummaryrefslogtreecommitdiff
path: root/blob2xex.rst
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-05-16 04:53:00 -0400
committerB. Watson <urchlay@slackware.uk>2024-05-16 04:53:00 -0400
commit82538a0230ff580c1ba251e8756c881380585587 (patch)
treef300e927ee9c224d7465634527def417465feeaf /blob2xex.rst
parenta4cc3ad3504d634e379369862c9f9fd8eed379f3 (diff)
downloadbw-atari8-tools-82538a0230ff580c1ba251e8756c881380585587.tar.gz
blob2xex: 2nd and further segments load consecutively, if no -l options for them.
Diffstat (limited to 'blob2xex.rst')
-rw-r--r--blob2xex.rst17
1 files changed, 11 insertions, 6 deletions
diff --git a/blob2xex.rst b/blob2xex.rst
index 125772c..a3161ab 100644
--- a/blob2xex.rst
+++ b/blob2xex.rst
@@ -24,8 +24,12 @@ more files of arbitrary data. Each input file will become a separate
segment in the binary load file. A run address can be added with the
**-r** option.
-Each input file *requires* a **-l** *loadaddr* option, to set the
-load address. Optionally, init addresses can be included, per-segment
+The first input file *requires* a **-l** *loadaddr* option, to set the
+load address. Further input files can have their load addresses set
+with **-l**, also. If an input file lacks a load address, it will
+load at the next address after the previous file's ending address.
+
+Optionally, init addresses can be included, per-segment
(**-i**). Also, using **-o** and **-s**, it's possible to include only
part of the input file. To read from standard input, use **-** for the
*infile*.
@@ -52,6 +56,11 @@ OPTIONS
A space is required between an option and its argument; use e.g. **-l 0x2000**,
not **-l0x2000**.
+-l *loadaddr*
+ Required; set the load address of the next *infile*. The first *infile*
+ **must** be preceded by a **-l** option; it's optional for the 2nd and
+ further files.
+
-r *runaddr*
Optional; set the run address. Default is no run address. Since a
.xex file can only have one run address, there's no point in giving
@@ -59,10 +68,6 @@ not **-l0x2000**.
option should be first on the command line (right after *outfile*),
or at least must occur before any *infile*.
--l *loadaddr*
- Required; set the load address of the next *infile*. Each *infile*
- **must** be preceded by a **-l** option.
-
-i *initaddr*
Optional; set an init address, to be executed after the next segment loads.
Default is no init address.