Sherlock: annotated disassembly

Routines

Prev: 9FAB Up: Map Next: 9FD4
9FC5: Default action: KILL (also BREAK and a profane synonym)
The pre-check is the body itself: it always refuses, handing back 9FCE, which prints message 680B. BREAK LAMP and KILL WATSON both answer 'ONLY AN IDIOT WOULD TRY THAT.'
Output
HL $9FCE, the routine that prints the refusal
A 0 (refused)
9FC5 DEFB $40,$00,$C9,$9F Action record header: flags $40; bit 6: pre-check at 9FC9; byte 1 $00
9FC9 LD HL,$9FCE Always refuse...
9FCC XOR A Set A to zero, which sets the zero flag for the caller
9FCD RET Return to the caller
9FCE LD HL,$680B "ONLY AN IDIOT WOULD TRY THAT."
9FD1 JP $A59F Jump on to the routine "Print the message at HL" (A59F)
Prev: 9FAB Up: Map Next: 9FD4