diff options
author | B. Watson <urchlay@slackware.uk> | 2025-03-27 16:35:41 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2025-03-27 16:35:41 -0400 |
commit | 80be916389299e76aa84e904b3871a5d0c50b80e (patch) | |
tree | 161124ba2839ada9cf8df7a5c62b8e4eb90e1f86 /renumbas.c | |
parent | 62d25771c87fbafdeca779ef3b4f0dc422d82670 (diff) | |
download | bw-atari8-tools-80be916389299e76aa84e904b3871a5d0c50b80e.tar.gz |
renumbas: warn if input is A+ or Integer.
Diffstat (limited to 'renumbas.c')
-rw-r--r-- | renumbas.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -122,6 +122,14 @@ void renumber(void) { walk_all_code(); } +void check_basic_type(void) { + if(lomem == 0x77) { + fprintf(stderr, "%s: Warning: OSS Integer BASIC not fully supported.\n", self); + } else if(save_command_tok == 0x1d || save_command_tok == 0x48) { + fprintf(stderr, "%s: Warning: BASIC/A+ not fully supported.\n", self); + } +} + int main(int argc, char **argv) { set_self(*argv); parse_general_args(argc, argv, print_help); @@ -129,6 +137,7 @@ int main(int argc, char **argv) { readfile(); parse_header(); + check_basic_type(); build_ref_table(); renumber(); |