aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-05-01 16:35:15 -0400
committerB. Watson <urchlay@slackware.uk>2024-05-01 16:35:15 -0400
commit19f09419682a5ef45d629f40a60f5e90fd9dc40a (patch)
tree7372c28770448d8beec41eba25db577b24a2ebcb
parentfeaf81f70d377eea8952c46c6c3c27ddae33d3d4 (diff)
downloadbw-atari8-tools-19f09419682a5ef45d629f40a60f5e90fd9dc40a.tar.gz
xexcat: warn if 1st segment contains init address.
-rw-r--r--xexcat.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/xexcat.c b/xexcat.c
index 3ace57d..1fcd6f1 100644
--- a/xexcat.c
+++ b/xexcat.c
@@ -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 */