Sherlock: annotated disassembly

Routines

Prev: D8AD Up: Map Next: D968
D95C: Close a quotation: a full stop if needed, then the closing quote mark
Puts '.' (D968) and then '"' into the line buffer at HL, printing each.
Input
HL The end of the line buffer
B The count
Output
HL Past the closing quote
B One fewer
D95C CALL $D968 (D968)
D95F LD A,$22 A closing quote mark...
D961 LD (HL),A ...stored at HL
D962 CALL $A9B7 ...and printed
D965 INC HL Step HL on to the next byte - HL on, B down
D966 DEC B Subtract one from B
D967 RET Return to the caller
Prev: D8AD Up: Map Next: D968