Subversion Repositories Kolibri OS

Rev

Rev 6246 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6246 Rev 6311
Line 1... Line 1...
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                              ;;
2
;;                                                              ;;
3
;; Copyright (C) KolibriOS team 2004-2012. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2016. All rights reserved. ;;
4
;; Distributed under terms of the GNU General Public License    ;;
4
;; Distributed under terms of the GNU General Public License    ;;
5
;;                                                              ;;
5
;;                                                              ;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 7... Line 7...
7
 
7
 
Line 2079... Line 2079...
2079
    * bits 22-29 reserved and must be set to 0
2079
    * bits 22-29 reserved and must be set to 0
2080
    * bit 30 set = display qword (64-bit) number (must be bl=1)
2080
    * bit 30 set = display qword (64-bit) number (must be bl=1)
2081
    * bit 31 set = do not display leading zeroes of the number
2081
    * bit 31 set = do not display leading zeroes of the number
2082
  * ecx = number (if bl=0) or pointer (if bl=1)
2082
  * ecx = number (if bl=0) or pointer (if bl=1)
2083
  * edx = [coordinate on axis x]*65536 + [coordinate on axis y]
2083
  * edx = [coordinate on axis x]*65536 + [coordinate on axis y]
2084
  * esi = 0xX0RRGGBB:
2084
  * esi = 0xXXRRGGBB, where
2085
    * RR, GG, BB specify the color
2085
    * RR, GG, BB specify text color
2086
    * X = ABnn (bits)
2086
    * XX = 0B0FCSSS (bits):
-
 
2087
      * B=1 - fill background (color = edi)
-
 
2088
      * F specifies the font:
2087
    * nn = font (0/1)
2089
        0 = 6x9
2088
    * A is ignored
2090
        1 = 8x16
-
 
2091
      * C=0 - draw to the window,
2089
    * B=1 - fill background with the color edi
2092
        C=1 - draw to the user buffer (edi)
-
 
2093
      * SSS = (size multiplier)-1, so 0 = x1, 7 = x8
2090
Returned value:
2094
Returned value:
2091
  * function does not return value
2095
  * function does not return value
2092
Remarks:
2096
Remarks:
2093
  * The given length must not exceed 60.
2097
  * The given length must not exceed 60.
2094
  * The exactly given amount of digits is output. If number is small
2098
  * The exactly given amount of digits is output. If number is small
2095
    and can be written by smaller amount of digits, it is supplemented
2099
    and can be written by smaller amount of digits, it is supplemented
2096
    by leading zeroes; if the number is big and can not be written by
2100
    by leading zeroes; if the number is big and can not be written by
2097
    given amount of digits, extra digits are not drawn.
2101
    given amount of digits, extra digits are not drawn.
2098
  * Parameters of fonts are shown in the description of function 4
-
 
2099
    (text output).
-
 
Line 2100... Line 2102...
2100
 
2102
 
2101
---------------------- Constants for registers: ----------------------
2103
---------------------- Constants for registers: ----------------------
2102
  eax - SF_DRAW_NUMBER (47)
2104
  eax - SF_DRAW_NUMBER (47)
2103
======================================================================
2105
======================================================================