diff options
author | B. Watson <urchlay@slackware.uk> | 2025-03-10 04:11:38 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2025-03-10 04:11:38 -0400 |
commit | bd92bf5e59e97ebd67aa6309c7012537c41be87a (patch) | |
tree | 193f69111dba0a6c4ce61ede8a92b20636794714 /listbas.c | |
parent | 9727ec419720c93884939bd077d41a989b7ff51e (diff) | |
download | bw-atari8-tools-bd92bf5e59e97ebd67aa6309c7012537c41be87a.tar.gz |
listbas: abort if whichbas says this isn't atari BASIC or a variant.
Diffstat (limited to 'listbas.c')
-rw-r--r-- | listbas.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1069,6 +1069,13 @@ void set_bas_dialect(int d) { case SRET_BXE: bas_type = d; break; + case SRET_AMSB: + die("This is an Atari Microsoft BASIC program. Use listamsb."); + break; + case SRET_COMPILED_TURBO: + case SRET_NOT_BASIC: + die("This is not any kind of BASIC program I know about."); + break; default: fprintf(stderr, "whichbas results ambiguous; guessing Turbo BASIC\n"); bas_type = SRET_TURBO; |