Sherlock: annotated disassembly

Routines

Prev: EB11 Up: Map Next: EB28
EB19: Action record: has Lestrade's statement been proven? (RUN at $EA2C)
Addresses named in the title: EA2C.
Tests bit 1 of the case record at 9997 and returns NZ if it is set. Lestrade's script at EA25 waits here until it is.
Output
F NZ if the statement at $9997 is proven; Z if not
HL 0
EB19 DEFB $00,$00 Action record header: flags $00; byte 1 $00
EB1B LD IX,$9997 Case record 9997: is bit 1 of its +3 set (the statement is established)?
This entry point is used by the routine at EB11.
EB1F LD HL,$0000 Load HL with $0000 - HL = 0; the result is NZ if it is set, Z if not
EB22 AND A Test A for zero (this leaves A as it was and clears carry)
EB23 BIT 1,(IX+$03) Test bit 1 of byte +3 of the record at IX
EB27 RET Return to the caller
Prev: EB11 Up: Map Next: EB28