System32 Function 40 (28h) - Read text
Description |
This function can read a line of text from the standard input (for example the keyboard). It is the same function the command prompt uses to get input from the user, so backspace etc is supported, and the text appears in yellow. |
Input |
AL |
04h |
---|---|
DS |
Selector of a text buffer |
EDI |
Offset to a text buffer |
Output |
None |
Always successfull |
---|
Errorcodes |
None |
Always successfull |
---|
Notes |
*The buffer has to be long enough, no range checking is currently performed... |
Development Status |
We might add a parameter telling the maximum amount of characters to recieve... |