|
Delay miliseconds.
|
|
Delay microseconds.
|
|
Append char to buffer.
|
|
Append char as hex to buffer.
|
|
Convert integer to string and append it to the buffer.
|
|
Append string to buffer.
|
|
Close UCS2 string.
u8 *end_ucs2 (u8 * buf) { if (proc_8 (PROC_8_LANGUAGE) == LC_RUSSIAN) sprintucs2_end (); else buf = sprintc (buf, '\0'); return buf; } \sa sprintucs2_start()
|
|
Prepare for UCS2 string, make STRING_SLV head. For UCS2 strings the text has to have special header, Ref. 11.11. This functions also informs kernel that sprintc() and sprints() should respect UCS2 coding. If you plan to use UCS2 strings then use something like this:
u8 *start_ucs2 (u8 * buf) { if (proc_8 (PROC_8_LANGUAGE) == LC_RUSSIAN) buf = sprintucs2_start (buf, DCS_UCS2); return buf; } void foo() { u8 *buf = buf_B (); u8 *r = buf; r = start_ucs2 (r); r = sprints (r, t_foo); r = end_ucs2 (r); display_text (buf, NULL); }
|
Copyright © 2004-2006 BLADOX | Turbo version 1.2
|