diff options
Diffstat (limited to 'whichbas.c')
-rw-r--r-- | whichbas.c | 17 |
1 files changed, 2 insertions, 15 deletions
@@ -7,6 +7,7 @@ #include <sys/wait.h> #include "bas.h" +#include "whichbas.h" #define BT_INVALID 0 #define BT_ATARI 1 @@ -18,22 +19,8 @@ int bas_type = 0x0f; /* start out with all enabled */ -#define SRET_ATARI 3 -#define SRET_TURBO 4 -#define SRET_BXL 5 -#define SRET_BXE 6 -#define SRET_TURBO_OR_BXL 7 -#define SRET_TURBO_OR_BXE 8 -#define SRET_TURBO_OR_BXL_OR_BXE 9 -#define SRET_UKNOWN_DERIV 10 -#define SRET_AMSB 11 -#define SRET_EXTENDED_BXE 12 -#define SRET_COMPILED_TURBO 13 -#define SRET_APLUS 14 -#define SRET_NOT_BASIC 64 - int script_mode = 0; /* -s flag */ -int script_ret; /* -s mode, exit with one of SRET_*, above, as status */ +int script_ret; /* -s mode, exit with one of SRET_* from whichbas.h as status */ int keep_going = 0; /* -k flag */ |