aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-07-10 00:29:25 -0400
committerB. Watson <urchlay@slackware.uk>2024-07-10 00:29:25 -0400
commit825281987942ffa7063662dde45d84cc49792a9b (patch)
tree8b7102dac977c46acb83e299c8acbd817720f668
parent8f305a2934a5b3d0657f2acf5b3263b2c503b7f6 (diff)
downloadbw-atari8-tools-825281987942ffa7063662dde45d84cc49792a9b.tar.gz
whichbas: commentary cosmetics.
-rw-r--r--whichbas.c21
1 files changed, 11 insertions, 10 deletions
diff --git a/whichbas.c b/whichbas.c
index 168e052..c6673e9 100644
--- a/whichbas.c
+++ b/whichbas.c
@@ -214,8 +214,7 @@ CALLBACK(handle_cmd) {
set_type(BT_INVALID);
}
- /* we have tokens 0x3a to 0x68 in both TB and BXE, or 47
- of them.
+ /* we have tokens 0x3a to 0x68 in both TB and BXE, or 47 of them.
Some tokens can't be determined, because they take the
same argument (or lack of) in both Turbo and BXL/XE. These
@@ -226,20 +225,22 @@ CALLBACK(handle_cmd) {
0x49: LOCK or UNPROTECT (take the same args)
0x4B: RENAME in both Turbo and BXL/XE (same token, same args)
- 4 of them, this leaves 43 we can check.
+ 4 of them, this leaves 43 we can check.
- Covered so far: 41 (95%)
+ Covered so far: 41 (95%).
+ However, some of these are marked PARTIAL because they're not detected
+ under all circumstances.
Unchecked tokens:
0x5B: BRUN or CALL (both take a string, CALL allows "USING" though)
- This isn't really important, as CALL requires a PROCEDURE to
- exist, and we *do* catch the PROCEDURE token.
+ This isn't really important, as CALL requires a PROCEDURE to
+ exist, and we *do* catch the PROCEDURE token.
0x5F: PAINT (req 2 args) or NUM (optional 2 args).
- Again, not important, because it's highly unlikely any BXL/BXE
- program will contain NUM... because when it executes, it stops the
- program and goes back to the READY prompt (in auto-numbering mode).
- */
+ Again, not important, because it's highly unlikely any BXL/BXE
+ program will contain NUM... because when it executes, it stops the
+ program and goes back to the READY prompt (in auto-numbering mode).
+ */
switch(tok) {
case 0x39: /* MOVE <args> or ENDWHILE */
case 0x3a: /* -MOVE <args> or TRACEOFF */