Prev: 31162 Up: Map Next: 31188
31178: Control EINSTEIN during class (2)
The address of this primary command routine is placed into bytes 99 and 100 of EINSTEIN's buffer by the routine at 31162. After EINSTEIN has finished speaking, control resumes here.
Input
H 169 (EINSTEIN)
31178 LD L,99 Replace the address of this primary command routine in bytes 99 and 100 of EINSTEIN's buffer with that of 31162
31180 LD (HL),186
31182 LD HL,32713 32713 holds the lesson signal flags
31185 RES 7,(HL) Signal: EINSTEIN has just spoken (so it's now the teacher's turn to speak)
31187 RET
Prev: 31162 Up: Map Next: 31188