Subversion Repositories Kolibri OS

Rev

Rev 133 | Rev 142 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 133 Rev 139
Line 186... Line 186...
186
Parameters:
186
Parameters:
187
  * eax = 4 - function number
187
  * eax = 4 - function number
188
  * ebx = [coordinate on axis x]*65536 + [coordinate on axis y]
188
  * ebx = [coordinate on axis x]*65536 + [coordinate on axis y]
189
  * ecx = 0xX0RRGGBB, where
189
  * ecx = 0xX0RRGGBB, where
190
    * RR, GG, BB specify text color
190
    * RR, GG, BB specify text color
-
 
191
    * X=ABnn (bits):
191
    * X specifies the used font: 0=system monospaced,
192
    * nn specifies the used font: 0=system monospaced,
192
      1=system font of variable width
193
      1=system font of variable width
-
 
194
    * A=0 - output esi characters, A=1 - output ASCIIZ-string
-
 
195
    * B=1 - fill background with the color edi
193
  * edx = pointer to the beginning of the string
196
  * edx = pointer to the beginning of the string
194
  * esi = length of the string, must not exceed 255
197
  * esi = for A=0 length of the string, must not exceed 255;
-
 
198
          for A=1 is ignored
195
Returned value:
199
Returned value:
196
  * function does not return value
200
  * function does not return value
197
Remarks:
201
Remarks:
198
  * Function outputs either first (esi and 0xFF) characters or
-
 
199
    all characters before (but not including) terminating zero
-
 
200
    (for ASCIIZ-strings) depending on what occurs first.
-
 
201
  * First system font is read out at loading from the file char.mt,
202
  * First system font is read out at loading from the file char.mt,
202
    second - from char2.mt.
203
    second - from char2.mt.
203
  * Both fonts have height 9 pixels, width of the monospaced font
204
  * Both fonts have height 9 pixels, width of the monospaced font
204
    is equal to 6 pixels.
205
    is equal to 6 pixels.
Line 422... Line 423...
422
 
423
 
423
======================================================================
424
======================================================================
424
=============== Function 12 - begin/end window redraw. ===============
425
=============== Function 12 - begin/end window redraw. ===============
Line 425... Line 426...
425
======================================================================
426
======================================================================
426
 
427
 
427
------------ Subfunction 1 - begin redraw of the window. -------------
428
---------------- Subfunction 1 - begin window redraw. ----------------
428
Parameters:
429
Parameters:
429
  * eax = 12 - function number
430
  * eax = 12 - function number
430
  * ebx = 1 - subfunction number
431
  * ebx = 1 - subfunction number
Line 431... Line 432...
431
Returned value:
432
Returned value:
432
  * function does not return value
433
  * function does not return value
433
 
434
 
434
------------- Subfunction 2 - end redraw of the window. --------------
435
----------------- Subfunction 2 - end window redraw. -----------------
435
Parameters:
436
Parameters:
436
  * eax = 12 - function number
437
  * eax = 12 - function number
Line 2052... Line 2053...
2052
    * bh = 2 - display in binary system
2053
    * bh = 2 - display in binary system
2053
    * áèòû 16-21 = how many digits to display
2054
    * áèòû 16-21 = how many digits to display
2054
    * áèòû 22-31 reserved and must be set to 0
2055
    * áèòû 22-31 reserved and must be set to 0
2055
  * ecx = number (if bl=0) or pointer (if bl=1)
2056
  * ecx = number (if bl=0) or pointer (if bl=1)
2056
  * edx = [coordinate on axis x]*65536 + [coordinate on axis y]
2057
  * edx = [coordinate on axis x]*65536 + [coordinate on axis y]
2057
  * esi = 0xN0RRGGBB, RRGGBB=color, N=font (0/1)
2058
  * esi = 0xX0RRGGBB:
-
 
2059
    * RR, GG, BB specify the color
-
 
2060
    * X = ABnn (bits)
-
 
2061
    * nn = font (0/1)
-
 
2062
    * A is ignored
-
 
2063
    * B=1 - fill background with the color edi
2058
Returned value:
2064
Returned value:
2059
  * function does not return value
2065
  * function does not return value
2060
Remarks:
2066
Remarks:
2061
  * The given length must not exceed 60.
2067
  * The given length must not exceed 60.
2062
  * The exactly given amount of digits is output. If number is small
2068
  * The exactly given amount of digits is output. If number is small