Function 4 - draw text string in the window.
Parameters:
- eax = 4 - function number
- ebx = [coordinate on axis x]*65536 + [coordinate on axis y]
- ecx = 0xX0RRGGBB, where
- RR, GG, BB specify text color
- X=ABnn (bits):
- nn specifies the used font: 0=system monospaced,
1=system font of variable width
- A=0 - output esi characters, A=1 - output ASCIIZ-string
- B=1 - fill background with the color edi
- edx = pointer to the beginning of the string
- esi = for A=0 length of the string, must not exceed 255;
for A=1 is ignored
Returned value:
- function does not return value
Remarks:
- First system font is read out at loading from the file char.mt,
second - from char2.mt.
- Both fonts have height 9 pixels, width of the monospaced font
is equal to 6 pixels.