* R0 = command string
R1 = argument buffer (2048 bytes)
* R0 = number of arguments
Argument buffer filled
This SWI parses a command string in a C-style fashion (ie. it uses "foo\"bar" instead of "foo""bar"), chopping it up into a list of arguments.
The buffer can contain up to 255 arguments. Its format is
char * [256] 256 string pointers
char [1024] the string buffer
Strings are NUL-terminated; the first N pointers point into the string buffer, and the next pointer is 0. (N is the number of arguments.)
|
|
|