The address of this routine is found in the table of keypress handling routines at 60672. It is called from the main loop at 61483 when 'M' is pressed.
Input
Output
28635
LD A,(28612)
Toggle the message display interval at 28612 between 4 (fast) and 7 (slow)