diff options
author | B. Watson <urchlay@slackware.uk> | 2024-05-01 16:35:15 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-05-01 16:35:15 -0400 |
commit | 19f09419682a5ef45d629f40a60f5e90fd9dc40a (patch) | |
tree | 7372c28770448d8beec41eba25db577b24a2ebcb | |
parent | feaf81f70d377eea8952c46c6c3c27ddae33d3d4 (diff) | |
download | bw-atari8-tools-19f09419682a5ef45d629f40a60f5e90fd9dc40a.tar.gz |
xexcat: warn if 1st segment contains init address.
-rw-r--r-- | xexcat.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -268,6 +268,11 @@ int main(int argc, char **argv) { force_load = -1; } + if(count == 1 && xex_get_init_addr(&seg) != -1) { + fprintf(stderr, SELF ": %s: warning: first segment has init address, probably bogus.\n", + infile); + } + count++; /* process -i option */ |