Bugs
- Two-word verb error messages print with the words reversed
- You can climb into Watson's armchair while he is sitting in it
- FOLLOW WATSON climbs into his armchair and runs on by itself
- One front door for three houses
- Bedtime is sometimes four hours short
- ALL BUT leaves nothing out
- The word IN is read as VISITED, so typing IN does nothing
- GIVE THE LAMP AND THE MONEY TO WATSON gives nothing
- Punctuation in a room's description scrambles its scenery words
- A failed SAY TO leaves its quotation behind, so later SAYs deliver old speech
- GIVE MONEY TO CABBIE hands over the whole purse
- BURNING NOTE is read as BURNT NOTE, so the burning note cannot be named
- TAKE NOTE FROM FIREPLACE takes the burning note without stopping it burning
- Riding a cab at the wrong time leaves Lestrade stuck in the other cab for good
Two-word verb error messages print with the words reversed
Single-word unknown verbs (
STAND, SCORE, HELP) are not affected, and ASK ... ABOUT ... is not affected either (its two words print in the order typed).
GET UP and LOOK UP give 'UP GET' and 'UP LOOK'; PUT INTO LAMP and PUT LAMP INTO SOFA give 'PUT INTO', in order. The message (686A, printed by B84C) prints the typed verb's word slots in order, and the verb reader puts a direction first on purpose: in AB91 a class-$20 word (a direction) arriving when the first slot already holds a verb moves that verb to the second slot and takes the first itself (ABE1-ABED). That is what lets GO NORTH match the NORTH record, whose GO is an extra word; for a phrase that matches nothing it puts UP before GET in the complaint. So a cosmetic side effect rather than a fault in the message code.
You can climb into Watson's armchair while he is sitting in it
GET INTO WATSONS ARMCHAIR (or FOLLOW WATSON, which ends up doing the same) answers 'You get into watsons armchair.' at the start of the game, with Watson still in it. The fit check (DEE4) only compares sizes: the armchair's capacity is 255 and Holmes and Watson are 96 each, leaving 63 to spare.
FOLLOW WATSON climbs into his armchair and runs on by itself
FOLLOW WATSON at the start of the game answers 'You climb into watsons armchair.' (Watson is sitting in it), then the clock keeps advancing for several turns without further input while the follow carries on. Whether that counts as a bug or a feature of FOLLOW is a judgement call.
One front door for three houses
Doors are things, and to save memory one door thing serves several doorways in different buildings: a door's record lists every room it appears in (record +15...), and its open/closed state (+5 bit 5) is shared by all of them. The front door (thing 19) is the front door of Baker Street, of the Jones house (rooms 93/96) and of the house on Cobden Lane (51/56). At the start every one of them is shut ('YOU CANNOT GO SOUTH' at Jones Front Door); after OPEN FRONT DOOR in your own entrance hallway, SOUTH at Jones Front Door and EAST in Cobden Lane both walk straight in, without anyone opening them.
Bedtime is sometimes four hours short
At 9pm the bedtime routine that Strachan, the cook and the gardener share (9EC1, 9ECB, 9ED1, all ending at 9ED7) puts the character to bed - Strachan in Daphne's room, the other two off stage - until its next turn, 504 minutes plus a random number up to 30 later (9EFE: LD DE,$01F8, then ADD A,E / LD E,A with the random number). The add is to E alone, so when the random number is 8 or more the low byte wraps and the carry into D is lost: 256 minutes vanish and he is back after about 4 hours 10 minutes instead of 8 hours 25. 248 + 27 and 248 + 22 minutes. A gardener pottering about in the small hours is harmless, but it is plainly not what the 504 was for; the same goes for the cook and for Strachan, who share the code.
ALL BUT leaves nothing out
The parser understands ALL BUT (and ALL EXCEPT): BUT after ALL sets A01A to 2 and opens a parse node marked with bit 6 (B01C, B029), and B517 is there to skip any candidate named in such a node. In the closet, with the money dropped: TAKE ALL BUT MONEY gave 'You take the china mans disguise. ... You take your money.'; DROP ALL BUT MONEY dropped both; GET ALL BUT MONEY and TAKE ALL EXCEPT DISGUISE took both, the disguise included. A01A was 2 and $A01C $80 after each, so the check at B517 was reached.
The word IN is read as VISITED, so typing IN does nothing
In the dictionary IN's record has bit 7 of its count byte set, which makes it a synonym: its two extra bytes point at the record to use instead, and they point at VISITED (offset $0956) - a word of class $E0, which the parser skips (AB91). Every other synonym points at a word of its own kind (READ at EXAMINE, N at NORTH...).
So whenever IN is typed it vanishes. SIT IN YOUR ARMCHAIR works only because SIT alone does (SIT ARMCHAIR asks 'WHICH ARMCHAIR ?'). The verbs that contain IN - DROP IN (17), PUT IN (38), SIT IN (40), the only verb records using a word the tokenizer replaces - can still be reached by leaving IN out, since a missing preposition is not held against a match: PUT LAMP SOFA gave 'YOU CANNOT PUT IN THE SOFA'. But PUT LAMP IN SOFA, the natural thing to type, gets 'WHAT ?'.
GIVE THE LAMP AND THE MONEY TO WATSON gives nothing
When a command names two things joined by AND (or a comma) and then a second object - GIVE LAMP AND YOUR MONEY TO WATSON - the parser makes two sentences, GIVE LAMP and (GIVE) YOUR MONEY TO WATSON. The forward pass of AD57 gives the second sentence the verb; a backward pass at AE1E is meant to give the earlier sentences the later one's TO WATSON (it compares each sentence with the next, and when the earlier one has no second object and the same verb, copies the preposition and the object across with AF27). It never does: the loop steps one sentence back (AEC5) before each test, and the call at AE22 has already stepped back once, so the last pair is never compared and the last comparison is made against the head of the list. GIVE YOUR MONEY TO WATSON on its own, and DROP LAMP AND YOUR MONEY, work.
Taking the call at AE22 out (three zero bytes) fixes it: the same command then prints 'You give the oil lamp to Watson.' and 'You give your money to Watson.', one minute apart. With three things the loop would then pass the object back one sentence at a time.
Punctuation in a room's description scrambles its scenery words
To find scenery words (B6FD) the game reads the room's description with its own small walker, B77F, rather than the printer. The two disagree about bytes $20-$3F: the printer (A5F2) prints them as single characters - spaces, digits, commas and full stops - but B77F sends everything from $20 to $5F to its packed-letters code (B7DD), which skips (A AND $1F) + 1 five-bit letters. So after the first comma or full stop the walker is reading the middle of packed text as dictionary references.
In the hansom cab (room 1, 'You are travelling the streets of London in a hansom cab, the sun shines through the windows onto your face.') it returns TRAVELL, STREET, LONDON, HANSOM and CAB, then the comma at $7DF0 sends it eleven bytes on, to two references ($9A12, $E2CC) that are really packed letters, and it stops. TAKE STREETS there gets YOU CANNOT TAKE THE STREET; TAKE WINDOWS gets I SEE NO WINDOW THAT YOU CAN TAKE. On the underground (room 3) the full stop at $7E63 is followed by six such references ($0745, $0666, ...). In the sitting room (room 8) the words that matter come first, so TAKE WINDOWS still gets YOU CANNOT TAKE THE WINDOW, though even there a space byte at $7D08 produces one false word.
Making the walker step over $20-$3F puts the cab's words after the comma back in the walk, though it then follows the night-time text (FLICKER, GAS, LAMP...) because the walker ignores the operands of the control codes below $1D as well.
A failed SAY TO leaves its quotation behind, so later SAYs deliver old speech
Every quotation typed in a SAY TO is added to a list at 9FEC (B049) and the SAY that actually runs takes the first node (B86A). A SAY that fails earlier (I SEE NO ... THAT YOU CAN TALK TO, or a person who does not answer) never removes its node, so every later SAY delivers the quotation typed N commands earlier, N being the number of leftovers. SAY TO CABBIE "GO TO KINGS CROSS ROAD" got only 'You talk to the cabbie.' and the cab sat still until the SAY had been typed once more than there were leftovers; TALK TO with no quotation empties the list. A player who waits after such a SAY (the cab 'takes' 80 minutes) loses hours.
GIVE MONEY TO CABBIE hands over the whole purse
The money is a single object (thing 27), so GIVE MONEY TO CABBIE gives the cabbie everything Holmes carries: INVENTORY then shows no money, PAY says DON'T BE SILLY and the cabbie nags 'What about me money guv'nor?'. PAY 10D TO CABBIE (E370) takes only the sum and returns change.
BURNING NOTE is read as BURNT NOTE, so the burning note cannot be named
While the note is called a burning note in the inventory, EXAMINE BURNING NOTE, DROP BURNING NOTE and READ BURNING NOTE all answer 'I SEE NO BURNT NOTE THAT YOU CAN ...'; BURNIN and BURNINGS fail the same way. NOTE alone asks WHICH NOTE ? and answering BURNING does not help. BURN (four letters) is read as the right word, and so is SINGE once the note has been taken properly.
TAKE NOTE FROM FIREPLACE takes the burning note without stopping it burning
Only the plain TAKE runs shared action 20 (DF7E/DF8B), which sets the countdown 9CA1 to $FF and renames the note 'singed'. TAKE NOTE FROM FIREPLACE moves the note into the inventory and leaves the countdown running (seen: 9CA1 still falling), so the note burns to ashes while carried and the statement that needs it can no longer be proven. The cure is DROP then a plain TAKE.
Riding a cab at the wrong time leaves Lestrade stuck in the other cab for good
Lestrade hails a cab at about 12:20am and again at 7:05am on Tuesday. If the player is riding a cab at those times the two scripts collide and Lestrade stays in cab 33 at its off-stage room (pc EBC5) for the rest of the game, so everything that needs him (the large rock, the statements, the chase) cannot happen.