Showing changes from revision #3 to #4:
Added | Removed | Changed
Entry | |
---|---|
R0 | 4 |
R1 | Pointer to ctrl-terminated string |
R2 | Pointer to output buffer |
R3 | buffer size, or |
0 to find required size | |
R4 | Maximum width in OS units |
Exit | |
---|---|
R0 | Required buffer size |
R1 | Preserved |
R2 | Preserved |
R3 | Preserved |
With a reason code of 4, this call fills the buffer with the string dependant on the OS width specified.
The buffer is filled with the string, and dependant on the width, may be truncated but with a ‘…’ suffix appended.
Depending on the alphabet and Wimp font, either an ellipsis character or three full-stops will be used.
BUG: RO4/6 fail to allow for the width of WimpSymbol characters, causing incorrect truncation.