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.
Portal Channels
- Developer prompt
Readiness
Becomes ready once a line of text has been entered. With either
- Buffer is not big enough, with
capacity
modified to what is required - Buffer is big enough,
command
text 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
capacity
is less thancommand.size
- If address at (input)
command.addr + capacity
has no page - If address at
capacity + 3
has no page