Subversion Repositories Kolibri OS

Rev

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

Rev 180 Rev 485
Line 14... Line 14...
14
	    call print_line
14
	    call print_line
15
	    call print_cursor
15
	    call print_cursor
Line 16... Line 16...
16
 
16
 
17
      opros:
17
      opros:
18
	    mov eax,10
18
	    mov eax,10
Line 19... Line 19...
19
	    int 0x40
19
	    mcall
20
 
20
 
Line 21... Line 21...
21
	    cmp eax,1
21
	    cmp eax,1
22
	    je exit_cycle
22
	    je exit_cycle
Line 23... Line 23...
23
 
23
 
24
	    cmp eax,2
24
	    cmp eax,2
25
	    jne opros
25
	    jne opros
Line 26... Line 26...
26
 
26
 
27
	    mov eax,2
27
	    mov eax,2
28
	    int 0x40
28
	    mcall
Line 108... Line 108...
108
	     imul edx,6
108
	     imul edx,6
109
	     add ebx,edx
109
	     add ebx,edx
110
	     add ebx,2
110
	     add ebx,2
111
	     add ecx,10
111
	     add ecx,10
112
	     mov edx,0xffffff
112
	     mov edx,0xffffff
113
	     int 0x40
113
	     mcall
114
	     mov eax,4
114
	     mov eax,4
115
	     mov ebx,[string_x]
115
	     mov ebx,[string_x]
116
	     shl ebx,16
116
	     shl ebx,16
117
	     add ebx,[string_y]
117
	     add ebx,[string_y]
118
	     mov ecx,0
118
	     mov ecx,0
119
	     mov edx,string_
119
	     mov edx,string_
120
	     mov esi,[MaxSizeString]
120
	     mov esi,[MaxSizeString]
121
	     int 0x40
121
	     mcall
122
	     ret
122
	     ret
Line 123... Line 123...
123
 
123
 
124
print_cursor:
124
print_cursor:
125
	     mov eax,13
125
	     mov eax,13
Line 130... Line 130...
130
	     shl ebx,16
130
	     shl ebx,16
131
	     shl ecx,16
131
	     shl ecx,16
132
	     add ebx,2
132
	     add ebx,2
133
	     add ecx,8
133
	     add ecx,8
134
	     mov edx,0xff6c58
134
	     mov edx,0xff6c58
135
	     int 0x40
135
	     mcall
136
	     ret
136
	     ret
137
;----------------------------------------------------------
137
;----------------------------------------------------------
138
MinMaxCorrect:
138
MinMaxCorrect:
139
	    mov ebx,[MaxSizeString]
139
	    mov ebx,[MaxSizeString]
140
	    xor ecx,ecx
140
	    xor ecx,ecx