Prev: F383 Up: Map Next: F3AC
F39B: Remove User Input Token 1
Some commands like "GO" and "SWIM" are just treated like aliases, where the second token (the direction) is shunted down to being the first token, and the second token is then just erased. Hence, using "GO NORTH" is just the same as typing "NORTH".
RemoveUserInput_Token_1 F39B LD IX,$A824 Load UserInput_Token_1 into IX.
F39F LD A,(IX+$01) Fetch *IX+01 (UserInput_Token_2) and write it to UserInput_Token_1.
F3A2 LD (IX+$00),A
F3A5 LD (IX+$01),$FF Write a termination character (FF) to UserInput_Token_2.
F3A9 JP $B05E Jump to B05E.
Prev: F383 Up: Map Next: F3AC