aboutsummaryrefslogtreecommitdiff
path: root/bas.c
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2025-03-27 16:35:41 -0400
committerB. Watson <urchlay@slackware.uk>2025-03-27 16:35:41 -0400
commit80be916389299e76aa84e904b3871a5d0c50b80e (patch)
tree161124ba2839ada9cf8df7a5c62b8e4eb90e1f86 /bas.c
parent62d25771c87fbafdeca779ef3b4f0dc422d82670 (diff)
downloadbw-atari8-tools-80be916389299e76aa84e904b3871a5d0c50b80e.tar.gz
renumbas: warn if input is A+ or Integer.
Diffstat (limited to 'bas.c')
-rw-r--r--bas.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bas.c b/bas.c
index 59324cf..5758110 100644
--- a/bas.c
+++ b/bas.c
@@ -150,6 +150,7 @@ void parse_header(void) {
/* these checks are actually kind of conservative. */
if(lomem == 0x77) {
+ numconst_size = 2;
if(verbose)
fprintf(stderr, "OSS Integer BASIC $7700 signature found, OK.\n");
} else if(lomem == 0) {