Rev 5452 | Rev 5810 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5452 | Rev 5682 | ||
---|---|---|---|
Line 197... | Line 197... | ||
197 | Parameters: |
197 | Parameters: |
198 | * eax = 4 - function number |
198 | * eax = 4 - function number |
199 | * ebx = [coordinate on axis x]*65536 + [coordinate on axis y] |
199 | * ebx = [coordinate on axis x]*65536 + [coordinate on axis y] |
200 | * ecx = 0xXYRRGGBB, where |
200 | * ecx = 0xXYRRGGBB, where |
201 | * RR, GG, BB specify text color |
201 | * RR, GG, BB specify text color |
202 | * X=ABnn (bits): |
202 | * X = ABFF (bits): |
203 | * nn specifies the used font: 0=system monospaced, |
- | |
204 | 1=system font of variable width |
- | |
205 | * A=0 - output esi characters, A=1 - output ASCIIZ-string |
203 | * A=1 - output zero terminated string |
206 | * B=1 - fill background with the color edi |
204 | * B=1 - fill background with the color edi |
- | 205 | * FF specifies the font and encoding: |
|
- | 206 | 0 = 6x9 cp866 |
|
- | 207 | 2 = 8x16 UTF-16LE |
|
- | 208 | 3 = 8x16 UTF-8 |
|
207 | * Y = Cnnn |
209 | * Y = CDDD (bits): |
208 | * C=1 redirect the output to the user area, specified in edi |
210 | * C=1 redirect the output to the user area, specified in edi |
209 | * nnn - not used in the current, must be 0 (zero) |
211 | * DDD = (size multiplier)-1, so 0 = x1, 7 = x8 |
210 | * edx = pointer to the beginning of the string |
212 | * edx = pointer to the beginning of the string |
211 | * esi = for A=0 length of the string, must not exceed 255; |
213 | * esi = for A=0 length of the string, for A=1 is ignored |
212 | for A=1 is ignored |
- | |
213 | * edi = color to fill background, if B=1 |
214 | * edi = for B=1 color to fill background, |
214 | * edi = pointer to user area, for redirect, if C=1 |
215 | for C=1 pointer to user area for redirect |
Line 215... | Line 216... | ||
215 | 216 | ||
216 | Returned value: |
217 | Returned value: |
217 | * function does not return value |
218 | * function does not return value |
218 | Remarks: |
- | |
219 | * First system font is read out at loading from the file char.mt, |
- | |
220 | second - from char2.mt. |
- | |
221 | * Both fonts have height 9 pixels, width of the monospaced font |
- | |
222 | is equal to 6 pixels. |
219 | Remarks: |
223 | * C=1, pixel depth = 32 bits, user area is as follows: |
220 | * C=1, pixel depth = 32 bits, user area is as follows: |
224 | dword Xsize |
221 | Xsize = dword |
225 | dword Ysize |
222 | Ysize = dword |
226 | rest of the area = Xsize * Y size * 4 |
223 | rest of the area = Xsize*Ysize*4 |
227 | * You can not use B = 1 and C = 1, at the same time. Since in both |
- | |
Line 228... | Line 224... | ||
228 | cases, the register edi is used for different purposes. |
224 | * You can not use B=1 and C=1 at the same time, since both use edi. |
229 | 225 | ||
230 | ====================================================================== |
226 | ====================================================================== |
231 | ========================= Function 5 - delay. ======================== |
227 | ========================= Function 5 - delay. ======================== |
Line 2072... | Line 2068... | ||
2072 | on ramdisk. |
2068 | on ramdisk. |
2073 | * User can change the skin statically by creating hisself |
2069 | * User can change the skin statically by creating hisself |
2074 | 'default.skn' or dynamically with the application 'desktop'. |
2070 | 'default.skn' or dynamically with the application 'desktop'. |
Line 2075... | Line 2071... | ||
2075 | 2071 | ||
- | 2072 | ====================================================================== |
|
- | 2073 | ======== Function 48, subfunction 9 - font smoothing setting. ======== |
|
- | 2074 | ====================================================================== |
|
- | 2075 | Parameters: |
|
- | 2076 | * eax = 48 - function number |
|
- | 2077 | * ebx = 9 - subfunction number |
|
- | 2078 | * cl=0 - turn off font smoothing, else - turn on |
|
- | 2079 | ||
2076 | ====================================================================== |
2080 | ====================================================================== |
2077 | =========== Function 49 - Advanced Power Management (APM). =========== |
2081 | =========== Function 49 - Advanced Power Management (APM). =========== |
2078 | ====================================================================== |
2082 | ====================================================================== |
2079 | Parameters: |
2083 | Parameters: |
2080 | * eax = 49 - function number |
2084 | * eax = 49 - function number |