Sherlock: annotated disassembly

Routines

Prev: D206 Up: Map Next: D224
D21C: Step to the next thing's record ($D206), keeping A
Addresses named in the title: D206.
Input
A Kept across the call
Output
As $D206
D21C PUSH BC Save BC on the stack - Keep A in B across the call (D206)
D21D LD B,A Copy A into B
D21E CALL $D206 Call the routine "Step to the next 3-byte entry" (D206)
D221 LD A,B Copy B into A - Restore A
D222 POP BC Restore BC from the stack
D223 RET Return to the caller
Prev: D206 Up: Map Next: D224