Prev: 30996 Up: Map Next: 31037
31012: Inglish: Ask What
Prints "what ?" and sets the action countdown when the clause still has a conjunction. It returns at once when that count is already zero.
Inglish_AskWhat 31012 CALL Inglish_TestTheConjunctionCount Call Inglish_TestTheConjunctionCount to test the conjunction count.
31015 RET NZ Return if a conjunction is still left, and otherwise drop the return address.
31016 POP HL
This entry point is used by the routines at InglishAcceptTheClause, InglishRestoreTheMatch and CommandDispatchAControl.
Inglish_AskWhat_0 31017 CALL Inglish_TestTheConjunctionCount Call Inglish_TestTheConjunctionCount to test the conjunction count.
31020 JP NZ,InglishPrepareTheClause_3 Jump to InglishPrepareTheClause_3 if a conjunction is still left.
This entry point is used by the routines at TurnReadAndTokeniseTheCommand and InglishMatchOneWord.
Inglish_AskWhat_1 31023 LD HL,44447 Point at the message "what ?[0x14]" (44447).
31026 LD A,1 Write 1 (the countdown running) to *WaitCountdown.
31028 LD (46849),A
31031 CALL PrintMessage Call PrintMessage to print message.
31034 OR 1 Clear the zero flag.
31036 RET Return.
Prev: 30996 Up: Map Next: 31037