0x01 - Prompt
Receive a line of textual user input from a debugging console.
The text appended to the buffer won't contain the newline character.
Readiness
Becomes ready once a line of text has been entered. With either
- Buffer is not big enough, with
capacitymodified to what is required - Buffer is big enough,
commandtext overwritten
Command: Prompt
Read textual user input from some source.
Fields
capacity: ptr[int]- (In/Out) Pointer to capacity ofcommand.command: ptr[Text]- (In/Out) Pointer to user-sent line of input.
Traps
- If input
capacityis less thancommand.size - If address at (input)
command.addr + capacityhas no page - If address at
capacity + 3has no page