aboutsummaryrefslogtreecommitdiff
path: root/xexcat.c
diff options
context:
space:
mode:
Diffstat (limited to 'xexcat.c')
-rw-r--r--xexcat.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/xexcat.c b/xexcat.c
index 3ec45c7..1b4ee01 100644
--- a/xexcat.c
+++ b/xexcat.c
@@ -237,6 +237,14 @@ int main(int argc, char **argv) {
/* normalize the $FFFF headers: only the first segment needs one.
though if the output is DOS 1.0, it's $0984 instead. */
if(count == 1) {
+ if(!seg.has_ff_header) {
+ if(seg.start_addr == 0x0984) {
+ fprintf(stderr,
+ SELF ": %s: can't handle DOS 1.0 executables as input\n"
+ " Convert this file to a regular .xex with xex1to2.\n",
+ infile);
+ }
+ }
if(dos1_output) {
seg.has_ff_header = 0;
fputc(0x84, out);