diff options
author | B. Watson <urchlay@slackware.uk> | 2024-07-09 03:14:02 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-07-09 03:14:02 -0400 |
commit | a2a2a8437246ea12bbce0c133538617e49c43a90 (patch) | |
tree | c94e677d5f73a1a22eb1d7aa83c33b80228e9b2c /whichbas.c | |
parent | 188c35607585e0bd2cf861d1db761754a32cf260 (diff) | |
download | bw-atari8-tools-a2a2a8437246ea12bbce0c133538617e49c43a90.tar.gz |
whichbas: detect compiled Turbo.
Diffstat (limited to 'whichbas.c')
-rw-r--r-- | whichbas.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -27,6 +27,7 @@ int bas_type = 0x0f; /* start out with all enabled */ #define SRET_UKNOWN_DERIV 10 #define SRET_AMSB 11 #define SRET_EXTENDED_BXE 12 +#define SRET_COMPILED_TURBO 13 #define SRET_NOT_BASIC 32 int script_mode = 0; /* -s flag */ @@ -712,6 +713,9 @@ void detect_foreign(void) { return; } + if(c == 0xfb && d == 0xc2) + foreign("Compiled Turbo BASIC XL", SRET_COMPILED_TURBO); + if(c == 0xff && d == 0xff) foreign("XEX executable (not BASIC at all!)", SRET_NOT_BASIC); |