Subversion Repositories Kolibri OS

Rev

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

Rev 684 Rev 803
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2007. 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 -... Line 8...
-
 
8
$Revision: 803 $
-
 
9
 
-
 
10
; // Alver 22.06.2008 // {
-
 
11
align 4
-
 
12
dtext_asciiz_esi:                          ; for skins title out
-
 
13
    push eax
-
 
14
    xor eax, eax
-
 
15
    inc eax
Line 8... Line 16...
8
$Revision: 684 $
16
    jmp    dtext.1
9
 
17
; } \\ Alver \\
10
 
18
 
11
align 4
19
align 4
Line 17... Line 25...
17
        ; A = 0 <=> output esi characters; otherwise output ASCIIZ string
25
        ; A = 0 <=> output esi characters; otherwise output ASCIIZ string
18
        ; B = 1 <=> fill background with color eax
26
        ; B = 1 <=> fill background with color eax
19
        ; edx start of text
27
        ; edx start of text
20
        ; edi 1 force
28
        ; edi 1 force
Line -... Line 29...
-
 
29
 
-
 
30
; // Alver 22.06.2008 // {
-
 
31
       push eax
-
 
32
        xor     eax, eax
-
 
33
.1:
21
 
34
; } \\ Alver \\
22
        pushad
35
        pushad
Line 23... Line 36...
23
        call    [disable_mouse]
36
        call    [disable_mouse]
24
 
37
 
Line 35... Line 48...
35
        js      .end
48
        js      .end
36
        jmp     @f
49
        jmp     @f
37
.test_asciiz:
50
.test_asciiz:
38
        cmp     byte [edx], 0
51
        cmp     byte [edx], 0
39
        jz      .end
52
        jz      .end
-
 
53
; // Alver 22.06.2008 // {
-
 
54
        cmp byte [esp+28], 1
-
 
55
        jne   @f
-
 
56
        dec     esi
-
 
57
        js        .end
-
 
58
; } \\ Alver \\
40
@@:
59
@@:
41
        inc     edx
60
        inc     edx
42
        pushad
61
        pushad
43
        movzx   edx, byte [edx-1]
62
        movzx   edx, byte [edx-1]
44
        test    ecx, 0x10000000
63
        test    ecx, 0x10000000
Line 107... Line 126...
107
        add     dword [esp+28], esi
126
        add     dword [esp+28], esi
108
        popad
127
        popad
109
        jmp     .loop
128
        jmp     .loop
110
.end:
129
.end:
111
        popad
130
        popad
-
 
131
        pop  eax                ; << // Alver 22.06.2008 // <<
112
        ret
132
        ret