Sherlock: annotated disassembly

Routines

Prev: C960 Up: Map Next: C996
C989: Run the numbered action record IX
HL = the record; the objects' records are set up (C8EF) and the record run (C996).
Input
IX A numbered action record
Output
F From the record
IX Kept
C989 PUSH IX Save IX on the stack - Keep IX; HL = the numbered action record
C98B POP HL Restore HL from the stack
C98C PUSH HL Save HL on the stack
C98D CALL $C8EF Call the routine "Point $A013 and $A015 at the direct and indirect..." (C8EF) - Fill in the object records (C8EF) and run it (C996)
C990 CALL $C996 Call the routine "Run a numbered action record; a script record becomes..." (C996)
C993 POP IX Restore IX from the stack
C995 RET Return to the caller
Prev: C960 Up: Map Next: C996